hexmode/mediawiki-block-and-nuke

Fatal error class UserMerger

Closed this issue · 3 comments

Trying to use this and not having success. When running ban.php I get this error:

Starting dry run
Found 17 bannable users and 11 pages:
Pages
    User talk:AntoineLaird
    User talk:DelmarCPQfz
    User talk:ChantalMerritt
    User talk:ConcepcionRanki
    User talk:BessieHHArqo
    User talk:Juan7737jqpda
    User talk:KatiaZOYDei
    User talk:MelissaWicker
    User talk:SonyaWhitman
    User talk:Marshall60U
    User:An8thg
PHP Fatal error:  Class 'UserMerger' not found in /srv/www/mediawiki/public_html/w/extensions/BlockandNuke/ban.php on line 52

I'm tempted to think that I should just change "UserMerger" to "UserMerge", but there are three references to that class. The UserMerge extension doesn't define a class by that name.

On 08/24/2013 10:03 AM, Jamie Thingelstad wrote:

Trying to use this and not having success. When running ban.php I get
this error:

PHP Fatal error: Class 'UserMerger' not found in
/srv/www/mediawiki/public_html/w/extensions/BlockandNuke/ban.php on line 52

Right, this is based on a patch to UserMerge that I have submitted here:
https://gerrit.wikimedia.org/r/80690/

Ahhh, excellent. Thanks. Maybe I'll cherry pick that. :-\

Didn't look at the code that caused the actual error. ban.php wasn't checking for the existence of UserMerger before using.