Page MenuHomePhabricator

MWException in Special:Interwiki since 1.22.3: Call to undefined method SpecialInterwiki::getPageTitle
Closed, ResolvedPublic

Description

Author: bluemel

Description:
Since the update to 1.22.3, I get an ''Fatal exception of type MWException'' when I access Special:Interwiki


Version: REL1_22-branch
Severity: normal

Details

Reference
bz62062

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:04 AM
bzimport set Reference to bz62062.

bluemel wrote:

/index.php/Spezial:Interwikitabelle Exception from line 376 of …/includes/SpecialPage.php: Call to undefined method SpecialInterwiki::getPageTitle

Backtrace:

#0 /htdocs/modeemwiki/pub/extensions/Interwiki/Interwiki_body.php(39): SpecialPage->__call(string, array)
#1 /htdocs/modeemwiki/pub/extensions/Interwiki/Interwiki_body.php(39): SpecialInterwiki->getPageTitle()
#2 /htdocs/modeemwiki/pub/includes/SpecialPage.php(631): SpecialInterwiki->execute(NULL)
#3 /htdocs/modeemwiki/pub/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
#4 /htdocs/modeemwiki/pub/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext)
#5 /htdocs/modeemwiki/pub/includes/Wiki.php(602): MediaWiki->performRequest()
#6 /htdocs/modeemwiki/pub/includes/Wiki.php(467): MediaWiki->main()
#7 /htdocs/modeemwiki/pub/index.php(49): MediaWiki->run()
#8 {main}

bluemel wrote:

I’m not very familiar with git, but in branch REL1_22 everything is fine (Version 2.2 20120425) while the extension breaks in master (also Version 2.2 20120425).

I don’t know which Version (ok, it’s also 2.2 20120425) is delivered with the Package from http://releases.wikimedia.org/mediawiki/1.22/mediawiki-1.22.3.tar.gz

The commit which breaks things:

https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FInterwiki/3bfec2ffa9b819b91d3362a51e537262aa0441b2

(In reply to Matthias Blümel from comment #2)

The commit which breaks things:
https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FInterwiki/
3bfec2ffa9b819b91d3362a51e537262aa0441b2

Thanks for invetigating! CC'ing legoktm has he created that commit.

The extensions bundled with the 1.22.3 release are the master branch, not REL1_22 which is breaking things since master is not guaranteed to be compatible with 1.22.

If you use the REL1_22 branch it'll work, but the bug here is that the master branches should not have been bundled.

bluemel wrote:

(In reply to Kunal Mehta (Legoktm) from comment #4)
You’re right, but it’s also not master (no COPYING included).

It’s not your fault, but the error would heve been easier to find, if the version-number had changed. ;)

(In reply to Kunal Mehta (Legoktm) from comment #4)

The extensions bundled with the 1.22.3 release are the master branch, not
REL1_22

Blergh. Is there a bug report about that?

(In reply to Andre Klapper from comment #6)

Blergh. Is there a bug report about that?

I filed bug 62101 for it.