}
}
- # Do not enter included links in link table
- if ( !is_null( $title ) ) {
- $wgLinkCache->suspend();
- }
-
# Add a new element to the templace recursion path
$this->mTemplatePath[$part1] = 1;
# Resume the link cache and register the inclusion as a link
if ( !is_null( $title ) ) {
- $wgLinkCache->resume();
$wgLinkCache->addLinkObj( $title );
}
}
$inputArgs = end( $this->mArgStack );
if ( array_key_exists( $arg, $inputArgs ) ) {
- $text = $this->strip( $inputArgs[$arg], $this->mStripState );
- $text = $this->removeHTMLtags( $text );
- $text = $this->replaceVariables( $text, array() );
+ $text = $inputArgs[$arg];
}
return $text;