* (bug 21079) There is no more line wrapping between label and field in Special:Log
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 Oct 2009 08:29:15 +0000 (08:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 Oct 2009 08:29:15 +0000 (08:29 +0000)
RELEASE-NOTES
includes/LogEventsList.php

index 3f78ef0..9b0713c 100644 (file)
@@ -561,6 +561,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 21114) Special:Contributions no longer shows diff links for new revisions
 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
   MediaWiki:Templatesusedsection now support plural
+* (bug 21079) There is no more line wrapping between label and field in Special:Log
 
 == API changes in 1.16 ==
 
index 83c3eb7..fce4e9c 100644 (file)
@@ -220,7 +220,9 @@ class LogEventsList {
         * @return String: Formatted HTML
         */
        private function getUserInput( $user ) {
-               return Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'user', 'mw-log-user', 15, $user );
+               return '<span style="white-space: nowrap">' .
+                       Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'user', 'mw-log-user', 15, $user ) .
+                       '</span>';
        }
 
        /**
@@ -228,7 +230,9 @@ class LogEventsList {
         * @return String: Formatted HTML
         */
        private function getTitleInput( $title ) {
-               return Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'mw-log-page', 20, $title );
+               return '<span style="white-space: nowrap">' .
+                       Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'mw-log-page', 20, $title ) .
+                       '</span>';
        }
 
        /**