From aad2850effe9ba5ef5d5837f754b8ae9220936d0 Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Sun, 22 Mar 2009 16:36:37 +0000 Subject: [PATCH] prefix two input IDs on Special:Log with 'mw-log-' to avoid too generic IDs --- RELEASE-NOTES | 2 ++ includes/LogEventsList.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3fa1f9b794..4bda39ec9a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -145,6 +145,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN enabled. Image width and height are now recognized, and when using ImageMagick, optional flattening to PNG or JPEG for inline display can be enabled by setting $wgTiffThumbnailType +* Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page' and + 'mw-log-user', respectively === Bug fixes in 1.15 === * (bug 16968) Special:Upload no longer throws useless warnings. diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index ec091a670b..8000d31cc9 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -170,7 +170,7 @@ class LogEventsList { * @return String: Formatted HTML */ private function getUserInput( $user ) { - return Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'user', 'user', 15, $user ); + return Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'user', 'mw-log-user', 15, $user ); } /** @@ -178,7 +178,7 @@ class LogEventsList { * @return String: Formatted HTML */ private function getTitleInput( $title ) { - return Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'page', 20, $title ); + return Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'mw-log-page', 20, $title ); } /** -- 2.20.1