Index: trunk/extensions/Cite/SpecialCite.php |
— | — | @@ -59,17 +59,15 @@ |
60 | 60 | * @return bool |
61 | 61 | */ |
62 | 62 | function wfSpecialCiteToolbox( &$skin ) { |
63 | | - global $wgUser; |
64 | | - |
65 | 63 | if ( isset( $skin->data['nav_urls']['cite'] ) ) { |
66 | 64 | echo Html::rawElement( |
67 | 65 | 'li', |
68 | 66 | array( 'id' => 't-cite' ), |
69 | | - $skin->skin->link( |
| 67 | + Linker::link( |
70 | 68 | SpecialPage::getTitleFor( 'Cite' ), |
71 | 69 | wfMsg( 'cite_article_link' ), |
72 | 70 | # Used message keys: 'tooltip-cite-article', 'accesskey-cite-article' |
73 | | - $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'cite-article' ), |
| 71 | + Linker::tooltipAndAccessKeyAttribs( 'cite-article' ), |
74 | 72 | $skin->data['nav_urls']['cite']['args'] |
75 | 73 | ) |
76 | 74 | ); |