From 94c5c43767fa397cd7486f27328323754d06619d Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 28 Mar 2004 10:01:13 +0000 Subject: [PATCH] renamed replaceInternalLinks to doTokenizedParser --- includes/Parser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); -- 2.20.1