How come I cannot get my user merge to work correctly on my wiki? 

by on March 19, 2012

Q: I have a wiki (yhwiki.com). I’m trying to add a user merge and delete function onto my wiki using the info here (http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete). I downloaded and extracted the extensions to my extensions folder, and then I added the following code to the end of my LocalSettings.php

require_once( “yhwiki.com/extensions/UserMerge/UserMerge.php” );
$wgGroupPermissions['bureaucrat']['usermerge'] = true;

# optional – default is array( ‘sysop’ )
$wgUserMergeProtectedGroups = array( ‘groupname’ );

And it breaks my wiki. I get the following error:

Warning: require_once(yhwiki.com/extensions/UserMerge/UserMerge.php) [function.require-once]: failed to open stream: No such file or directory in /home/deabrynspikess/yhwiki.com/LocalSettings.php on line 161

Fatal error: require_once() [function.require]: Failed opening required ‘yhwiki.com/extensions/UserMerge/UserMerge.php’ (include_path=’/home/deabrynspikess/yhwiki.com:/home/deabrynspikess/yhwiki.com/includes:/home/deabrynspikess/yhwiki.com/languages:.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/deabrynspikess/yhwiki.com/LocalSettings.php on line 161

If I delete “require_once” from the code on the LocalSettings.php, then my wiki will work again, but a new Special Page Special:UserMerge with the title Merge and Delete Users was never created. What am I doing wrong?