Topic on Extension talk:UserMerge

Call to undefined method UserMerge::getPageTitle

4
Ivanov17 (talkcontribs)

I work with:

MediaWiki	1.22.4
PHP	5.5.10-pl0-gentoo (uwsgi)
MySQL	5.1.70

and I use last version of UserMerge, fetched with git. I get this error:

[f88e2b01] /Special:UserMerge Exception from line 376 of /var/www/wiki/htdocs/includes/SpecialPage.php: Call to undefined method UserMerge::getPageTitle
Backtrace:
#0 /var/www/wiki/htdocs/extensions/UserMerge/UserMerge_body.php(128): SpecialPage->__call(string, array)
#1 /var/www/wiki/htdocs/extensions/UserMerge/UserMerge_body.php(128): UserMerge->getPageTitle()
#2 /var/www/wiki/htdocs/includes/SpecialPage.php(631): UserMerge->execute(NULL)
#3 /var/www/wiki/htdocs/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
#4 /var/www/wiki/htdocs/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext)
#5 /var/www/wiki/htdocs/includes/Wiki.php(602): MediaWiki->performRequest()
#6 /var/www/wiki/htdocs/includes/Wiki.php(467): MediaWiki->main()
#7 /var/www/wiki/htdocs/index.php(49): MediaWiki->run()
#8 {main}

What you can advise me?

Nemo bis (talkcontribs)

You can't use extensions from master with the latest stable, in general. Download the extension from the 1.22 branch.

Wikinaut (talkcontribs)

@Nemo: yes.

@Ivanov17: personally I suggest to always run the MediaWiki core master together with extension master versions, e.g. "git pull" every 2nd month or so. But this is not a recommendation which is supported by everyone, it is just my personal recommendation. You can learn from the commit log that the change was merged into the extension master here https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FUserMerge/2df1dd70a80a2e2cf7f5daa86dd51b073d647d98 . So if you use the version just before, it should work with your "older" mediaWiki core.

Please, if this solves your problem, then edit the subject of this thread to start with "[SOLVED] ...".

Ciencia Al Poder (talkcontribs)

I personally don't recommend running "master" branch on a production environment, that's why "stable releases" exist.

Reply to "Call to undefined method UserMerge::getPageTitle"