Floating menu in Mediawiki 1.7

Submitted by Frederic Marand on Thu, 2007-05-10 14:21
Just a quick note about Mediawiki today, because I noticed I hadn't been writing about software for quite some time. I just installed Mediawiki 1.7 on a server, and was annoyed by its table of contents (TOC) being in the normal HTML flow under the default "Monobook" skin, unlike Dokuwiki, for which the default skin neatly places the TOC on the top right of the main area. Of course, you can always use per-page directives to define this, like {{TOCright}}, but this is tedious to do on every page. After considering alternative skins, I figured it might not be that much to tweak, and indeed it is quite simple once you know where rules are located. so here we go: