Template talk:Extension DPL: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
   uses=Template:Problems/WidescreenGCNAuto
   uses=Template:Problems/WidescreenGCNAuto
   titlematch=Ice%
   titlematch=Ice%
</dpl></nowiki>
</dpl></nowiki>


<dpl>
<dpl>
Line 24: Line 24:
   ordermethod=title
   ordermethod=title
   titlematch=Ice%
   titlematch=Ice%
</dpl></nowiki>
</dpl></nowiki>
<!--
<!--
<dpl>
<dpl>

Revision as of 01:04, 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>


Regex Filters

Filters using regex seem to be broken.

<dpl>
 titleregexp=Moero.*$
</dpl>