Index: trunk/phase3/includes/api/ApiFormatBase.php |
— | — | @@ -257,8 +257,6 @@ |
258 | 258 | * @return string |
259 | 259 | */ |
260 | 260 | protected function formatHTML( $text ) { |
261 | | - global $wgUrlProtocols; |
262 | | - |
263 | 261 | // Escape everything first for full coverage |
264 | 262 | $text = htmlspecialchars( $text ); |
265 | 263 | |
— | — | @@ -374,4 +372,4 @@ |
375 | 373 | public function getVersion() { |
376 | 374 | return __CLASS__ . ': $Id$'; |
377 | 375 | } |
378 | | -} |
\ No newline at end of file |
| 376 | +} |