Template talk:Extension DPL: Difference between revisions
(Empty result issue fixed by Parlane) |
m (Text replacement - "WidescreenGCNAuto" to "GC Widescreen Auto") |
||
Line 3: | Line 3: | ||
=== Uses Traces Through {{tl|Disambig}}? === | === Uses Traces Through {{tl|Disambig}}? === | ||
The "uses" clause, which should return a list of pages that use a template seems to trace through {{tl|Disambig}} pages and also include those pages. For example, this DPL should return pages with titles prefixed with "Ice" and using {{tl|Problems/ | The "uses" clause, which should return a list of pages that use a template seems to trace through {{tl|Disambig}} pages and also include those pages. For example, this DPL should return pages with titles prefixed with "Ice" and using {{tl|Problems/GC Widescreen Auto}}, a template only used on GameCube titles... | ||
<nowiki><dpl> | <nowiki><dpl> | ||
uses=Template:Problems/ | uses=Template:Problems/GC Widescreen Auto | ||
titlematch=Ice% | titlematch=Ice% | ||
</dpl></nowiki> | </dpl></nowiki> | ||
<dpl> | <dpl> | ||
uses=Template:Problems/ | uses=Template:Problems/GC Widescreen Auto | ||
titlematch=Ice% | titlematch=Ice% | ||
</dpl> | </dpl> | ||
Line 21: | Line 21: | ||
<nowiki><dpl> | <nowiki><dpl> | ||
uses=Template:Problems/ | uses=Template:Problems/GC Widescreen Auto | ||
ordermethod=title | ordermethod=title | ||
titlematch=Ice% | titlematch=Ice% | ||
Line 27: | Line 27: | ||
<!-- | <!-- | ||
<dpl> | <dpl> | ||
uses=Template:Problems/ | uses=Template:Problems/GC Widescreen Auto | ||
ordermethod=title | ordermethod=title | ||
titlematch=Ice% | titlematch=Ice% |
Revision as of 10:10, 22 December 2015
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>
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>