- 2011-09-01: Building an Unfuddle to Drupal Casetracker import module using Migrate
- 2011-08-28: Back from DrupalCon London and its WSCCI code sprint. Wow.
- 2010-12-21: Madame Figaro brand new site by OSInet and others
- 2010-08-16: France.FR is back online with OSInet and Typhon
- 2010-06-15: the new http://www.franceculture.com/, which OSInet helped reach its performance goals, is now online
- 2010-06-13: the OSInet Features Server is live
- 2009-11-29: mongodb_watchdog module created by dereine, ported to D7 by me in about half an hour, and migrated in a larger MongoDB project by damz before the hour ended. Wow...
- 2009-02-03: the new Drupal-based site for the golden jubilee of the french "Ministère de la Culture", which OSInet helped build, is now online
Floating menu in Mediawiki 1.7
Submitted by fgm 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:
- find the root of your mediawiki install, which we'll call
<root> cd <root>/skins/monobook- edit
main.css - find the rule for
#toc, .toc - add a
float: right; margin: 0 0 1em 1em;to it. - That's it !





Recent comments
3 weeks 1 day ago
12 weeks 1 day ago
22 weeks 16 hours ago
22 weeks 17 hours ago
23 weeks 2 days ago
24 weeks 17 hours ago
26 weeks 5 days ago
40 weeks 4 days ago
41 weeks 6 days ago
42 weeks 14 hours ago