MediaWiki talk:Movepage-moved/MediaWiki talk:Pagemovedtext#Direct link

Admins who would like a delete link on this page can add the following to their personal javascript:

// Begin delete link code

function addDeleteLink() {

var targetSpan = document.getElementById('specialDeleteTarget');

var linkSpan = document.getElementById('specialDeleteLink');

if (targetSpan == null || linkSpan == null) return;

var targetLink = targetSpan.getElementsByTagName("A")[0];

if (targetLink == null) return;

var targetTitle = targetLink.childNodes[0].data;

var deleteHref = "http://en.wikipedia.org/w/index.php?action=delete&title=" + escape(targetTitle);

var deleteSpan = null;

with (easyDom) {

deleteSpan = span({ "class": "plainlinks" }, " (", a({ "href": deleteHref, "class": "external text" }, "delete"), ")");

}

linkSpan.appendChild(deleteSpan);

}

addOnloadHook(addDeleteLink);

document.write('');

// End delete link code

= Ack =

Have re-re-re-reverted this one, as the software changes Brion made that fixed the issue had to be removed because they caused problems elsewhere. I expect we'll all be making changes like crazy as this software soap-opera progresses. :D Essjay (TalkConnect) 03:44, 29 May 2006 (UTC)

New version

I really preferred the old format; it was simple and straightforward. Was there a reason for the change? -- Visviva 12:49, 10 October 2006 (UTC)

: Yes, there was. The paranthetical links greatly simplify common tasks like updating incoming links and deleting page move vandalism. The only really superfluous link is the second 'links', which I've just removed. // [admin] Pathoschild (talk/map) 16:30, 10 October 2006 (UTC)

::I liked the check in bold (pointing at the newly moved page!) but having the delete link is great too. Current version is fine by me. --kingboyk 16:50, 10 October 2006 (UTC)

::: I guess as a non-admin it seems a bit silly to have a link (two links!) pointing to an option I can never exercise. Is there no way to customize the version seen by admins? -- Visviva 01:40, 11 October 2006 (UTC)

You can hide the administrator links by adding the following code to your stylesheet. This is a temporary solution; sometime in the near future I'll draft a proposal to do the opposite in a standardised manner.

/* hide admin content */

.admin_content {

display:none;

}

—[admin] Pathoschild 07:03, 11 October 2006 (UTC)

Bots

Should we add a link to WP:BOTREQ saying to request bot assistence there if there are a huge amount of redirects which need to be fixed? —Mets501 (talk) 18:39, 10 October 2006 (UTC)

:Possibly. Many a time I've fixed a truckload of redirects myself, so if that solution didn't occur to an experienced user as I am it surely will pass others by too? OTOH, it's probably more on target to add the link and some supporting text to Wikipedia:Double redirects. --kingboyk 11:42, 11 October 2006 (UTC)

Borked?

When I move multi-word titled pages the first page link doesn't go to the redirect page, but instead to "word_one+word_two."
brenneman [http://en.wikipedia.org/w/index.php?title=Special:Log&user=Aaron+Brenneman{L}] 03:23, 13 October 2006 (UTC)

: I'm not having that experience... could you give a specific example or set up a test? Snoutwood 06:43, 10 January 2007 (UTC)

$1 and $2 in fullurl: don't work

Currently, this page uses a construct like redirect=no}}, which breaks. See also bug 10399. --Catrope 18:01, 28 June 2007 (UTC)

:I also explained the same problem on bug 10401 and the answer was, this MediaWiki message is going to get depricated and "movepage-moved" is going to replace it. I think I'm going to test it and propose a translation for that message here. Meanwhile, it is a good idea to revert this page to a previous version, which, at least, shows working links rather than $1 and $2 links. I've proposed this on WP:ANB as well. hujiTALK 07:23, 29 June 2007 (UTC)

::Just wanted to notify that the recent change to this message has fixed the problem. The case in WP:ANB is closed for the same reason hujiTALK 09:39, 29 June 2007 (UTC)