From f10a20e33fc56aa6ccf16c888f14f288d6da86a6 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 1 May 2006 17:51:10 +0000 Subject: [PATCH] Revert trunk@r13993 See branches/hashar@14000 for a proper fix for bug #218. --- RELEASE-NOTES | 1 - includes/Wiki.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 490de32afb..48d60b2104 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -176,7 +176,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 5723) Don't count pages linked to from the MediaWiki namespace as "wanted" * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time formatted according to the current user's settings -* (bug 218) Redirects do not support named anchors * (bug 5780) Thousands and decimal separators for Norwegian * Updated initStats maintenance script * (bug 5767) Fix date formats in Vietnamese locale diff --git a/includes/Wiki.php b/includes/Wiki.php index e5051b56fe..be3a8b41c7 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -225,7 +225,7 @@ class MediaWiki { if ($rarticle->mTitle->mArticleID) { $article = $rarticle; $wgTitle = $target; - $article->setRedirectedFrom( $target ); + $article->setRedirectedFrom( $title ); } else { $wgTitle = $title; } -- 2.20.1