prefix two input IDs on Special:Log with 'mw-log-' to avoid too generic IDs
authorJack Phoenix <ashley@users.mediawiki.org>
Sun, 22 Mar 2009 16:36:37 +0000 (16:36 +0000)
committerJack Phoenix <ashley@users.mediawiki.org>
Sun, 22 Mar 2009 16:36:37 +0000 (16:36 +0000)
RELEASE-NOTES
includes/LogEventsList.php

index 3fa1f9b..4bda39e 100644 (file)
@@ -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.
index ec091a6..8000d31 100644 (file)
@@ -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 );
        }
 
        /**