Last modified: 2012-03-13 15:55:02 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 T36887, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34887 - [Regression] $3 and $4 are not being substituted in {{urlencode:}} in message "movepage-moved"
[Regression] $3 and $4 are not being substituted in {{urlencode:}} in message...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.19
All All
: High major (vote)
: 1.19.0 release
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-02 07:33 UTC by Graham87
Modified: 2012-03-13 15:55 UTC (History)
4 users (show)

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


Attachments

Description Graham87 2012-03-02 07:33:05 UTC
The "revert" link for page moves produces a "no such target page" error message. It has been temporarily disabled on the English Wikipedia for that reason (see the above URL).
Comment 1 Krinkle 2012-03-12 01:37:11 UTC
Note that this link is not part of the software, it is message customization by en.wikipedia in <Movepage-moved>.

Original value: https://translatewiki.net/wiki/MediaWiki:Movepage-moved/en

Custom value (before it was (temporarily) taken out due to a bug): https://en.wikipedia.org/w/index.php?title=MediaWiki:Movepage-moved&action=edit&oldid=431525614

It uses the following wikitext to generate a link:

[{{fullurl:Special:Movepage|wpOldTitle={{urlencode:$4}}&wpNewTitle={{urlencode:$3}}&wpReason=revert&wpMovetalk=1}} revert]

As I've mentioned there [1], I don't think the error message is related to the revert-move link or this syntax in general or the new namespace selector. The following link syntax works fine, use this example for instance:

https://en.wikipedia.org/w/index.php?title=Special:MovePage&wpOldTitle=User:Krinkle/sandbox&wpNewTitle=Template_talk:Some_lovely_new_title&wpReason=revert&wpMovetalk=1

That works fine.


-- Krinkle

[1] https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=481432575#Revert_button_on_move_page_feature_doesn.27t_work
Comment 2 Krinkle 2012-03-12 01:38:31 UTC
Leaning towards closure "WORKSFORME", can't reproduce this error.

Could be that the parameters to that interface message have changed.
Comment 3 Krinkle 2012-03-12 01:48:20 UTC
I've just tested[1] this on en.wikipedia as it worked fine locally. However the bug is still very much there.

The link to revert it has raw urlencoded '$3' and '$4' in it, they are not being replaced as they should.

Rephrasing bug summary to reflect the problem.

-- Krinkle

[1] https://en.wikipedia.org/w/index.php?title=MediaWiki%3AMovepage-moved&diff=481438639&oldid=479665276
Comment 4 Alexandre Emsenhuber [IAlex] 2012-03-13 15:55:02 UTC
Fixed in r113727.

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


Navigation
Links