r105332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105331‎ | r105332 | r105333 >
Date:18:52, 6 December 2011
Author:preilly
Status:ok
Tags:
Comment:
fix white space
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -1216,7 +1216,7 @@
12171217 if ( self::$title->isSpecial( 'Userlogin' ) && self::$isBetaGroupMember ) {
12181218 $userlogin = $this->doc->getElementById( 'userloginForm' );
12191219
1220 - if ( $userlogin && get_class($userlogin) === 'DOMElement' ) {
 1220+ if ( $userlogin && get_class( $userlogin ) === 'DOMElement' ) {
12211221 $firstHeading = $this->doc->getElementById( 'firstHeading' );
12221222 if ( !empty( $firstHeading ) ) {
12231223 $firstHeading->nodeValue = '';
@@ -1307,7 +1307,7 @@
13081308 }
13091309
13101310 if ( self::$title->isSpecial( 'Userlogin' ) && self::$isBetaGroupMember ) {
1311 - if ( $userlogin && get_class($userlogin) === 'DOMElement' ) {
 1311+ if ( $userlogin && get_class( $userlogin ) === 'DOMElement' ) {
13121312 $login = $this->renderLogin();
13131313 $loginNode = $this->doc->importNode( $login, true );
13141314 $userlogin->appendChild( $loginNode );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104518remove unnecessary dom parsingpreilly00:21, 29 November 2011

Status & tagging log