Fix for 43393: use normal MW id convention
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 12 Nov 2008 00:40:24 +0000 (00:40 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 12 Nov 2008 00:40:24 +0000 (00:40 +0000)
id's and classes should start with "mw-" and delimit words with
hyphens.

RELEASE-NOTES
includes/templates/Userlogin.php

index ffb1982..662faf3 100644 (file)
@@ -202,7 +202,8 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 15835) Added Content-Style-Type meta tag
 * Add class="disambiguationpage" to <body> tag for disambiguations
 * (bug 11027)  Add parameter to MW:Randompage-nopages so that user can see the namespace.
-* Add id="userDomainSection" to <tr> tag in Userlogin.php template so that admins with a single domain can hide the domain section using CSS
+* Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
+  admins with a single domain can hide the domain section using CSS
 
 === Bug fixes in 1.14 ===
 
index ba8b017..c4a60b6 100644 (file)
@@ -54,7 +54,7 @@ class UserloginTemplate extends QuickTemplate {
                        $doms .= "<option>" . htmlspecialchars( $dom ) . "</option>";
                }
        ?>
-               <tr id="userDomainSection">
+               <tr id="mw-user-domain-section">
                        <td class="mw-label"><?php $this->msg( 'yourdomainname' ) ?></td>
                        <td class="mw-input">
                                <select name="wpDomain" value="<?php $this->text( 'domain' ) ?>"