| description | value |
|---|---|
| External referrers today | 99 |
| Internal referrers today | 55 |
| Viewed nodes today | 669 |
| Viewed nodes all time | 241929 |
| Viewed pages today | 957 |
| Hits today | 957 |
| RSS feed subscribers | 394 |
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
1 week 2 days ago
1 week 2 days ago
6 weeks 4 days ago
6 weeks 4 days ago
7 weeks 2 days ago
7 weeks 2 days ago
8 weeks 1 day ago
8 weeks 1 day ago
10 weeks 2 days ago
10 weeks 2 days ago