User:Xerxes: Difference between revisions

Jump to navigation Jump to search
(→‎Trivia: more optimized bubble sort)
Line 129: Line 129:
Because this is a wiki, there's a lot of neat tricks you can do to find patterns and help you in your quest to document IDs. One of them is DPL. While I won't get into all the specifics of using DPL (since I don't know them myself), here's an example of what you can do with it:
Because this is a wiki, there's a lot of neat tricks you can do to find patterns and help you in your quest to document IDs. One of them is DPL. While I won't get into all the specifics of using DPL (since I don't know them myself), here's an example of what you can do with it:


<code><nowiki>{{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki></nowiki><nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID|notcategory=Unconfirmed GameID}}</nowiki></code><!--
<code><nowiki>{{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki></nowiki><nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID}}</nowiki></code><!--


^^DON'T COPY/PASTE FROM HERE^^! I had to do some absolutely disgusting nowiki-ing to get this shit to come out right. Copy from the actual page, or the one below. -->
^^DON'T COPY/PASTE FROM HERE^^! I had to do some absolutely disgusting nowiki-ing to get this shit to come out right. Copy from the actual page, or the one below. -->
Line 135: Line 135:
This gives the output of:
This gives the output of:


{{#dpl:titlematch=____28|ordermethod=lastedit|order=ascending|redirects=only|mode=inline|inlinetext=<nowiki>, </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID|notcategory=Unconfirmed 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 tools like this you can easily go through and add an edit to each ID, and your DPL will update as you go along to put the oldest edit first, so the one on top is always the next one you want to edit. This will help a lot in mass-edits or deep investigations, and it's worth keeping up your sleeve in case a situation crops up where you need it.
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 tools like this you can easily go through and add an edit to each ID, and your DPL will update as you go along to put the oldest edit first, so the one on top is always the next one you want to edit. This will help a lot in mass-edits or deep investigations, and it's worth keeping up your sleeve in case a situation crops up where you need it.