r106286 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106285‎ | r106286 | r106287 >
Date:00:23, 15 December 2011
Author:preilly
Status:deferred
Tags:mobile 
Comment:
add pt-login case
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -1331,6 +1331,10 @@
13321332 }
13331333
13341334 $ptAnonLogin = $this->doc->getElementById( 'pt-anonlogin' );
 1335+
 1336+ if ( !$ptAnonLogin ) {
 1337+ $ptAnonLogin = $this->doc->getElementById( 'pt-login' );
 1338+ }
13351339
13361340 if ( $ptAnonLogin ) {
13371341 $ptAnonLoginLink = $ptAnonLogin->firstChild;

Follow-up revisions

RevisionCommit summaryAuthorDate
r1062911.18wmf1: MFT r106286 - 106290preilly00:28, 15 December 2011

Status & tagging log