MediaWiki talk:Movepage-moved

From Wikipedia, the free encyclopedia

This interface message is documented on its manual page.
The page forms part of the MediaWiki interface, and can only be edited by administrators. To request a change to the page, add {{editprotected}} to this page, followed by a description of your request.


Contents

[edit] Bugs

Some of the message parameters here (previously on MediaWiki:Pagemovedtext) still seem very broken (as of this posting). $1 and $2 work fine as full links to the previous (with &redirect=no) and current page. But $3 and $4, which return the plain text of the page names, don't work in most link wikicode (fullurl, localurl, or even [[bracket]] links). For example:

*[[$3]]
  produces:
<a href="/w/index.php?title=%243&action=edit" class="new" title="Title of page">Title of page</a>

However, it works with the full URL, such as:

[http://test.wikipedia.org/wiki/Special:Whatlinkshere/$4 check]
  produces:
<a href="http://en.wikipedia.org/wiki/Special:Whatlinkshere/Title of Page" class="external text" title="http://en.wikipedia.org/wiki/Special:Whatlinkshere/Title of Page" rel="nofollow">check</a>

Anyway, a mostly working (except on the secure server, obviously) iteration of this can be seen at test.wp/MediaWiki:Movepage-moved --Splarka (rant) 07:41, 1 July 2007 (UTC)

Fixed for now using external link syntax. —{admin} Pathoschild 16:44:01, 02 July 2007 (UTC)
Heh, a clever work-around. I think you forgot the closing </div> though? Also, this should be fixed in the next scap? rev:23604. Also: {{fullurl:Special:Whatlinkshere|target=$3}} seems to work (example) --Splarka (rant) 01:13, 3 July 2007 (UTC)
Thanks. I closed the tag, and will keep an eye on the current revision (1.13alpha (r36185)) before updating the messages and documentation. —{admin} Pathoschild 03:50:30, 03 July 2007 (UTC)
  • I just got a pretty weird move message when moving a page with multiple words in its title. I think there is something wrong with the tokenization? — brighterorange (talk) 03:08, 11 July 2007 (UTC)
Ahh Yes, the revert link is screwed up. --Splarka (rant) 07:10, 11 July 2007 (UTC)
Okay, it looks like rev:23604 fixed the wikilink problem, but $3 and $4 still cannot be used in external links or parserfunctions, making the revert link unfixable. PathosChild: maybe grab this version (minus the tests) for enwp (uses wikilinks, has the broken revert link commented out)? --Splarka (rant) 10:46, 11 July 2007 (UTC)
I switched the links to wikiML, fixed the delete link by adding a hidden <span id="specialDeleteTarget" style="display:none;">$3</span> at the end of the message for the JavaScript (which should be updated to use $1 again), and fixed the revert link with the {{MediaWiki revert move link}} workaround template. —{admin} Pathoschild 17:06:49, 11 July 2007 (UTC)

[edit] Closing tag and apostrophes

{{editprotected}}

Please add 3 closing apostrophes after "the following text:", and remove the extra closing div tag (</div>). Thanks! Korg (talk) 00:10, 19 July 2007 (UTC)

done. — Carl (CBM · talk) 01:44, 19 July 2007 (UTC)

[edit] Spelling

{{editprotected}} "Double-redirect" isn't written with a hyphen. Melsaran (formerly Salaskаn) 22:02, 2 August 2007 (UTC)

Done. Cheers. --MZMcBride 22:04, 2 August 2007 (UTC)

[edit] "check" link giving literal $4

In my recent moves (yesterday and today), this page has yield a "please check" link that shows me what links to $4, not what links to the page I moved. Firefox 2.0.0.11 under Windows XP, but nothing seems to have changed since it was last working. I can't figure out where the parameters are coming from, though. -- JHunterJ (talk) 13:02, 26 January 2008 (UTC)

It's the new parser — we switched to it on Friday. No idea how to fix it, though. —Ilmari Karonen (talk) 10:45, 27 January 2008 (UTC)
I've fixed the Special:Whatlinkshere links simply by reverting them to ordinary wikilinks with no kluges. The revert link seems to be broken beyond repair though: it seems interface parameters ($1, $2, etc.) just won't work inside {{urlencode:}} anymore. I've commented out the revert link and have filed a bug report on meta. —Ilmari Karonen (talk) 11:20, 27 January 2008 (UTC)

[edit] Convenience links

I was fixing the same system message in another projects, then looked here and was surprised that this one doesn't have some useful links:

  • «Special:Log/move»
  • «If you moved the page by mistake, you can undo it»
    [{{fullurl:Special:Movepage|wpOldTitle={{urlencode:$4}}&wpNewTitle={{urlencode:$3}}&wpReason=undo&wpMovetalk=1}} undo].
  • «If you do not need the old name (it was an implausible typo), you can mark it for deletion»
    [{{SERVER}}{{SCRIPTPATH}}/index.php?title={{urlencode:$3}}&action=edit&editintro=template:db-redirtypo2&preview=no mark it]
    This requires template:db-redirtypo2 (or any other page as editintro) that contains something like this: "Add this to the text below: <charinsert>{{db-redirtypo}}</charinsert>, click Save, and this redirect will soon be deleted by administrators."
  • «... or delete it if you are administrator»
    [{{SERVER}}{{SCRIPTPATH}}/index.php?title={{urlencode:$3}}&action=delete&wpReason={{urlencode:[[WP:CSD#R3|R3]]: implausible typo}} delete]

AlexSm 07:37, 8 March 2008 (UTC)

Done. Cheers. --MZMcBride (talk) 20:30, 10 March 2008 (UTC)

[edit] Double redirect check

I think it would be better if the check link went to http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/%243&hidetrans=1&hidelinks=1 . If you're looking for double redirects, you only need to show redirects. Superm401 - Talk 01:48, 30 April 2008 (UTC)