(bug 5150 and related) Fix missing ID attribute in HTML namespace selector
authorRob Church <robchurch@users.mediawiki.org>
Fri, 3 Mar 2006 07:27:38 +0000 (07:27 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Fri, 3 Mar 2006 07:27:38 +0000 (07:27 +0000)
RELEASE-NOTES
includes/GlobalFunctions.php

index 662abd8..8c2c531 100644 (file)
@@ -674,7 +674,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * (bug 4273) Bounce back with a message when attempting to submit a new comment 
   with an empty main textbox (user probably hit Enter in subject field)
 * (bug 5141) Gracefully handle the new account link when createaccount off
-
+* (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
 
 === Caveats ===
 
index 0850cb9..215212e 100644 (file)
@@ -1525,7 +1525,7 @@ function &HTMLnamespaceselector($selected = '', $allnamespaces = null) {
                        $selected = intval( $selected );
                }
        }
-       $s = "<select name='namespace' class='namespaceselector'>\n\t";
+       $s = "<select id='namespace' name='namespace' class='namespaceselector'>\n\t";
        $arr = $wgContLang->getFormattedNamespaces();
        if( !is_null($allnamespaces) ) {
                $arr = array($allnamespaces => wfMsgHtml('namespacesall')) + $arr;