Jump to content

Topic on Extension talk:UserMerge

Error When Attempting to Merge Users

4
Summary by Network-charles

I downloaded v1.41 of the extension directly and it worked. Initially, I installed the UserMerge extension using Git. You can find the phabricator link here.

Network-charles (talkcontribs)

On my MediaWiki software, I keep getting the below error whenever I attempt to merge users:

/mediawiki-1.41.0/index.php/Special:UserMerge Error: Call to undefined method MediaWiki\MediaWikiServices::getConnectionProvider()

Backtrace:

from /var/www/html/mediawiki-1.41.0/extensions/UserMerge/includes/MergeUser.php(79)

# 0 /var/www/html/mediawiki-1.41.0/extensions/UserMerge/includes/MergeUser.php(55): MergeUser->mergeEditcount()
# 1 /var/www/html/mediawiki-1.41.0/extensions/UserMerge/includes/SpecialUserMerge.php(141): MergeUser->merge()
# 2 /var/www/html/mediawiki-1.41.0/includes/htmlform/HTMLForm.php(751): SpecialUserMerge->onSubmit()
# 3 /var/www/html/mediawiki-1.41.0/includes/htmlform/HTMLForm.php(631): HTMLForm->trySubmit()
# 4 /var/www/html/mediawiki-1.41.0/includes/htmlform/HTMLForm.php(647): HTMLForm->tryAuthorizedSubmit()
# 5 /var/www/html/mediawiki-1.41.0/includes/specialpage/FormSpecialPage.php(231): HTMLForm->show()
# 6 /var/www/html/mediawiki-1.41.0/includes/specialpage/SpecialPage.php(727): MediaWiki\SpecialPage\FormSpecialPage->execute()
# 7 /var/www/html/mediawiki-1.41.0/includes/specialpage/SpecialPageFactory.php(1621): MediaWiki\SpecialPage\SpecialPage->run()
# 8 /var/www/html/mediawiki-1.41.0/includes/MediaWiki.php(357): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
# 9 /var/www/html/mediawiki-1.41.0/includes/MediaWiki.php(960): MediaWiki->performRequest()
# 10 /var/www/html/mediawiki-1.41.0/includes/MediaWiki.php(613): MediaWiki->main()
# 11 /var/www/html/mediawiki-1.41.0/index.php(50): MediaWiki->run()
# 12 /var/www/html/mediawiki-1.41.0/index.php(46): wfIndexMain()
# 13 {main}
Network-charles (talkcontribs)

Hi @Pppery, have you encountered this error before? I was experimenting with a concept while trying to update the Help:Renaming users page. Although I ultimately went with a different example, I'd appreciate your help in resolving this issue.

Pppery (talkcontribs)

No, I've never seen this error before. But I don't actively use UserMerge either, and it's not been as actively maintained as it should be for years, so I would not be surprised if this is a real bug that needs to be reported on Phabricator.

Network-charles (talkcontribs)

Okay, I will report it.