Custom Special Pages

This page should be merged into Writing a new special page This page briefly describes how to create custom Special pages for MediaWiki 1.6.5.

Overview
 Go to Special:pagename to test it out.
 * 1) Create a new file called Specialpagename.php in the includes directory of your installation directory.
 * 2) A function called   in this file is the hook that gets called when your page gets loaded. Use   to access helpful objects. Set your page's display title with , and set the HTML to display for the special page with.
 * 3) Open SpecialPage.php in the same directory. One of the first bits of code in this file is a declaration of an array called $wgSpecialPages. Somewhere in this declaration, add: