fix html regression: missing id attribute on wpReason input box on deletion forms
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jan 2008 05:36:09 +0000 (05:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jan 2008 05:36:09 +0000 (05:36 +0000)
includes/Article.php
includes/FileDeleteForm.php

index 7bf0533..753e7df 100644 (file)
@@ -2110,7 +2110,7 @@ class Article {
                                        Xml::label( wfMsg( 'deleteotherreason' ), 'wpReason' ) .
                                "</td>
                                <td>" .
-                                       Xml::input( 'wpReason', 60, $reason, array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '2' ) ) .
+                                       Xml::input( 'wpReason', 60, $reason, array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '2', 'id' => 'wpReason' ) ) .
                                "</td>
                        </tr>
                        <tr>
index 48e1a0e..3d16931 100644 (file)
@@ -134,7 +134,7 @@ class FileDeleteForm {
                                        Xml::label( wfMsg( 'filedelete-otherreason' ), 'wpReason' ) .
                                "</td>
                                <td>" .
-                                       Xml::input( 'wpReason', 60, $wgRequest->getText( 'wpReason' ), array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '1' ) ) .
+                                       Xml::input( 'wpReason', 60, $wgRequest->getText( 'wpReason' ), array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '1', 'id' => 'wpReason' ) ) .
                                "</td>
                        </tr>
                        <tr>