From e7d21fa8cc48d0b6e39b5a110d6d86ad85dfe861 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 21 Jun 2005 00:12:32 +0000 Subject: [PATCH] * Fixed a bug in Special:Contributions that caused the namespace selection to be forgotten between submits --- RELEASE-NOTES | 3 ++- includes/SpecialContributions.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 .= ''; -- 2.20.1