MediaWiki

From Linuxintro
Revision as of 14:18, 15 October 2008 by imported>ThorstenStaerk (New page: Mediawiki is a wiki software used by wikipedia and this wiki. = Configuration = == Allowing pictures == If you are the only editor of a wiki (otherwise security flaws!) and want to ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Mediawiki is a wiki software used by wikipedia and this wiki.

Configuration

Allowing pictures

If you are the only editor of a wiki (otherwise security flaws!) and want to allow pictures from all over the web, add the following line to the LocalSettings.php

$wgAllowExternalImages = true;

below the line

require_once( "includes/DefaultSettings.php" );

Allow all html tags

If you are the only editor of a wiki (otherwise security flaws!) and want to allow any html code in your wiki, read and follow http://www.mediawiki.org/wiki/Manual:%24wgRawHtml

Changing the sidebar

This is done on the application level; just edit Mediawiki:Sidebar.

beautify URL

By default, mediawiki's main page is in http://whatever/index.php/Main_Page. To get rid of "index.php", read and follow http://www.mediawiki.org/wiki/Manual:Short_URL

Backup

php maintenance/dumpBackup.php --full >backup.xml

Setup