Revert trunk@r13993
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 1 May 2006 17:51:10 +0000 (17:51 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 1 May 2006 17:51:10 +0000 (17:51 +0000)
See branches/hashar@14000 for a proper fix for bug #218.

RELEASE-NOTES
includes/Wiki.php

index 490de32..48d60b2 100644 (file)
@@ -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
index e5051b5..be3a8b4 100644 (file)
@@ -225,7 +225,7 @@ class MediaWiki {
                                        if ($rarticle->mTitle->mArticleID) {
                                                $article = $rarticle;
                                                $wgTitle = $target;
-                                               $article->setRedirectedFrom( $target );
+                                               $article->setRedirectedFrom( $title );
                                        } else {
                                                $wgTitle = $title;
                                        }