MediaWiki

MediaWiki is a powerful wiki application used by the Gentoo Wiki and the various Wikimedia Project websites (including Wikipedia).

Prerequisites

 * Install PHP. Enable the xmlreader USE flag, because MediaWiki requires it:


 * Install a web server and set it up for use of PHP:
 * Apache
 * Lighttpd


 * Install MySQL (MariaDB is a suitable alternative). Create a database for MediaWiki:

www-apps/mediawiki
Install :

Setup

 * Point your browser at http://127.0.0.1/mediawiki and follow the instructions.
 * Page "Welcome to MediaWiki!":
 * "Database name" is "mediawiki"
 * "Database username" is "mediawiki"
 * "Database password" is "changeme" (or what else you have setup)
 * Page "Connect to database":
 * Database character set" should be "UTF-8"
 * Page "Name"
 * "Name of wiki" has to be set
 * Setup admin user and password
 * Page "Complete!"
 * Download your configuration and move it to.
 * Point your browser at http://127.0.0.1/mediawiki/ to see your installed and configured wiki.

Advanced configuration
add this somewhere (does not matter exactly where):
 * To use a shorter URL make the following modifications:

and add this between  tags:


 * By default the landing page in MediaWiki is unlocked for anyone to edit. Login as admin. By the top right of the page is an arrow that points down, click it and the 3rd option down is "protect" to lock down the page.


 * Set an avatar for your wiki. Add to the bottom of :

External Resources

 * MediaWiki manual for developers and administrators
 * spam combat manual
 * MediaWiki Extensions