Difference between revisions of "User:Claus chr/DPL/Test"

 
Line 1: Line 1:
 
== Testing DPL ==
 
== Testing DPL ==
  
{{Input|1=<nowiki>{{Search|\[\[Special:myLanguage/Welcome to KDE UserBase}}</nowiki>}}
+
{{Input|1=<nowiki>{{Search|\[\[Special:myLanguage/Applications}}</nowiki>}}
  
{{Search|\[\[Special:myLanguage/Welcome to KDE UserBase}}
+
{{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}}
  
 
<!--
 
<!--

Latest revision as of 10:20, 16 September 2012

Testing DPL

{{Search|\[\[Special:myLanguage/Applications}}


{{#dpl:

 |namespace = 
 |nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 |titleregexp = ^[A-J]
 |include = *
 |includematch = @\[\[Special:myLanguage/Applicat[email protected]
 |includemaxlength = 0
 |format = ,\n* %TITLE%,,

| resultsheader = There are %TOTALPAGES% pages beginning with A-J\n }} {{#dpl:

 |namespace = 
 |nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 |titleregexp = ^K[A-Z]
 |include = *
 |includematch = @\[\[Special:myLanguage/[email protected]
 |includemaxlength = 0
 |format = ,\n* %TITLE%,,

| resultsheader = There are %TOTALPAGES% pages beginning with KA-KZ\n }} {{#dpl:

 |namespace = 
 |nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 |titleregexp = ^K[a-ce-z]
 |include = *
 |includematch = @\[\[Special:myLanguage/[email protected]
 |includemaxlength = 0
 |format = ,\n* %TITLE%,,

| resultsheader = There are %TOTALPAGES% pages beginning with Ka-Kz but not Kd\n }} {{#dpl:

 |namespace = 
 |nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 |titleregexp = ^Kd
 |include = *
 |includematch = @\[\[Special:myLanguage/[email protected]
 |includemaxlength = 0
 |format = ,\n* %TITLE%,,

| resultsheader = There are %TOTALPAGES% pages beginning with Kd\n }} {{#dpl:

 |namespace = 
 |nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z][)]))$
 |titleregexp = ^[L-Z]
 |include = *
 |includematch = @\[\[Special:myLanguage/[email protected]
 |includemaxlength = 0
 |format = ,\n* %TITLE%,,

| resultsheader = There are %TOTALPAGES% pages beginning with L-Z\n }}

This only finds new style links, and conversely find links to subpages as well. Better use the LinksTo template

{{LinksTo|Applications}}

{{#dpl: | namespace = | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z](...)?[)]))$ | titleregexp = ^[A-J] | include = * | includematch = @\[\[([Ss]pecial\:[mM]y[lL]anguage/)?Applications( )*(\]|\||#)@ | includemaxlength = 0 | format = ,\n* %TITLE%,, | resultsheader = There are %TOTALPAGES% pages beginning with A-J\n }} {{#dpl: | namespace = | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z](...)?[)]))$ | titleregexp = ^K[A-Z] | include = * | includematch = @\[\[([Ss]pecial\:[mM]y[lL]anguage/)?Applications( )*(\]|\||#)@ | includemaxlength = 0 | format = ,\n* %TITLE%,, | resultsheader = There are %TOTALPAGES% pages beginning with KA-KZ\n }} {{#dpl: | namespace = | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z](...)?[)]))$ | titleregexp = ^K[a-ce-z] | include = * | includematch = @\[\[([Ss]pecial\:[mM]y[lL]anguage/)?Applications( )*(\]|\||#)@ | includemaxlength = 0 | format = ,\n* %TITLE%,, | resultsheader = There are %TOTALPAGES% pages beginning with Ka-Kc or Ke-Kz\n }} {{#dpl: | namespace = | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z](...)?[)]))$ | titleregexp = ^Kd | include = * | includematch = @\[\[([Ss]pecial\:[mM]y[lL]anguage/)?Applications( )*(\]|\||#)@ | includemaxlength = 0 | format = ,\n* %TITLE%,, | resultsheader = There are %TOTALPAGES% pages beginning with Kd\n }} {{#dpl: | namespace = | nottitleregexp = .*((/[a-z][a-z](.|-..)?)|([ _][(][a-z][a-z](...)?[)]))$ | titleregexp = ^[L-Z] | include = * | includematch = @\[\[([Ss]pecial\:[mM]y[lL]anguage/)?Applications( )*(\]|\||#)@ | includemaxlength = 0 | format = ,\n* %TITLE%,, | resultsheader = There are %TOTALPAGES% pages beginning with L-Z\n }}



This page was last edited on 16 September 2012, at 10:20. Content is available under Creative Commons License SA 4.0 unless otherwise noted.
-->