Extension:GlobalBlocking

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
GlobalBlocking

Release status: beta

Implementation Special page, User identity
Description Allows IP addresses to be blocked on multiple wikis.
Author(s) Andrew Garrett (Werdna Talk)
MediaWiki 1.13-alpha
License GPL
Download SVN
Parameters $wgGlobalBlockingDatabase
Added rights globalblock, globalunblock
Hooks used

getUserPermissionsErrorsExpensive

The GlobalBlocking extension allows a user with the appropriate permissions to block a single IP address on all projects sharing the same globalblocking database. It is intended to be used on Wikimedia for combatting severe crosswiki vandalism and spam.

[edit] Installation instructions

To retrieve the code, the following svn command may be used:

svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/GlobalBlocking/

Add this line to LocalSettings.php:

require_once($IP.'extensions/GlobalBlocking/GlobalBlocking.php');

You will also need to set up a database for this extension to work. At a minimum (all wikis running on the same host), you need to create a local database called 'globalblocking', and grant all database users that your wikis run as full permissions on that database (at a mimimum, SELECT, UPDATE, INSERT, DELETE).

Personal tools