From 4be8ebf4b9e1b3423528bf44208c550ea837e4f1 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Sun, 16 Dec 2007 14:59:36 +0000 Subject: [PATCH] Added link to the old title in Special:Movepage, change proposed by Agbad@hewiki. --- RELEASE-NOTES | 1 + includes/SpecialMovepage.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ba28b9f187..c7eafae24c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -98,6 +98,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Special:Upload now lists permitted/prohibited file extensions. * Split ambiguous filetype-badtype message into two new messages, filetype-unwanted-type and filetype-banned-type. +* Added link to the old title in Special:Movepage === Bug fixes in 1.12 === diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index ae88a09b19..938cefad7b 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -78,6 +78,8 @@ class MovePageForm { $wgOut->showErrorPage( 'notargettitle', 'notargettext' ); return; } + $sk = $wgUser->getSkin(); + $oldTitleLink = $sk->makeLinkObj( $ot ); $oldTitle = $ot->getPrefixedText(); $encOldTitle = htmlspecialchars( $oldTitle ); @@ -151,7 +153,7 @@ class MovePageForm { - + -- 2.20.1
{$movearticle}{$oldTitle}{$oldTitleLink}