Index: branches/REL1_18/phase3/includes/SkinTemplate.php |
— | — | @@ -157,6 +157,8 @@ |
158 | 158 | |
159 | 159 | wfProfileIn( __METHOD__ . '-stuff' ); |
160 | 160 | $this->thispage = $this->getTitle()->getPrefixedDBkey(); |
| 161 | + $this->userpage = $wgUser->getUserPage()->getPrefixedText(); |
| 162 | + |
161 | 163 | $query = array(); |
162 | 164 | if ( !$wgRequest->wasPosted() ) { |
163 | 165 | $query = $wgRequest->getValues(); |
— | — | @@ -171,6 +173,7 @@ |
172 | 174 | $this->username = $wgUser->getName(); |
173 | 175 | |
174 | 176 | if ( $wgUser->isLoggedIn() || $this->showIPinHeader() ) { |
| 177 | + |
175 | 178 | $this->userpageUrlDetails = self::makeUrlDetails( $this->userpage ); |
176 | 179 | } else { |
177 | 180 | # This won't be used in the standard skins, but we define it to preserve the interface |