From b55777244ca8f8497238b32239f2ecdb94181fc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 16 Dec 2006 17:21:15 +0000 Subject: [PATCH] * (bug 8044) When redirecting from the canonical name of the special page to the localised one, parameters/subpages are omitted --- RELEASE-NOTES | 3 ++- includes/SpecialPage.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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__ ); -- 2.20.1