Difference between revisions of "Issue:Allow includereplace or ability to ignore included section headers"
From FollowTheScore
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
|Version = 1.7.0 | |Version = 1.7.0 | ||
|Description = Allow includereplace or ability to ignore included section headers | |Description = Allow includereplace or ability to ignore included section headers | ||
− | |Status = | + | |Status = closed |
}} | }} | ||
Line 21: | Line 21: | ||
== Reply 2 == | == Reply 2 == | ||
− | + | That works well. Thanks! :) [[User:C.wrinn|C.wrinn]] 17:04, 22 April 2008 (CEST) |
Latest revision as of 18:57, 22 April 2008
Description: | Allow includereplace or ability to ignore included section headers |
Extension / Version: | DPL / 1.7.0 |
Type / Status: | Change Request / closed |
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)
Reply 2
That works well. Thanks! :) C.wrinn 17:04, 22 April 2008 (CEST)