From 0b01bd4f57056c4e0fb98de264f3e9cc7fb64411 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 30 Jan 2008 05:36:09 +0000 Subject: [PATCH] fix html regression: missing id attribute on wpReason input box on deletion forms --- includes/Article.php | 2 +- includes/FileDeleteForm.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 7bf0533f0e..753e7dfefe 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2110,7 +2110,7 @@ class Article { Xml::label( wfMsg( 'deleteotherreason' ), 'wpReason' ) . " " . - 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' ) ) . " diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 48e1a0e308..3d16931792 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -134,7 +134,7 @@ class FileDeleteForm { Xml::label( wfMsg( 'filedelete-otherreason' ), 'wpReason' ) . " " . - 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' ) ) . " -- 2.20.1