MediaWiki talk:Pagemovedtext

From RationalWiki
Jump to navigation Jump to search

There is no solution - at least not in this version of MW. The Wikipedia dudes are using the new "movepage-moved" message, and it apparently works.

So I guess until it's mainstream enough to work its way into our version, we'll have to live with the broken stuff. :/ --Sid 23:28, 13 January 2008 (EST)

I would test it out some more [here] it has a more up to date version of mediawiki if I remember correctly. Pinto's5150 Talk 23:31, 13 January 2008 (EST)
Well, while my account got transferred, the entire thing is sysop-only, and I don't got those rights. However, there is a "MediaWiki:Movepage-moved" page there, so I guess it would work properly. wp:MediaWiki:Movepage-moved (and the templates it calls) shows nicely how the old parameters got changed and how the new ones can be used. So if a sysop on the Beta site could test it, that would help. --Sid 00:01, 14 January 2008 (EST)

Just so you guys know what I was "trying" to do - after moving a page, the "stock" version has a "normal" link to "$1" - the old location. Which is now a redirect to the new location. Often, after moving, we want to delete, so the actual old page is a handy link to have. So I tried using "&redirect=no" after $1, but that didn't work as a wikilink. So then I tried the full url, and it worked, but it was ugly (has that funny arrow). Then of course "plainlinks" is to fix that.

However, just recently I noticed that if the page title has more than one word it breaks the url. I only tested it on "one word" articles.

I suggest we have both versions of $1 - a straight wikilink that will redirect (then you click no redirect), and below it, the &noredirect version, in case it happens to work on the filename in question. So I tried it. Guess I'd better test it now. humanUser talk:Human 02:02, 14 January 2008 (EST)

OK, the "new" link works but only on single word titles (too bad it doesn't come in with underscores!). On multi-word titles, you use the plain $1 link and then click on the noredirect link to go delete if you need to. humanUser talk:Human 02:06, 14 January 2008 (EST)
Trust me, I know what you were trying to do, but that's exactly what doesn't work. See the bug report I linked to. There is no clever and elegant way around this, which is why MW was patched/updated with a completely new system message ("movepage-moved") which supports this. This version of the wiki doesn't have it yet, but the beta apparently does. --Sid 10:26, 14 January 2008 (EST)
Yup, I read the bug report. Anyway, my slap'n'patch duct tape and baling wire version retains the "stock" functionality, with a useful link if the article is a one word title. So if we can verify that the beta version does not break the site, we can get this, eh? I don't suppose it could be brought over in a standalone way as a single patch? humanUser talk:Human 10:33, 14 January 2008 (EST)
No idea right now about a patch, but it's actually easy to verify whether it works on the beta wiki. Just grab WP's version (and the two or three templates it calls) and slap them up there. Then move an article. --Sid 10:43, 14 January 2008 (EST)
It works just fine at beta (I just tested it). No need for no stinkin' temporaryplates. humanUser talk:Human 10:55, 14 January 2008 (EST)
Awesome. :) (And the templates on WP do look a bit redundant. I guess the main magic is just in how the $1 parameter behaves, right?) --Sid 16:32, 14 January 2008 (EST)

<- Yes, exactly, The first two templates return links to "what links here" for both article names, which is redundant - I open that in a new tab when I go to delete the redirect. They usually don't delete redirects, since they help the site, so one-click shopping works for them there. humanUser talk:Human 16:43, 14 January 2008 (EST)

what[edit]

It was working for me. Why did you change it.

RTFM dude. It only worked on one word titles. humanUser talk:Human 16:43, 14 January 2008 (EST)