public function hArticleViewEx(&$aex, &$type, &$content) { // FIRST, make sure we are dealing with an XML type ! // This function is called by the ArticleEx::view() function if ($type != 'xml' && $type != 'xsl') { return; } // Set header ContentType global $wgMimeType; $wgMimeType = "text/xml"; $this->hInclude($content); // Process all the MW references left around. XMLclass::processMWreferences($content); }