Index: trunk/phase3/includes/Linker.php |
— | — | @@ -774,12 +774,9 @@ |
775 | 775 | * Usage example: $skin->specialLink( 'recentchanges' ) |
776 | 776 | */ |
777 | 777 | function specialLink( $name, $key = '' ) { |
778 | | - global $wgContLang; |
779 | | - |
780 | 778 | if ( $key == '' ) { $key = strtolower( $name ); } |
781 | | - $pn = $wgContLang->ucfirst( $name ); |
782 | | - return $this->makeKnownLink( $wgContLang->specialPage( $pn ), |
783 | | - wfMsg( $key ) ); |
| 779 | + |
| 780 | + return $this->link( SpecialPage::getTitleFor( $name ) , wfMsg( $key ), array(), array(), array( 'known', 'noclasses' ) ); |
784 | 781 | } |
785 | 782 | |
786 | 783 | /** |