Template talk:Extension DPL

From Dolphin Emulator Wiki
Jump to navigation Jump to search

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
}}

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
}}