Topic on Project:Support desk

How to install CheckUser for MediaWiki 1.16.5 ?

7
Joz1165 (talkcontribs)

I tried to install CheckUser for my MediaWiki 1.16.5, but got the error message. Can someone help me? Thanks.

Jasper Deng (talkcontribs)

Could you please give more specific details about what error you are receiving?

Joz1165 (talkcontribs)

Thank you for your reply.

1. I tried to copy and past the code from http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/ to my extensions/CheckUser folder.

2. Set AdminSettings.php with my valid username and password in my root.

$wgDBadminuser      = 'ChangeToMywikiadmin';
$wgDBadminpassword  = 'ChangeToMyadminpass';

3. Add the code below in my LocalSettings.php.

 
require_once ( "$IP/extensions/CheckUser/CheckUser.php" );

When I browse my Special:CheckUser web page, got the error message below:

Fatal error: Call to undefined method CheckUser::checkPermissions() 

in /home/content/89/7724389/html/extensions/CheckUser/CheckUser_body.php on line 20
Jasper Deng (talkcontribs)

You should do a complete download rather than just copying and pasting. Ensure you're getting a version of the extension appropriate for your version of MediaWiki, because it's probably that your version of MediaWiki's SpecialPage class does not have that method.

Joz1165 (talkcontribs)
Jasper Deng (talkcontribs)

CheckUser is a very actively-maintained extension - if you don't know how to select the version for your version of MediaWiki (1.16.5), use Special:ExtensionDistributor - the version you copied and pasted did not match your MediaWiki version.

Jasper Deng (talkcontribs)

In reply to your email, you should extract the tar.gz files first, and then upload those contents to your server (FTP would be the easiest here).

Reply to "How to install CheckUser for MediaWiki 1.16.5 ?"