Template talk:Extension DPL: Difference between revisions
Line 49: | Line 49: | ||
|linksto=Batman Vengeance | |linksto=Batman Vengeance | ||
|redirects=only | |redirects=only | ||
}}</nowiki> | }} | ||
{{#dpl: | |||
|linksto=Batman_Vengeance | |||
|redirects=only | |||
}} | |||
</nowiki> | |||
{{#dpl: | {{#dpl: | ||
|linksto=Batman Vengeance | |linksto=Batman Vengeance | ||
|redirects=only | |||
}} | |||
{{#dpl: | |||
|linksto=Batman_Vengeance | |||
|redirects=only | |redirects=only | ||
}} | }} |
Revision as of 08:14, 13 December 2016
Oddities
There seem to be some odd results occurring, adding a note here to hopefully work out what's going on or work out a clearer solution.
Uses Traces Through {{Disambig}}?
The "uses" clause, which should return a list of pages that use a template seems to trace through {{Disambig}} pages and also include those pages. For example, this DPL should return pages with titles prefixed with "Ice" and using {{Problems/GC Widescreen Auto}}, a template only used on GameCube titles...
<dpl> uses=Template:Problems/GC Widescreen Auto titlematch=Ice% </dpl>
...Only the GameCube title page actually uses the queried template. Kolano (talk) 18:40, 28 November 2015 (CET)
Title Sorting Broken
Using ordermethod=title fails with a "API error: internal_api_error_DBQueryError" error breaking all page output.
<dpl> uses=Template:Problems/GC Widescreen Auto ordermethod=title titlematch=Ice% </dpl>
Use ordermethod=titlewithoutnamespace as a workaround.
Regex Filters
Filters using regex seem to be broken, generating a "API error: internal_api_error_DBQueryError" error breaking all page output.
<dpl> titleregexp=Moero.*$ </dpl>
Missing Results
This fails to pull in both redirects to Batman Vengeance (i.e. GBVE41 and GBVP41). Seems related to titles including a space in them, problematic for the checks in {{Navigation}} docmentation.
{{#dpl: |linksto=Batman Vengeance |redirects=only }} {{#dpl: |linksto=Batman_Vengeance |redirects=only }}