Index: branches/wmf/1.18wmf1/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 |
— | — | @@ -641,6 +644,7 @@ |
642 | 645 | ), |
643 | 646 | 'active' => false |
644 | 647 | ); |
| 648 | +//var_dump( $personal_urls ); die(); |
645 | 649 | } else { |
646 | 650 | global $wgUser; |
647 | 651 | $useCombinedLoginLink = $this->useCombinedLoginLink(); |