* (bug 8044) When redirecting from the canonical name of the special page
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 16 Dec 2006 17:21:15 +0000 (17:21 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 16 Dec 2006 17:21:15 +0000 (17:21 +0000)
  to the localised one, parameters/subpages are omitted

RELEASE-NOTES
includes/SpecialPage.php

index b4171fd..76a1e85 100644 (file)
@@ -322,7 +322,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 8264) Fix JavaScript global vars for XHTML mode
 * Make $wgSiteNotice value wikitext again, for consistency with editable
   MediaWiki:Sitenotice and MediaWiki:Anonnotice.
-
+* (bug 8044) When redirecting from the canonical name of the special page
+  to the localised one, parameters/subpages are omitted
 
 == Languages updated ==
 
index 50fd4da..50a8ae6 100644 (file)
@@ -410,7 +410,7 @@ class SpecialPage
                        $query = $_GET;
                        unset( $query['title'] );
                        $query = wfArrayToCGI( $query );
-                       $title = $page->getTitle();
+                       $title = $page->getTitle( $par );
                        $url = $title->getFullUrl( $query );
                        $wgOut->redirect( $url );
                        wfProfileOut( __METHOD__ );