From: Jens Frank Date: Sun, 28 Mar 2004 10:01:13 +0000 (+0000) Subject: renamed replaceInternalLinks to doTokenizedParser X-Git-Tag: 1.3.0beta1~670 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=94c5c43767fa397cd7486f27328323754d06619d;p=lhc%2Fweb%2Fwiklou.git renamed replaceInternalLinks to doTokenizedParser --- diff --git a/includes/Parser.php b/includes/Parser.php index d44ce172ab..7ed044d89d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -428,7 +428,7 @@ class Parser } $text = $this->replaceExternalLinks( $text ); - $text = $this->replaceInternalLinks ( $text ); + $text = $this->doTokenizedParser ( $text ); $text = $this->doTableStuff ( $text ) ; $text = $this->formatHeadings( $text ); @@ -598,7 +598,7 @@ class Parser return $s; } - /* private */ function replaceInternalLinks( $str ) + /* private */ function doTokenizedParser( $str ) { global $wgLang; # for language specific parser hook @@ -753,7 +753,7 @@ class Parser { global $wgLang, $wgLinkCache; global $wgNamespacesWithSubpages, $wgLanguageCode; - static $fname = "Parser::replaceInternalLinks" ; + static $fname = "Parser::handleInternalLink" ; wfProfileIn( $fname ); wfProfileIn( "$fname-setup" ); @@ -1231,7 +1231,7 @@ class Parser $text = $this->removeHTMLtags( $text ); } $wgLinkCache->suspend(); - $text = $this->replaceInternalLinks( $text ); + $text = $this->doTokenizedParser( $text ); $wgLinkCache->resume(); $wgLinkCache->addLinkObj( $title );