Template talk:Extension DPL: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(Empty result issue fixed by Parlane)
Line 30: Line 30:
   ordermethod=title
   ordermethod=title
   titlematch=Ice%
   titlematch=Ice%
</dpl>
-->
=== Empty Results ===
DPL queries that return no pages result in a "API error: internal_api_error_DBQueryError" error breaking all page output. This ones irksome, as it prevents using DPL to pull in lists of GameIDs.
<nowiki><dpl>
  uses=Template:NonexistentTemplate
</dpl></nowiki>
<!--
<dpl>
  uses=Template:NonexistentTemplate
</dpl>
</dpl>
-->
-->

Revision as of 03:12, 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 page output.

<dpl>
  uses=Template:Problems/WidescreenGCNAuto
  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>