6,906
edits
Line 138: | Line 138: | ||
=== Miscellaneous tips === | === Miscellaneous tips === | ||
==== [https://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) DPL] ==== | ==== [https://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) DPL] ==== | ||
Because this is a wiki, there's a | Because this is a wiki, there's a nearly Turing-complete scripting language and all its extensions available to find patterns in the wiki's IDs. The most useful of those extensions is DPL. DPL is the primary method used on the wiki for interacting with IDs both inside and outside of templates, and a familiarity with it is almost crucial. Take the following as a small example of what be done: | ||
< | <pre>{{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID}}</pre> | ||
This gives an output of: | |||
This gives | |||
{{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID}} | {{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID}} | ||
What this does, is finds all IDs on the wiki with publisher ID 28, and lists them from the last edited to the most recent. With | What this does, is finds all IDs on the wiki with publisher ID 28, and lists them from the last edited to the most recent. With this someone could easily go through and add an edit to each ID, and the same DPL would update during the process to keep the oldest edit on top. | ||
== TODO == | == TODO == |
edits