r10668 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10667‎ | r10668 | r10669 >
Date:15:46, 20 August 2005
Author:timstarling
Status:old
Tags:
Comment:
removed unused function
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -1462,14 +1462,6 @@
14631463 }
14641464
14651465 /**
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 - /**
14741466 * Make a link placeholder. The text returned can be later resolved to a real link with
14751467 * replaceLinkHolders(). This is done for two reasons: firstly to avoid further
14761468 * parsing of interwiki links, and secondly to allow all extistence checks and

Status & tagging log