From Bioinformatics.Org Wiki
Details of wiki configuration the Bioinformatics.Org Wiki:wikiadmin group: (join us!)
To see the current MW version and the list of installed extensions, see Special:Version.
The MediaWiki is installed under:
Under that location there are four important directories:
- The directory containing the current version of MediaWiki.
- A symbolic link to the current version.
- The overall (version independent) images directory. A symbolic link to this directory is put under
- The overall (version independent) extensions directory. A symbolic link to this directory is put under
The location of the the Apache configuration files can be a bit confusing at first, but once you get to the bottom of it, it seems to make sense.
/usr/local -> /home/local i.e. /usr/local/apache/conf/ ... IS EQUIVALENT TO ... /home/local/apache/conf/
/etc/httpd -> /usr/local/apache i.e. /etc/httpd/conf/ ... IS EQUIVALENT TO ... /usr/local/apache/conf/ ... IS EQUIVALENT TO ... /home/local/apache/conf/
/httpdconfroot -> /home/local/apache/conf
CONFIGURATION LOAD ORDER:
httpd.conf Include "/usr/local/apache/conf/includes/pre_main_global.conf" Include "/usr/local/apache/conf/includes/pre_main_2.conf conf header stuff Include "/usr/local/apache/conf/php.conf" Include "/usr/local/apache/conf/includes/errordocument.conf" more conf header stuff Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf" Include "/usr/local/apache/conf/includes/pre_virtualhost_2.conf" some vhost stuff Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf" Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"
/home/www -> /httpdroot /httpdroot -> /home/httpd
/var/log/httpd -> /etc/httpd/logs /etc/httpd -> /usr/local/apache /usr/local -> /home/local
The webserver (httpd) runs as user nobody (group nobody). Is that user in any other groups?
I'm trying to change all the permissions to the new 'wikiadmin' group, but I'm not entirely sure how to do it 'properly'.
The database is called 'mediawiki' and the wiki table prefix is 'mw_'.
We should create two users with privileges only for that database.
- A read only user for queries.
- A read/write user for the wiki in general.
Raw configuration file
See: Bioinformatics.Org Wiki:Configuration/AdditionalSettings.php
For any of the installed extensions that have tagged releases , the latest release has been installed (Saturday, 17 July 2010). To track releases, see .
To update an extension to a new release, you need a command like:
# check the current version svn info Validator # update to the latest release cd Validator svn switch http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Validator/REL_0_3_4/
Most extensions (including the above set) have stable versions in the trunk MW SVN repository , and are coded so as to be compatible with any recent version of MW. For this reason, and for convenience, I tend to keep extensions up to date with the following commands:
Step 1, get the extension:
Step 2, update it:
cd MyExtn; svn update; cd ../
Step 3, TEST THE WIKI!
Soon there should be a nice extension manager for MW :-)
As a test, I'm looking at the MW 1.16 branch:
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3 ./mediawiki-1.16.x