Difference between revisions of "DPL Example 028"

From FollowTheScore
Jump to: navigation, search
(New page: __NOTOC__ {{Example|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 t...)
 
 
(One intermediate revision by the same user not shown)
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.
 +
 
----
 
----
  
 
{{#dpl:
 
{{#dpl:
 
|namespace=
 
|namespace=
|titlematch=Test A%
+
|titlematch=Test e%
 
|include={~dpl}.tag
 
|include={~dpl}.tag
 
|format=,
 
|format=,
 
}}
 
}}

Latest revision as of 08: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