Last modified: 2012-04-12 13:55:44 UTC
Created attachment 8646 [details] See on browsers tab <movepage> This bug existing since version 1.16.0.
Confirmed present on 1.16, and not present on 1.17. Appears to maybe be fixed by r64876 (which was merged into 1.16wmf4, but not the tarball from what I can tell - which would explain why the wikipedians never complained). Both the correct title, and the <movepage> title are being set, and r64876 changed which one overrided which. This is because special:movepage just sets its own pagetitle instead of overriding the getDescription() method.
Okay, I understand. Can it be fixed? Can the file of 1.16wmf4 be used?
(In reply to comment #2) > Okay, I understand. Can it be fixed? Can the file of 1.16wmf4 be used? The easiest work around is to create the page "mediawiki:movepage" on your wiki, with some content. As for fixing it properly, I have no idea if there are even going to be any new releases for the 1.16 series, and if there are, if anything non-security related would even be back-ported.
I can't repro the bug on current 1.16 branch.
I can reproduce on: http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_0/phase3 http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_5/phase3 http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3
(In reply to comment #3) > (In reply to comment #2) > > Okay, I understand. Can it be fixed? Can the file of 1.16wmf4 be used? > > The easiest work around is to create the page "mediawiki:movepage" on your > wiki, with some content. > > As for fixing it properly, I have no idea if there are even going to be any new > releases for the 1.16 series, and if there are, if anything non-security > related would even be back-ported. <strike>I can not use $1. And {{PAGENAME}} can not be work too (it's show MovePage as title). Can I use another variable?</strike>
(In reply to comment #5) > I can reproduce on: > http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_0/phase3 > http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_5/phase3 > http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3 Would that be poductive? Or is there perhaps an alternative, how to insert page name about MediaWiki:Movepage in Special:MovePage?
(In reply to comment #7) > (In reply to comment #5) > > I can reproduce on: > > http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_0/phase3 > > http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_16_5/phase3 > > http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3 > > Would that be poductive? Or is there perhaps an alternative, how to insert page > name about MediaWiki:Movepage in Special:MovePage? Comment 5 was meant in response to Brion's coment (comment 4). In response to comment 7 The work around of just creating "mediawiki:movepage" won't be able to put the title of the page being moved in the title. To do that, you have to do something more complicated (like for example patching OutputPage::setHTMLTitle to be like what it was changed to in r64876)
(In reply to comment #8) > In response to comment 7 > The work around of just creating "mediawiki:movepage" won't be able to put the > title of the page being moved in the title. To do that, you have to do > something more complicated (like for example patching OutputPage::setHTMLTitle > to be like what it was changed to in r64876) A JavaScript should also work. ({{SUBPAGENAME}} doesn't be works too.)