Difference between revisions of "Issue:Allow includereplace or ability to ignore included section headers"
From FollowTheScore
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = 1.7.0 |Description = Allow includereplace or ability to ignore included section headers |Status = open }} ...) |
|||
Line 18: | Line 18: | ||
== Reply == | == Reply == | ||
+ | I don´t understand your problem. If you include a certain section (using #section headline) the headline will be omitted anyway. If you use include=* you could still apply a #replace statement to the output of DPL. If you use the StringFunctions version which is provided together with DPL the #replace understands regular expressions. [[User:Gero|Gero]] 22:26, 21 April 2008 (CEST) |
Revision as of 22:26, 21 April 2008
Description: | Allow includereplace or ability to ignore included section headers |
Extension / Version: | DPL / 1.7.0 |
Type / Status: | Change Request / open |
Problem
Example: includereplace=/^=\+.*=\+//
The above would remove any section headers before the wikicode of each include is sent to the Parser.
or just an includesectionheaders=false to 'automagically' do that.
Reply
I don´t understand your problem. If you include a certain section (using #section headline) the headline will be omitted anyway. If you use include=* you could still apply a #replace statement to the output of DPL. If you use the StringFunctions version which is provided together with DPL the #replace understands regular expressions. Gero 22:26, 21 April 2008 (CEST)