Tech stuff and info dump

MediaWiki – change default icon

September 24th, 2009

Make a 135×135 pixel .png image.

Copy it to:

/var/lib/mediawiki/skins/common/images/wiki.png

and refresh the browser.


Filed under: Customisation,MediaWiki
September 24th, 2009 14:39:15

MediaWiki installation

September 24th, 2009

Install mediawiki with Synaptic Package Manager:

sudo gedit /etc/apache2/conf.d/mediawiki.conf

Uncomment the line:

# Alias /mediawiki /var/lib/mediawiki

Restart apache:

sudo /etc/init.d/apache2 restart

Finish set-up by using favourite web browser to navigate to:

http://localhost/mediawiki/

After installing MediaWiki via the browser, move:

/var/lib/mediawiki/config/LocalSettings.php

to:

/etc/mediawiki

after which the wiki can be accessed here:

http://localhost/mediawiki/index.php/Main_Page

Note: I did not “change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data” etc. etc. as recommended, nor did I do anything at all to secure, well, anything given that I’m not planning to make this wiki available outside of the house.


Filed under: Installation,MediaWiki
No Tag
September 24th, 2009 14:24:37