Difference between revisions of "DPL Example 026"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Example|Find out which parser functions are used in the pages of your wiki}} | {{Example|Find out which parser functions are used in the pages of your wiki}} | ||
+ | |||
+ | === Looking for a specific parser function === | ||
The syntax '{#xyz}.abc' can be used to call a surrogate template instead of a parser function. Our example uses | The syntax '{#xyz}.abc' can be used to call a surrogate template instead of a parser function. Our example uses | ||
Line 15: | Line 17: | ||
}} | }} | ||
− | + | === Looking for all parser functions === | |
A more generic version can be used to find all parser functions: | A more generic version can be used to find all parser functions: | ||
include={#.+}.pfunc | include={#.+}.pfunc | ||
Note that '.+' is considered to be a a regular expression. | Note that '.+' is considered to be a a regular expression. | ||
+ | |||
+ | The output may not always be correct as the search is based on fairly simple heuristics. | ||
+ | In the following example the dpl call is not recognized ... | ||
{{#dpl: | {{#dpl: | ||
− | + | |titlematch=DPL Example 013 | |
− | |titlematch=DPL | ||
|include={#.+}.pfunc | |include={#.+}.pfunc | ||
|format=, | |format=, | ||
− | |||
}} | }} |
Latest revision as of 05:34, 25 June 2009
back to list of examples
Find out which parser functions are used in the pages of your wiki
Looking for a specific parser function
The syntax '{#xyz}.abc' can be used to call a surrogate template instead of a parser function. Our example uses
include={#dpl}.pfunc
to find calls of DPL in some pages. The surrogate template only shows some selected parameters.
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Activity Query{{#vardefine:lastpage|Test Activity Query}}
#dpl
category = Test Activities
Test Amp{{#vardefine:lastpage|Test Amp}}
#dpl
titlematch = DPL Example 026/%
Test Amp/1{{#vardefine:lastpage|Test Amp/1}}
#dpl
category = AT&T
Test Amp/1{{#vardefine:lastpage|Test Amp/1}}
#dpl
category = AT&T
Test Amp/2{{#vardefine:lastpage|Test Amp/2}}
#dpl
category = Test3000
Looking for all parser functions
A more generic version can be used to find all parser functions:
include={#.+}.pfunc
Note that '.+' is considered to be a a regular expression.
The output may not always be correct as the search is based on fairly simple heuristics. In the following example the dpl call is not recognized ...
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#vardefine count
[1] = 10
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#expr 0 + 1
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#vardefine count
[1] = 10
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#expr 0 + 1
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var count
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage
DPL Example 013{{#vardefine:lastpage|DPL Example 013}}
#var thispage