Follow-up to r44245, r44250 (comment field on Special:Import)
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 10 Dec 2008 22:31:32 +0000 (22:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 10 Dec 2008 22:31:32 +0000 (22:31 +0000)
Label now clickable for comment field on the transwiki form as well as the upload form; gave them both distinctive IDs.

includes/specials/SpecialImport.php

index c60205c..9c158fe 100644 (file)
@@ -150,10 +150,11 @@ class SpecialImport extends SpecialPage {
                                </tr>
                                <tr>
                                        <td class='mw-label'>" .
-                                               Xml::label( wfMsg( 'import-comment' ), 'log-comment' ) .
+                                               Xml::label( wfMsg( 'import-comment' ), 'mw-import-comment' ) .
                                        "</td>
                                        <td class='mw-input'>" .
-                                               Xml::input( 'log-comment', 50, '', array( 'id' => 'log-comment', 'type' => 'text' ) ) . ' ' .
+                                               Xml::input( 'log-comment', 50, '',
+                                                       array( 'id' => 'mw-import-comment', 'type' => 'text' ) ) . ' ' .
                                        "</td>
                                </tr>
                                <tr>
@@ -216,10 +217,11 @@ class SpecialImport extends SpecialPage {
                                </tr>
                                <tr>
                                        <td class='mw-label'>" .
-                                               Xml::label( wfMsg( 'import-comment' ), 'comment' ) .
+                                               Xml::label( wfMsg( 'import-comment' ), 'mw-interwiki-comment' ) .
                                        "</td>
                                        <td class='mw-input'>" .
-                                               Xml::input( 'log-comment', 50, '', array( 'type' => 'text' ) ) . ' ' .
+                                               Xml::input( 'log-comment', 50, '',
+                                                       array( 'id' => 'mw-interwiki-comment', 'type' => 'text' ) ) . ' ' .
                                        "</td>
                                </tr>
                                <tr>