From: Alexandre Emsenhuber Date: Tue, 1 Jun 2010 15:19:19 +0000 (+0000) Subject: * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if the... X-Git-Tag: 1.31.0-rc.0~36648 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=5f1f15c357b71d20eb8cfabf1357a240b67660d4;p=lhc%2Fweb%2Fwiklou.git * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if the $noRedir parameter is set to true --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 872486d3c1..c69682da14 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -181,6 +181,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 22967) Make edit summary length cut-off behave correctly for multibyte characters. * (bug 8689) Long numeric lines no longer kill the parser. +* (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if + the $noRedir parameter is set to true === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/includes/Article.php b/includes/Article.php index 778c051b35..56d87c2d8e 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2361,7 +2361,7 @@ class Article { if ( $noRedir ) { $query = 'redirect=no'; if ( $extraQuery ) - $query .= "&$query"; + $query .= "&$extraQuery"; } else { $query = $extraQuery; }