tle->mTextform == 'Version') and ($wgTitle->mNamespace == -1))) {
global $wgAuth;
return $wgAuth->ipbwiki->Parse ($text);
}
return true;
}
// IpbWiki_ParserAfterTidy
// Finalises some of the replacements prepared in ParserBeforeStrip
function IpbWiki_ParserAfterTidy (&$parser, &$text) {
global $wgAuth;
$wgAuth->ipbwiki->ParseFinalise ($text);
return true;
}
// IpbWiki_OutputPageBeforeHTML
// we can add custom javascript or css if we want here...
function IpbWiki_OutputPageBeforeHTML (&$parser, &$text) {
global $wgAuth;
$wgAuth->ipbwiki->get_head_scripts();
return true;
}
// IpbWiki_GetLocalURL
// Mainly used to redirect the talk namespace to topics in the forum
function IpbWiki_GetLocalURL (&$title, &$url, $query) {
global $wgAuth;
$url = $wgAuth->ipbwiki->ParseLocalUrl ($title, $url, $query);
return true;
}
// IpbWiki_TitleMoveComplete
// Mainly used to redirect the talk namespace to topics in the forum
function IpbWiki_TitleMoveComplete (&$old, &$nt, &$user, $pageid, $redirid) {
global $wgAuth;
return $wgAuth->ipbwiki->TitleMoveComplete ($old, $nt, $user, $pageid, $redirid);
}
// IpbWiki_BeforeDisplayArticle
// Mainly used to display the rating if it's configured to show
function IpbWiki_BeforeDisplayArticle () {
global $wgAuth;
return $wgAuth->ipbwiki->BeforeDisplayArticle ();
}
// IpbWiki_AfterDisplayArticle
// Mainly used to save the user's current location into the session table
function IpbWiki_AfterDisplayArticle () {
global $wgAuth;
return $wgAuth->ipbwiki->AfterDisplayArticle ();
}
?>