Adding Custom Tabs to MediaWiki
I just hacked out my first piece of custom MediaWiki interface: adding custom tabs next to the standard "Article," "Edit," "Discussion," etc. tabs. I was surprised that there was no existing documentation on how to do this. So I decided to write my own for the benefit of other amatuers like me. Here's how you can do it:
1) Before starting, you have to be working from a skin that is built on SkinTemplate.php. If you aren't sure, then you probably are. (I'm sure there are ways to add custom tabs to other skins, but I don't know how.)
2) Create a new custom namespace. This is what will come before the colon in the new page's address, eg "yourdomain.com/wiki/NewNamespace:Pagename". (NOTE, 5/15/2008: ...
* * *
