Template talk:Extension DPL: Difference between revisions
Line 34: | Line 34: | ||
=== Empty Results === | === Empty Results === | ||
DPL queries that return no pages result in a series of errors causing the entire wiki page to fail to render. | DPL queries that return no pages result in a series of errors causing the entire wiki page to fail to render. This ones irksome, as it prevents using DPL to pull in lists of GameIDs. | ||
<nowiki><dpl> | <nowiki><dpl> |
Revision as of 00:59, 21 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/WidescreenGCNAuto}}, a template only used on GameCube titles...
<dpl> uses=Template:Problems/WidescreenGCNAuto 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 DPL output on the page.
<dpl> uses=Template:Problems/WidescreenGCNAuto ordermethod=title titlematch=Ice% </dpl>
Empty Results
DPL queries that return no pages result in a series of errors causing the entire wiki page to fail to render. This ones irksome, as it prevents using DPL to pull in lists of GameIDs.
<dpl> uses=Template:NonexistentTemplate </dpl>