Adding an id to the domain tr so that admins with a single domain can hide the domain...
authorRyan Lane <laner@users.mediawiki.org>
Tue, 11 Nov 2008 18:04:22 +0000 (18:04 +0000)
committerRyan Lane <laner@users.mediawiki.org>
Tue, 11 Nov 2008 18:04:22 +0000 (18:04 +0000)
RELEASE-NOTES
includes/templates/Userlogin.php

index 028c3ec..ffb1982 100644 (file)
@@ -202,6 +202,7 @@ 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
 
 === Bug fixes in 1.14 ===
 
index 5bf1e10..ba8b017 100644 (file)
@@ -54,7 +54,7 @@ class UserloginTemplate extends QuickTemplate {
                        $doms .= "<option>" . htmlspecialchars( $dom ) . "</option>";
                }
        ?>
-               <tr>
+               <tr id="userDomainSection">
                        <td class="mw-label"><?php $this->msg( 'yourdomainname' ) ?></td>
                        <td class="mw-input">
                                <select name="wpDomain" value="<?php $this->text( 'domain' ) ?>"