Index: trunk/phase3/includes/Parser.php |
— | — | @@ -1462,14 +1462,6 @@ |
1463 | 1463 | } |
1464 | 1464 | |
1465 | 1465 | /** |
1466 | | - * Hardens some text possibly containing URLs against mangling by |
1467 | | - * replaceExternalLinks() |
1468 | | - */ |
1469 | | - function hardenURLs( $text ) { |
1470 | | - return str_replace( 'http://', 'http-noparse://', $text ); |
1471 | | - } |
1472 | | - |
1473 | | - /** |
1474 | 1466 | * Make a link placeholder. The text returned can be later resolved to a real link with |
1475 | 1467 | * replaceLinkHolders(). This is done for two reasons: firstly to avoid further |
1476 | 1468 | * parsing of interwiki links, and secondly to allow all extistence checks and |