/**
* @param $article
* @param $user
+ *
+ * @return bool
*/
function tryParserCache( $article, $user ) {
global $wgParserCache;
global $wgUser, $wgContLang, $wgRequest;
if( $wgMimeType == 'text/xml' || $wgMimeType == 'application/xhtml+xml' || $wgMimeType == 'application/xml' ) {
- $ret = "<" . "?xml version=\"1.0\" encoding=\"$wgOutputEncoding\" ?" . ">\n";
+ $ret = "<?xml version=\"1.0\" encoding=\"$wgOutputEncoding\" ?>\n";
} else {
$ret = '';
}
function transformBuffer( $options = 0 ) {
}
-
}
-}
+} // MediaWiki
?>