Index: trunk/phase3/includes/Skin.php |
— | — | @@ -252,6 +252,14 @@ |
253 | 253 | return $this->getContext()->getTitle(); |
254 | 254 | } |
255 | 255 | |
| 256 | + /** Get the user |
| 257 | + * |
| 258 | + * @return User |
| 259 | + */ |
| 260 | + public function getUser() { |
| 261 | + return $this->getContext()->getUser(); |
| 262 | + } |
| 263 | + |
256 | 264 | /** |
257 | 265 | * Set the "relevant" title |
258 | 266 | * @see self::getRelevantTitle() |
— | — | @@ -1363,7 +1371,7 @@ |
1364 | 1372 | $ntl = ''; |
1365 | 1373 | |
1366 | 1374 | if ( count( $newtalks ) == 1 && $newtalks[0]['wiki'] === wfWikiID() ) { |
1367 | | - $userTitle = $this->mUser->getUserPage(); |
| 1375 | + $userTitle = $this->getUser()->getUserPage(); |
1368 | 1376 | $userTalkTitle = $userTitle->getTalkPage(); |
1369 | 1377 | |
1370 | 1378 | if ( !$userTalkTitle->equals( $out->getTitle() ) ) { |