From: Jack Phoenix Date: Sun, 22 Mar 2009 16:36:37 +0000 (+0000) Subject: prefix two input IDs on Special:Log with 'mw-log-' to avoid too generic IDs X-Git-Tag: 1.31.0-rc.0~42409 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=aad2850effe9ba5ef5d5837f754b8ae9220936d0;p=lhc%2Fweb%2Fwiklou.git prefix two input IDs on Special:Log with 'mw-log-' to avoid too generic IDs --- 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 ); } /**