r97761 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97760‎ | r97761 | r97762 >
Date:19:59, 21 September 2011
Author:reedy
Status:ok
Tags:
Comment:
REL1_18 Merge r97759, r97760
Modified paths:
  • /branches/REL1_18/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/includes/SkinTemplate.php
@@ -157,6 +157,8 @@
158158
159159 wfProfileIn( __METHOD__ . '-stuff' );
160160 $this->thispage = $this->getTitle()->getPrefixedDBkey();
 161+ $this->userpage = $wgUser->getUserPage()->getPrefixedText();
 162+
161163 $query = array();
162164 if ( !$wgRequest->wasPosted() ) {
163165 $query = $wgRequest->getValues();
@@ -171,6 +173,7 @@
172174 $this->username = $wgUser->getName();
173175
174176 if ( $wgUser->isLoggedIn() || $this->showIPinHeader() ) {
 177+
175178 $this->userpageUrlDetails = self::makeUrlDetails( $this->userpage );
176179 } else {
177180 # This won't be used in the standard skins, but we define it to preserve the interface

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97759Bug 31064 - Link to user page on successful login points to IP addressreedy19:54, 21 September 2011
r97760Remove debugging statement from r97759reedy19:55, 21 September 2011

Status & tagging log