Jump to content

MediaWiki talk:Movepage-moved

Page contents not supported in other languages.
Add topic
From Wikisource
Latest comment: 17 years ago by Zhaladshar in topic Bug?
This interface message is documented at mw:Manual:Interface/Movepage-moved.

Broken code

[edit]

Is it possible that we could revert to:

Page "[[$1]]" moved to "[[$2]]".

Or even:

Page "[[$1]]" moved to "[[$2]]". Please check to make sure that there are no [[w:Wikipedia:Double redirects|double redirects]] [[Special:Whatlinkshere/$1|here]].

As the current use of {{fullurl}} does not work with the $1 markers. Xenophon (talk,tasks,owner) 11:17, 10 June 2006 (UTC)Reply

I've reverted; the current code was implemented when the developers briefly fixed {{fullurl}} usage. I've expanded the code above to mention {{dated soft redirect}} usage. // [admin] Pathoschild (talk/map) 13:55, 10 June 2006 (UTC)Reply
I know that the delete link that used to be on did not work when you clicked it. Is there a reason why it doesn't work (will it ever be workable in the near future)? If there is, for some page moves (like moving a page to an erroneous title and then having to move it again immediately), such a feature might be nice to have. Of course, we don't have to have it unless it works.—[Zhaladshar (Talk) 17:16, 10 June 2006 (UTC)Reply
I've re-implemented the delete link by using the full url, although the code is somewhat messy. Apparently, the message cannot pass the variable to any template or pseudotemplate, which is rather odd. // [admin] Pathoschild (talk/map) 03:51, 11 June 2006 (UTC)Reply
I also added whatlinkshere, delete, and revert links to $2, although it's starting to look a little crowded. These links wouldn't usually be used, but there are cases where they'd save time. Do these seem useful to anyone else, or should we remove them and save the clutter? // [admin] Pathoschild (talk/map) 03:56, 11 June 2006 (UTC)Reply
I don't see a need for the delete and "what links here" on the second one, but I imagine that the revert might be useful. It saves the trouble if you make a mistake in the title of the move... Jude (talk,contribs,email) 04:09, 11 June 2006 (UTC)Reply
Unfortunately, none of these work when the page title has spaces in it. The URL fails to recognise these as actually part of the URL, and enclosing them in {{urlencode:$1}}, etc. I've reverted my test edits for the time being. I'm quite sure a bug has been filed over this, but I believe that it has something to do with the order that elements on the page are parsed.
Perhaps new special page, such as Special:Delete, which would allow you to create links like Special:Delete/$1, and Special:Noredirect/$1, would work. I'm not certain whether this would be more difficult, or less difficult than fixing the magic words and $1 tokens. Jude (talk,contribs,email) 05:08, 11 June 2006 (UTC)Reply
Page titles with spaces don't exist; it'd be quite inconvenient if they did. // [admin] Pathoschild (talk/map) 05:48, 11 June 2006 (UTC)Reply

For some odd reason, the links on FireFox aren't working the way they should. They are not just displaying everything after the space in the links in "[ ]" but everything in the URL.—Zhaladshar (Talk) 13:28, 11 June 2006 (UTC)Reply

That's because of the spaces in the title, which are incompatible with the full url workaround I used above. I just finished another workaround that (so far) seems to work in all cases. It uses the new workaround templates {{MediaWiki delete link 1}}, {{MediaWiki delete link 2}}, and {{MediaWiki revert link}}. Incidentally, it seems that <noinclude>d code is included when the template is used in a MediaWiki message. Gah. // [admin] Pathoschild (talk/map) 16:09, 11 June 2006 (UTC)Reply

Bug?

[edit]

Over the past couple days, this message has been screwed up. Initially, there was a problem with passing the name of the moved page (what should be in the "$1" variable). This meant that it was impossible to click on the link to go to the moved title (which had just become a redirect) or delete it. In fact, all I could do was click on the "What links here" link.

But then, the message changed entirely to Page "<MOVED PAGE>" has been moved to "<NEW PAGE NAME>." However, nothing has changed with this message page, so I don't know why things are glitching up for me. Any ideas? Anyone else having this problem?—Zhaladshar (Talk) 15:18, 1 July 2007 (UTC)Reply

According to bug 10401 ("Pagemovedtext problem (again?)"), this message was deprecated in favour of MediaWiki:movepage-moved. I'll adapt the text and move the talk page. —{admin} Pathoschild 16:32:15, 01 July 2007 (UTC)