}
$text = $this->replaceExternalLinks( $text );
- $text = $this->replaceInternalLinks ( $text );
+ $text = $this->doTokenizedParser ( $text );
$text = $this->doTableStuff ( $text ) ;
$text = $this->formatHeadings( $text );
return $s;
}
- /* private */ function replaceInternalLinks( $str )
+ /* private */ function doTokenizedParser( $str )
{
global $wgLang; # for language specific parser hook
{
global $wgLang, $wgLinkCache;
global $wgNamespacesWithSubpages, $wgLanguageCode;
- static $fname = "Parser::replaceInternalLinks" ;
+ static $fname = "Parser::handleInternalLink" ;
wfProfileIn( $fname );
wfProfileIn( "$fname-setup" );
$text = $this->removeHTMLtags( $text );
}
$wgLinkCache->suspend();
- $text = $this->replaceInternalLinks( $text );
+ $text = $this->doTokenizedParser( $text );
$wgLinkCache->resume();
$wgLinkCache->addLinkObj( $title );