UMassWiki:Installing CheckUser
From UMassWiki
It took me a couple days to figure out how to install CheckUser into MediaWiki. Accordingly, I'm going to post instructions and files here to make it easier to Just Get It Working™.
These instructions apply to MediaWiki 1.7.1 and the version of CheckUser I downloaded from CVS on September 1, 2006. They may well not work at all for any future or past versions of MediaWiki.
- Access the latest CheckUser source here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/
- Access the latest ExtensionFunctions source here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/
If you're looking for general spam-fighting measures, see UMassWiki:Blocking Spam in MediaWiki.
[edit] Overview
The CheckUser extension for MediaWiki adds a Special:CheckUser page which can only be viewed by users with permissions to see it. This page allows one to perform searches on the recent changes log by username or IP address. See MetaWiki:Help:CheckUser.
[edit] Installation
- Download these 3 files and put them in extensions/CheckUser: CheckUser.php, CheckUser_body.php, and CheckUser.i18n.php.
- If you don't have it in extensions/ already, download ExtensionFunctions.php and put it there.
- Put the following near the end of your LocalSettings.php:
This will grant all Sysops permission to access Special:CheckUser. Disabling the log is necessary to prevent an error that I haven't bothered to fix.#CheckUser for Special:CheckUser
require_once("$IP/extensions/CheckUser/CheckUser.php");
$wgGroupPermissions['sysop']['checkuser'] = true;
$wgCheckUserLog = false;
That's it -- all sysops should now be able to access Special:CheckUser.

Was this article useful? Please spread the word and 
