Revision as of 07:01, 20 August 2012 by Claus chr (talk | contribs)

Template:Search

Find pages containing a string: {{Search|xyz}} finds all pages containing the string xyz. Searches are case sensitive. In order to find both xyz and Xyz use a regular expression: {{Search|[Xx]yz}}.

Regular expressions use a perl like syntax. Special characters like '[', '[','(' and ')' need to be escaped.

No wiki expansion takes place before passing arguments to the template.


<DPL>

 debug = 5
 namespace = Main
 nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 titlematch = A%|B%|C%|D%|E%|F%|G%|H%|I%|J%
 include = *
 includematch = @Learn [email protected]
 includemaxlength = 0
 format = ,\n* %TITLE%,,

</DPL> <DPL>

 namespace = Main
 nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 titlematch = K%
 include = *
 includematch = @Learn [email protected]
 includemaxlength = 0
 format = ,\n* %TITLE%,,

</DPL> <DPL>

 namespace = Main
 nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 titlematch = L%|M%|N%|O%|P%|Q%|R%|S%|T%|U%|V%|W%|X%|Y%|Z%
 include = *
 includematch = @Learn [email protected]
 includemaxlength = 0
 format = ,\n* %TITLE%,,

</DPL>


Content is available under Creative Commons License SA 4.0 unless otherwise noted.
-->