Last modified: 2012-05-10 18:27:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38724, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36724 - Special:MovePage Call to a non-object on line 59
Special:MovePage Call to a non-object on line 59
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.19.0
All All
: High blocker (vote)
: 1.19.x release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-10 04:59 UTC by zoglun
Modified: 2012-05-10 18:27 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description zoglun 2012-05-10 04:59:39 UTC
When I click movepage on my localtest wiki(win7 Xampp apache). It show:

Fatal error: Call to a member function getNamespace() on a non-object in D:\xampp\htdocs\wiki\includes\specials\SpecialMovepage.php on line 59

Then I tried my main site(Ubuntu nginx):

http://wiki.moegirl.org/index.php?title=Special:%E7%A7%BB%E5%8A%A8%E9%A1%B5%E9%9D%A2

and

http://m.moegirl.org/index.php?title=Special:%E7%A7%BB%E5%8A%A8%E9%A1%B5%E9%9D%A2

It show "Internal server error".

All of then are mediawiki 1.19. I am sure this problem only happened in 1.19.

Who can fix this?
Comment 1 Mark A. Hershberger 2012-05-10 13:09:02 UTC
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fcore.git;a=commit;h=db2179b7 is the last change made to that code.  I'll CC Krinkle and ask him to look at this problem.
Comment 2 Krinkle 2012-05-10 15:54:37 UTC
This bug was fixed shortly after I committed the refactoring in January/February this year:

> 2012-02-28: Tim Starling
> Fix r110209: Move the invalid title check above the...
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=commitdiff;h=85bbebc039212ce4db620afc18ae267457c0f7d4

However it appears 1.19 was branched right in between the refactor and the fix.

See difference:

https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=history;f=includes/specials/SpecialMovepage.php;hb=REL1_19

https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=history;f=includes/specials/SpecialMovepage.php;hb=master

Backporting 85bbebc039212ce4db620afc18ae267457c0f7d4 should fix it.
Comment 3 Sam Reed (reedy) 2012-05-10 18:27:04 UTC
https://gerrit.wikimedia.org/r/7200

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links