Extension:SpecialPagesOrganizer

On the standard MediaWiki distribution, the Specialpages special page (the one that lists all the Special Pages) is badly organized and hard to navigate. In the standard version the special pages are listed in alphabetical order and with a large amount of pages it becomes impossible to navigate. The normal way to overcome this order is to hack the code and modify SpecialSpecialpages.php, however sometimes that is unwanted. This extension provides an easy way to reorder your pages and organize them under any heading without leaving LocalSettings.php.

Old Way
The old way involved opening SpecialSpecialpages.php and recoding part of it with a giant case statement to sort all the special pages into various sections.

Installing

 * 1) Create a file called SpecialPagesOrganizer.php in your extensions directory.
 * 2) Copy and paste the SpecialPagesOrganizer code into the new file
 * 3) In LocalSettings.php, add the following line:
 * 4) In LocalSettings.php, create an array called $egOrderArray following the following template:

Examples
In my wiki, I use the following code in my LocalSettings.php to order the specialpages:

Future Improvements

 * There is currently no error checking for this extension. If you put in a name of a specialpage that does not exist into $egOrderArray it will crash the script. Proper error checking will be added later to avoid this.
 * The extension currently does not get registered with the wiki using it.
 * A hook will be added to the extension for an extra extension I am planning for later