MediaWiki talk:Movepage-moved: Difference between revisions
→Don't rely on bots: leave in a while |
PeterSymonds (talk | contribs) →Don't rely on bots: on hold |
||
Line 72: | Line 72: | ||
: If this is an issue, it shouldn't be hard to write a bot that does this by monitoring the RC feed instead. I can set one up in a few days if there's need for it. —[[User:Ilmari Karonen|Ilmari Karonen]] <small>([[User talk:Ilmari Karonen|talk]])</small> 21:12, 16 June 2008 (UTC) |
: If this is an issue, it shouldn't be hard to write a bot that does this by monitoring the RC feed instead. I can set one up in a few days if there's need for it. —[[User:Ilmari Karonen|Ilmari Karonen]] <small>([[User talk:Ilmari Karonen|talk]])</small> 21:12, 16 June 2008 (UTC) |
||
{{editprotected}} |
{{tlx|editprotected}} |
||
Since the above was posted, the MediaWiki software has been upgraded so that it automatically fixes redirects created by page moves. See [[User:Redirect fixer]]. Therefore, the discussion of double-redirects in this message is no longer necessary. Specifically, please delete the following portion of the text: |
Since the above was posted, the MediaWiki software has been upgraded so that it automatically fixes redirects created by page moves. See [[User:Redirect fixer]]. Therefore, the discussion of double-redirects in this message is no longer necessary. Specifically, please delete the following portion of the text: |
||
: <code><nowiki>Please '''<span class="plainlinks">[{{fullurl:Special:WhatLinksHere/$3|hidelinks=1&hidetrans=1}} check]</span>''' whether this move has created any [[Wikipedia:Double redirects|double redirects]], and fix the most serious ones. For this purpose, you can use the following text:''' |
: <code><nowiki>Please '''<span class="plainlinks">[{{fullurl:Special:WhatLinksHere/$3|hidelinks=1&hidetrans=1}} check]</span>''' whether this move has created any [[Wikipedia:Double redirects|double redirects]], and fix the most serious ones. For this purpose, you can use the following text:''' |
||
Line 82: | Line 82: | ||
--[[User:R'n'B|Russ]] [[User talk:R'n'B|(talk)]] 14:48, 28 July 2008 (UTC) |
--[[User:R'n'B|Russ]] [[User talk:R'n'B|(talk)]] 14:48, 28 July 2008 (UTC) |
||
::I'd want to leave it in for a while, to make sure people do check still and in case people don't know about the new feature (you do have to check the box to make it happen). Cheers. <font color="green">[[User:Lifebaka|''lifebaka'']]</font> <small>([[User talk:Lifebaka|talk]] - [[Special:Contributions/Lifebaka|contribs]])</small> 17:16, 28 July 2008 (UTC) |
::I'd want to leave it in for a while, to make sure people do check still and in case people don't know about the new feature (you do have to check the box to make it happen). Cheers. <font color="green">[[User:Lifebaka|''lifebaka'']]</font> <small>([[User talk:Lifebaka|talk]] - [[Special:Contributions/Lifebaka|contribs]])</small> 17:16, 28 July 2008 (UTC) |
||
:::{{onhold}} for a week or so. This is still a recent addition. [[User:PeterSymonds|PeterSymonds]] [[User talk:PeterSymonds|<small>(talk)</small>]] 22:26, 28 July 2008 (UTC) |
Revision as of 22:26, 28 July 2008
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 --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.44.0-wmf.8 (f08e6b3)) 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 (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)
- I switched the links to wikiML, fixed the delete link by adding a hidden
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)
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)
"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)
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)
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)
Don't rely on bots
I suggest removing the text that says that a bot will fix double-redirects, and instead revise the message to urge strongly that the user who moves a page fix all double-redirects. The code that generates Special:DoubleRedirects runs only once every 3 days (usually) on this wiki, and is limited to reporting 1,000 redirects at a time. Wikipedia has gotten so large that this often isn't enough, and many double-redirects don't make it onto the list of 1,000 and therefore don't get fixed. Encouraging users to "let a bot do it" just makes the problem worse. --Russ (talk) 12:24, 16 June 2008 (UTC)
- If this is an issue, it shouldn't be hard to write a bot that does this by monitoring the RC feed instead. I can set one up in a few days if there's need for it. —Ilmari Karonen (talk) 21:12, 16 June 2008 (UTC)
{{editprotected}}
Since the above was posted, the MediaWiki software has been upgraded so that it automatically fixes redirects created by page moves. See User:Redirect fixer. Therefore, the discussion of double-redirects in this message is no longer necessary. Specifically, please delete the following portion of the text:
Please '''<span class="plainlinks">[{{fullurl:Special:WhatLinksHere/$3|hidelinks=1&hidetrans=1}} check]</span>''' whether this move has created any [[Wikipedia:Double redirects|double redirects]], and fix the most serious ones. For this purpose, you can use the following text:''' <center><span style="font-family:monospace"><nowiki>#REDIRECT [[$4]]</nowiki></span></center> A [[Wikipedia:Bots|bot]] will fix the rest within a few days.
--Russ (talk) 14:48, 28 July 2008 (UTC)
- I'd want to leave it in for a while, to make sure people do check still and in case people don't know about the new feature (you do have to check the box to make it happen). Cheers. lifebaka (talk - contribs) 17:16, 28 July 2008 (UTC)
- On hold for a week or so. This is still a recent addition. PeterSymonds (talk) 22:26, 28 July 2008 (UTC)