Template talk:Extension DPL: Difference between revisions
m (Text replacement - "WidescreenGCNAuto" to "GC Widescreen Auto") |
|||
(12 intermediate revisions by one other user not shown) | |||
Line 32: | Line 32: | ||
</dpl> | </dpl> | ||
--> | --> | ||
Use ordermethod=titlewithoutnamespace as a workaround. | |||
=== Regex Filters === | === Regex Filters === | ||
Line 41: | Line 43: | ||
titleregexp=Moero.*$ | titleregexp=Moero.*$ | ||
</dpl>--> | </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 {{tl|Navigation}} docmentation. | |||
<nowiki>{{#dpl: | |||
|linksto=Batman Vengeance | |||
|redirects=only | |||
}} | |||
{{#dpl: | |||
|linksto=Batman_Vengeance | |||
|redirects=only | |||
}} | |||
</nowiki> | |||
{{#dpl: | |||
|linksto=Batman Vengeance | |||
|redirects=only | |||
}} | |||
{{#dpl: | |||
|linksto=Batman_Vengeance | |||
|redirects=only | |||
}} | |||
Problem found, see here [[Template talk:Infobox VG#Is this still a thing?]] [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 20:16, 16 January 2018 (CET) | |||
=== Category Limits === | |||
Category filters are limited to using 8 clauses, so nine in the example below will not be searched for. | |||
<nowiki>{{#dpl: | |||
|category=1|2|3|4|5|6|7|8|9 | |||
|redirects=only | |||
}}</nowiki> |
Latest revision as of 21:16, 16 January 2018
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 }}
Problem found, see here Template talk:Infobox VG#Is this still a thing? Lucario (talk) 20:16, 16 January 2018 (CET)
Category Limits
Category filters are limited to using 8 clauses, so nine in the example below will not be searched for.
{{#dpl: |category=1|2|3|4|5|6|7|8|9 |redirects=only }}