User:Claus chr/DPL/Test: Difference between revisions
Appearance
< User:Claus chr | DPL
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Testing DPL == | == Testing DPL == | ||
{{Input|1=<nowiki>{{Search|\[\[Special:myLanguage/Applications}}</nowiki>}} | |||
<!-- | |||
{{Search|\[\[Special:myLanguage/Applications}} | |||
--> | |||
This only finds new style links, and conversely find links to subpages as well. Better use the LinksTo template | |||
{{Input|1=<nowiki>{{LinksTo|Applications}}</nowiki>}} | |||
<!-- | |||
{{LinksTo|Applications}} | |||
--> | |||
<!-- | |||
{{Input|1=<nowiki> | {{Input|1=<nowiki> | ||
<DPL> | <DPL> | ||
namespace=Main |User | namespace=Main |User | ||
nottitleregexp = .*(/..(-..)?|_[(].*[)])$ | nottitleregexp = .*(/..(.|-..)?|_[(].*[)])$ | ||
titlematch = A%|B%|C%|D%|E%|F%|G%|H%|I%|J% | titlematch = A%|B%|C%|D%|E%|F%|G%|H%|I%|J% | ||
include = * | include = * | ||
includematch = #\[[Cc]ategory:# | includematch = #\[[Cc]ategory:# | ||
includemaxlength = 0 | includemaxlength = 0 | ||
resultsheader = The pages in the translation containing a category statement (A-J):\n | resultsheader = The pages in the translation containing a category statement (A-J): %TOTALPAGES%\n | ||
format = ,\n* [[%PAGE%|%TITLE%]],, | format = ,\n* [[%PAGE%|%TITLE%]],, | ||
</DPL> | </DPL> | ||
Line 16: | Line 31: | ||
<DPL> | <DPL> | ||
namespace=Main | namespace=Main | ||
nottitleregexp = .*(/..(-..)?|_[(].*[)])$ | nottitleregexp = .*(/..(.|-..)?|_[(].*[)])$ | ||
titlematch = A%|B%|C%|D%|E%|F%|G%|H%|I%|J% | titlematch = A%|B%|C%|D%|E%|F%|G%|H%|I%|J% | ||
include = * | include = * | ||
includematch = #\[[Cc]ategory:# | includematch = #\[[Cc]ategory:# | ||
includemaxlength = 0 | includemaxlength = 0 | ||
resultsheader = The pages in the translation containing a category statement (A-J):\n | resultsheader = The pages in the translation containing a category statement (A-J):%TOTALPAGES%\n | ||
format = ,\n* [[%PAGE%|%TITLE%]],, | format = ,\n* [[%PAGE%|%TITLE%]],, | ||
</DPL> | </DPL> | ||
---- | |||
<DPL> | <DPL> | ||
namespace=Main | namespace=Main | ||
nottitleregexp = .*(/. | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$ | ||
titlematch = K% | titlematch = K% | ||
include = * | include = * | ||
includematch = #\[[Cc]ategory:# | includematch = #\[[Cc]ategory:# | ||
includemaxlength = 0 | includemaxlength = 0 | ||
resultsheader = The pages in the translation containing a category statement (K):\n | resultsheader = The pages in the translation containing a category statement (K):%TOTALPAGES%\n | ||
format = ,\n* [[%PAGE%|%TITLE%]],, | format = ,\n* [[%PAGE%|%TITLE%]],, | ||
</DPL> | </DPL> | ||
---- | |||
<DPL> | <DPL> | ||
namespace=Main | namespace=Main | ||
nottitleregexp = .*(/..(-..)?|_[(].*[)])$ | nottitleregexp = .*(/..(.|-..)?|_[(].*[)])$ | ||
titlematch = L%|M%|N%|O%|P%|Q%|R%|S%|T%|U%|V%|W%|X%|Y%|Z% | titlematch = L%|M%|N%|O%|P%|Q%|R%|S%|T%|U%|V%|W%|X%|Y%|Z% | ||
include = * | include = * | ||
includematch = #\[[Cc]ategory:# | includematch = #\[[Cc]ategory:# | ||
includemaxlength = 0 | includemaxlength = 0 | ||
resultsheader = The pages in the translation containing a category statement (L-Z):\n | resultsheader = The pages in the translation containing a category statement (L-Z):%TOTALPAGES%\n | ||
format = ,\n* [[%PAGE%|%TITLE%]],, | format = ,\n* [[%PAGE%|%TITLE%]],, | ||
</DPL> | </DPL> | ||
->> | |||
<!-- | <!-- | ||
<DPL> | <DPL> |
Latest revision as of 07:35, 10 August 2023
Testing DPL
{{Search|\[\[Special:myLanguage/Applications}}
This only finds new style links, and conversely find links to subpages as well. Better use the LinksTo template
{{LinksTo|Applications}}