您好我正在尝试在媒体wiki中安装MergeUser插件。我的帐户是在sysop和官僚中。我启用了$wgGroupPermissions['bureaucrat']['usermerge'] = true;
当我尝试访问/ Special:UserMerge时出现以下错误
[70aadcac] /index.php/Special:UserMerge Exception from line 376 of /var/www/plivowiki/includes/SpecialPage.php: Call to undefined method UserMerge::getPageTitle
Backtrace:
#0 /var/www/plivowiki/extensions/UserMerge/UserMerge_body.php(128): SpecialPage->__call(string, array)
#1 /var/www/plivowiki/extensions/UserMerge/UserMerge_body.php(128): UserMerge->getPageTitle()
#2 /var/www/plivowiki/includes/SpecialPage.php(631): UserMerge->execute(NULL)
#3 /var/www/plivowiki/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
#4 /var/www/plivowiki/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext)
#5 /var/www/plivowiki/includes/Wiki.php(602): MediaWiki->performRequest()
#6 /var/www/plivowiki/includes/Wiki.php(467): MediaWiki->main()
#7 /var/www/plivowiki/index.php(49): MediaWiki->run()
#8 {main}
答案 0 :(得分:1)
您需要升级MediaWiki或降级MergeUser扩展程序。函数SpecialPage::getPageTitle
为introduced recently(之前称为SpecialPage::getTitle
)。
如果您无法将MediaWiki升级到最新版本,可能的补丁是将getPageTitle
替换为getTitle
中的/extensions/UserMerge/UserMerge_body.php
,但仍可能存在其他不兼容性。< / p>
另外,在询问此类问题时,请提供相关软件和扩展的版本,这样可以更轻松地提供更好的答案。
编辑:我现在看到以前已经回答过:UserMerge Error