r105325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105324‎ | r105325 | r105326 >
Date:18:38, 6 December 2011
Author:preilly
Status:ok
Tags:
Comment:
and type key to array
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -88,7 +88,7 @@
8989 }
9090
9191 class ExtMobileFrontend {
92 - const VERSION = '0.5.92';
 92+ const VERSION = '0.5.93';
9393
9494 /**
9595 * @var DOMDocument
@@ -589,7 +589,7 @@
590590
591591 if ( self::$title->isSpecial( 'Userlogin' ) && self::$isBetaGroupMember ) {
592592 self::$wsLoginToken = $wgRequest->getSessionData( 'wsLoginToken' );
593 - $q = array( 'action' => 'submitlogin' );
 593+ $q = array( 'action' => 'submitlogin', 'type' => 'login' );
594594 $returnToVal = $wgRequest->getVal( 'returnto' );
595595
596596 if ( !empty( $returnToVal ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105324getLocalUrl accepts also an array of parameters and does the escapingpreilly18:36, 6 December 2011

Status & tagging log