Layout customization

From Ollywiki

Jump to: navigation, search

MediaWiki1.6

In MediaWiki1.6 the customization is very easy. To change the logo, put a new png in the skins/common/images directory and point the Localsettings.php file at it thusly:

$wgLogo = "$wgStylePath/common/images/stinkflower.png";

To edit the sidebar is a piece of cake:

• Just browse to MediaWiki:Sidebar and edit the changes, making sure the url precedes the link name like this:

 url|linkname

I used a local wiki link,i.e. Special:Categories and just deleted the others, I didn't need.


MediaWiki1.3

In MediaWiki1.3, I want the following menu to show up in navigation:



the trouble is, the only way I can change this in this very old version of Media Wiki (1.3) is here
Under 1.3 you can only add items by changing the xhtml_slim.pt file

I commented out the stuff I didn't need in the xhtml_slim.pt file but I still need to tweak it to get categories to come up.

  • Finally I found a help file (sheesh) here
  • Hard work customizing all those files but it worked. Check the comments in the xhtml_slim.pt file and also the SkinPHPTal.php (in the includes directory) as well as languageXX.php (In the languages directory)
Personal tools