Difference between revisions of "DPL Example 028"
Line 8: | Line 8: | ||
to find calls of <DPL> in some pages. The surrogate template shows the body of the function tag. | to find calls of <DPL> in some pages. The surrogate template shows the body of the function tag. | ||
+ | |||
+ | Note that no real parsing is done. The search is based on a regular expression. It does not respect NOWIKI tags, HTNL comments etc. It is only meant a s a simple way to get an overview about pages using a certain parser extension. | ||
+ | |||
---- | ---- | ||
Latest revision as of 07:55, 25 June 2009
back to list of examples
Find out which parser extensions are used in the pages of your wiki
Looking for a parser extension
The syntax '{~xyz}.abc' can be used to call a surrogate template instead of a parser extension. Our example uses
include={~dpl}.tag
to find calls of <DPL> in some pages. The surrogate template shows the body of the function tag.
Note that no real parsing is done. The search is based on a regular expression. It does not respect NOWIKI tags, HTNL comments etc. It is only meant a s a simple way to get an overview about pages using a certain parser extension.
Test escapelinks{{#vardefine:lastpage|Test escapelinks}}
<dpl>
titlematch=%ak%
Test escapelinks{{#vardefine:lastpage|Test escapelinks}}
<dpl>
titlematch=%ak%
Test escapelinks{{#vardefine:lastpage|Test escapelinks}}
<dpl>
escapelinks= false
titlematch=%ak% mode=userformat listseparators=,%PAGE%\n,,
Test escapelinks{{#vardefine:lastpage|Test escapelinks}}
<dpl>
escapelinks= false
titlematch=%ak% mode=userformat listseparators=,%PAGE%\n,,
Test escapelinks{{#vardefine:lastpage|Test escapelinks}}
<dpl>
reset=all