Add missing visualClear on search result page
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Tue, 19 Apr 2016 17:24:04 +0000 (19:24 +0200)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Tue, 19 Apr 2016 17:24:04 +0000 (19:24 +0200)
I'm not sure, when this was removed or why it broke, but without
the visualClear (clear:both), the text match section is near the
title match section, instead of after it.

Bug: T133071
Change-Id: I68028a8658ba0aa526ce1a6ef6401f9fd79533f8

includes/specials/SpecialSearch.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 45ef679..2bf8385
@@ -376,6 +376,7 @@ class SpecialSearch extends SpecialPage {
                if ( $textMatches && !$textStatus ) {
                        // output appropriate heading
                        if ( $numTextMatches > 0 && $numTitleMatches > 0 ) {
+                               $out->addHTML( '<div class="visualClear"></div>' );
                                // if no title matches the heading is redundant
                                $out->wrapWikiMsg( "==$1==\n", 'textmatches' );
                        }