r96533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96532‎ | r96533 | r96534 >
Date:00:44, 8 September 2011
Author:preilly
Status:old
Tags:
Comment:
mft r96531
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -65,7 +65,7 @@
6666 );
6767
6868 class ExtMobileFrontend {
69 - const VERSION = '0.5.60';
 69+ const VERSION = '0.5.61';
7070
7171 /**
7272 * @var DOMDocument
@@ -770,8 +770,11 @@
771771 if ( !in_array( $id, $commonAttributes ) ) {
772772 $elementTitle = $element->hasAttribute( 'title' ) ? $element->getAttribute( 'title' ) : '';
773773 $h2UnknownMobileSection = $this->mainPage->createElement( 'h2', $elementTitle );
 774+ $br = $this->mainPage->createElement( 'br' );
 775+ $br->setAttribute( 'CLEAR', 'ALL' );
774776 $content->appendChild( $h2UnknownMobileSection );
775777 $content->appendChild( $element );
 778+ $content->appendChild( $br );
776779 }
777780 }
778781 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96531fix custom mobile main page sections that have styles that float imagespreilly00:44, 8 September 2011

Status & tagging log