DPL Example 026

From Dpldemo
Revision as of 06:34, 25 June 2009 by Gero (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

#dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities #dpl
category = Test Activities 

Test Amp

#dpl
titlematch = DPL Example 026/% 

Test Amp/1

#dpl
category = AT&T #dpl
category = AT&T 

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 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
Personal tools
Ploticus
Call