I'm a former intelligence analyst now doing Web stuff in New York. This is my blog. I do other stuff, too:
 

PROJECTS

WRITING

SPEAKING

Tech stuff that improves both government and democracy. More... I write about the Web, our government, and the former's effect on the latter. More... I give talks on helping organizations make the most of the Web, from a GenY perspective. More...

December 2, 2006

Adding Custom Tabs to MediaWiki

10:41 am,
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: ...

* * *