Index: trunk/phase3/includes/WikiMap.php |
— | — | @@ -65,9 +65,6 @@ |
66 | 66 | * @return String: HTML link or false if the wiki was not found |
67 | 67 | */ |
68 | 68 | public static function makeForeignLink( $wikiID, $page, $text=null ) { |
69 | | - global $wgUser; |
70 | | - $sk = $wgUser->getSkin(); |
71 | | - |
72 | 69 | if ( !$text ) { |
73 | 70 | $text = $page; |
74 | 71 | } |
— | — | @@ -77,7 +74,7 @@ |
78 | 75 | return false; |
79 | 76 | } |
80 | 77 | |
81 | | - return $sk->makeExternalLink( $url, $text ); |
| 78 | + return Linker::makeExternalLink( $url, $text ); |
82 | 79 | } |
83 | 80 | |
84 | 81 | /** |