DPL Example 026
From Dpldemo
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.
#dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities
#dpl
titlematch = DPL Example 026/%
#dpl
category = AT&T #dpl
category = AT&T
#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 ...
#vardefine count
[1] = 10 #var count #var count #var thispage #expr 0 + 1 #var count #var count #var thispage #var thispage #var thispage #var thispage #var thispage #vardefine count
[1] = 10 #var count #var count #var thispage #expr 0 + 1 #var count #var count #var thispage #var thispage #var thispage #var thispage #var thispage