From: Niklas Laxström Date: Sat, 16 Dec 2006 17:21:15 +0000 (+0000) Subject: * (bug 8044) When redirecting from the canonical name of the special page X-Git-Tag: 1.31.0-rc.0~54886 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b55777244ca8f8497238b32239f2ecdb94181fc4;p=lhc%2Fweb%2Fwiklou.git * (bug 8044) When redirecting from the canonical name of the special page to the localised one, parameters/subpages are omitted --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b4171fd22d..76a1e85d64 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 50fd4da474..50a8ae64cd 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -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__ );