r69661 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69660‎ | r69661 | r69662 >
Date:09:54, 21 July 2010
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf4: MFT r64694. Was merged to 1.16wmf3 but somehow didn't make it into 1.16wmf4
Modified paths:
  • /branches/wmf/1.16wmf4/includes/api/ApiLogin.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/api/ApiLogin.php
@@ -89,8 +89,11 @@
9090 break;
9191
9292 case LoginForm::NEED_TOKEN:
 93+ global $wgCookiePrefix;
9394 $result['result'] = 'NeedToken';
9495 $result['token'] = $loginForm->getLoginToken();
 96+ $result['cookieprefix'] = $wgCookiePrefix;
 97+ $result['sessionid'] = session_id();
9598 break;
9699
97100 case LoginForm::WRONG_TOKEN:
Property changes on: branches/wmf/1.16wmf4/includes/api/ApiLogin.php
___________________________________________________________________
Added: svn:mergeinfo
98101 Merged /branches/wmf-deployment/includes/api/ApiLogin.php:r53381,59952,60970
99102 Merged /branches/REL1_15/phase3/includes/api/ApiLogin.php:r51646
100103 Merged /branches/sqlite/includes/api/ApiLogin.php:r58211-58321
101104 Merged /trunk/phase3/includes/api/ApiLogin.php:r63549,63764,63897-63901,64454,64694,66486

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64694Fix for r64677: as reported on mediawiki-api, I forgot about clients that bui...catrope08:50, 7 April 2010

Status & tagging log