Extension:SpamBlacklist/update script

I hereby release this script into the public domain. -- Sy / (talk) 23:41, 16 July 2006 (UTC)


 * 1) !/bin/bash

dir="$( cd "$( dirname "$0" )" && pwd )"

echo " * updating from wikimedia.org's blacklist" wget -O $dir/blacklist-wikimedia 'http://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw'

If you are using memcached, you will also have to delete the  key. The following can be added to the above script: echo " * removing memcached key" php /maintenance/mcc.php <<EOF delete spam_blacklist_regexes EOF &lt;mediawiki_path&gt; should be replaced with the path to your mediawiki installation.