* Fixed a bug in Special:Contributions that caused the namespace selection to
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 21 Jun 2005 00:12:32 +0000 (00:12 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 21 Jun 2005 00:12:32 +0000 (00:12 +0000)
  be forgotten between submits

RELEASE-NOTES
includes/SpecialContributions.php

index eee7dc0..36c3e13 100644 (file)
@@ -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 ===
 
index 430d889..e4e4840 100644 (file)
@@ -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 .= "<option value='$ns'$sel>$n</option>";
        }
        $namespaceselect .= '</select>';