r98238 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98237‎ | r98238 | r98239 >
Date:19:30, 27 September 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r98237
Modified paths:
  • /branches/wmf/1.18wmf1/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/specials/SpecialUserlogin.php
@@ -564,6 +564,10 @@
565565 } else {
566566 $wgAuth->updateUser( $u );
567567 $wgUser = $u;
 568+ // This should set it for OutputPage and the Skin
 569+ // which is needed or the personal links will be
 570+ // wrong.
 571+ RequestContext::getMain()->setUser( $u );
568572
569573 // Please reset throttle for successful logins, thanks!
570574 if ( $throttleCount ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98237(bug 31191) Followup to r90934: do this in the successful login code path too...catrope19:21, 27 September 2011

Status & tagging log