Difference between revisions of "Notes on upgrading this MediaWiki"

From PublicWiki
Jump to: navigation, search
 
(tweak formatting, text.)
Line 1: Line 1:
'''Step 1: Backup LocalSettings.php''''
+
'''Step 1:''' Backup LocalSettings.php
  
'''Step 2: Unpack MediaWiki tarfile into the proper directory'''
+
'''Step 2:''' Unpack MediaWiki tarfile into the proper directory
  
'''Step 3: Copy LocalSettings.php into $MEDIAWIKI_ROOT'''
+
'''Step 3:''' Copy LocalSettings.php into $MEDIAWIKI_ROOT
  
'''Step N: Reinstall SpamBlacklist'''
+
'''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:
 
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
 
  cd $MEDIAWIKI_ROOT
Line 13: Line 13:
 
  chmod +x load_lists
 
  chmod +x load_lists
 
  ./load_lists
 
  ./load_lists
:Then, follow the instructions in the .  Re-run the load_lists script periodically to get the latest spam blacklist.
+
:Then, follow the instructions in extensions/SpamBlacklist/README; in particular, ensure that the proper line is in LocalSettings.php.  Re-run the load_lists script periodically to get the latest spam blacklist.

Revision as of 21:21, 23 May 2005

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. Re-run the load_lists script periodically to get the latest spam blacklist.