Notes on upgrading this MediaWiki
From PublicWiki
Step 1: Backup LocalSettings.php
Step 2: Unpack MediaWiki tarfile into the proper directory
Step 3: Copy LocalSettings.php into $MEDIAWIKI_ROOT
Step N: Reinstall SpamBlacklist As far as I know, this must be reinstalled whenever you update MediaWiki to a new version; to do this, run the following:
cd $MEDIAWIKI_ROOT cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia login cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia co extensions/SpamBlacklist cd extensions/SpamBlacklist chmod +x load_lists ./load_lists
- Then, follow the instructions in extensions/SpamBlacklist/README; in particular, ensure that the proper line is in LocalSettings.php. Also, copy the old local_blacklist file to the SpamBlacklist directory, and edit SpamBlacklist_body.php so that the SpamBlacklist function reads:
function SpamBlacklist() { global $IP; $this->files = array( "$IP/extensions/SpamBlacklist/wikimedia_blacklist" ); $this->files = array( "$IP/extensions/SpamBlacklist/local_blacklist" ); }
- Note the addition of the local_blacklist file.
- Re-run the load_lists script periodically to get the latest spam blacklist.