Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -93,11 +93,6 @@ |
94 | 94 | public $mLimitsShown; |
95 | 95 | |
96 | 96 | /** |
97 | | - * @var Skin |
98 | | - */ |
99 | | - protected $mSkin; |
100 | | - |
101 | | - /** |
102 | 97 | * @var Language |
103 | 98 | */ |
104 | 99 | public $lang; |
— | — | @@ -138,7 +133,6 @@ |
139 | 134 | $this->displayPrefix = false; |
140 | 135 | $this->prefix = false; |
141 | 136 | } |
142 | | - $this->getSkin(); |
143 | 137 | |
144 | 138 | // The suffix that may be needed for message names if we're in a |
145 | 139 | // different language (eg [[MediaWiki:Foo/fr]]: $suffix = '/fr' |
— | — | @@ -351,9 +345,9 @@ |
352 | 346 | $talk = Title::makeTitle( NS_MEDIAWIKI_TALK, $value . $this->suffix ); |
353 | 347 | |
354 | 348 | if( $this->mCurrentRow->am_customised ){ |
355 | | - $title = $this->mSkin->linkKnown( $title, $wgLang->lcfirst( $value ) ); |
| 349 | + $title = Linker::linkKnown( $title, $wgLang->lcfirst( $value ) ); |
356 | 350 | } else { |
357 | | - $title = $this->mSkin->link( |
| 351 | + $title = Linker::link( |
358 | 352 | $title, |
359 | 353 | $wgLang->lcfirst( $value ), |
360 | 354 | array(), |
— | — | @@ -362,9 +356,9 @@ |
363 | 357 | ); |
364 | 358 | } |
365 | 359 | if ( $this->mCurrentRow->am_talk_exists ) { |
366 | | - $talk = $this->mSkin->linkKnown( $talk , $this->talk ); |
| 360 | + $talk = Linker::linkKnown( $talk , $this->talk ); |
367 | 361 | } else { |
368 | | - $talk = $this->mSkin->link( |
| 362 | + $talk = Linker::link( |
369 | 363 | $talk, |
370 | 364 | $this->talk, |
371 | 365 | array(), |