6,906
edits
mNo edit summary |
|||
Line 38: | Line 38: | ||
The ID database here works off of redirect pages, each ID is its own wiki page which simply contains a redirect to the page of the game the ID is for. This makes adding a GameID to the wiki rather simple on a technical level. As such example, suppose ID "GALE01" was for the game [[Super Smash Bros. Melee]], it was created simply as a new page on the wiki titled exactly "GALE01", and then its contents is written as <code><nowiki>#REDIRECT [[Super Smash Bros. Melee]]</nowiki></code>. | The ID database here works off of redirect pages, each ID is its own wiki page which simply contains a redirect to the page of the game the ID is for. This makes adding a GameID to the wiki rather simple on a technical level. As such example, suppose ID "GALE01" was for the game [[Super Smash Bros. Melee]], it was created simply as a new page on the wiki titled exactly "GALE01", and then its contents is written as <code><nowiki>#REDIRECT [[Super Smash Bros. Melee]]</nowiki></code>. | ||
The game page will pick up the IDs automatically within {{tl|Infobox VG}} with the help of [https://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) DPL]. It works by looking through redirect pages to find the matching title it's about to redirect to itself, and then output the titles of those redirect pages. | |||
*Please note that when adding a new ID it takes a little while for the page's infobox to pick it up, so don't be alarmed if it doesn't pop up right away. For those who are impatient, a new ID can be forced to show up with [https://www.mediawiki.org/wiki/Manual:Purge purge]. | *Please note that when adding a new ID it takes a little while for the page's infobox to pick it up, so don't be alarmed if it doesn't pop up right away. For those who are impatient, a new ID can be forced to show up with [https://www.mediawiki.org/wiki/Manual:Purge purge]. |
edits