From: Ævar Arnfjörð Bjarmason Date: Tue, 21 Jun 2005 00:12:32 +0000 (+0000) Subject: * Fixed a bug in Special:Contributions that caused the namespace selection to X-Git-Tag: 1.5.0beta1~117 X-Git-Url: http://git.cyclocoop.org/wiki/%7B%7Bpath%7D%7Dmw-config/index.php?a=commitdiff_plain;h=e7d21fa8cc48d0b6e39b5a110d6d86ad85dfe861;p=lhc%2Fweb%2Fwiklou.git * Fixed a bug in Special:Contributions that caused the namespace selection to be forgotten between submits --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index eee7dc0e36..36c3e134bf 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -310,7 +310,8 @@ Various bugfixes, small features, and a few experimental things: * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many things for the current parser to handle cleanly * (bug 2467) Added a Turkish language file - +* Fixed a bug in Special:Contributions that caused the namespace selection to + be forgotten between submits === Caveats === diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 430d889a64..e4e4840613 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -226,7 +226,7 @@ function ucNamespaceForm ( $target, $hideminor, $namespace, $invert ) { if( $ns < NS_MAIN ) continue; $n = $ns === NS_MAIN ? wfMsg ( 'blanknamespace' ) : $name; - $sel = $namespace === $ns ? ' selected="selected"' : ''; + $sel = $namespace == $ns ? ' selected="selected"' : ''; $namespaceselect .= ""; } $namespaceselect .= '';