From: Ævar Arnfjörð Bjarmason Date: Fri, 15 Apr 2005 18:37:39 +0000 (+0000) Subject: * Documentation and minor cleanup. X-Git-Tag: 1.5.0alpha1~261 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=aff24685096c7604e0673c2d9c8cfa3e3caf8a80;p=lhc%2Fweb%2Fwiklou.git * Documentation and minor cleanup. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4ac2c93c5c..32896a9b18 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -280,6 +280,8 @@ class OutputPage { /** * @param $article * @param $user + * + * @return bool */ function tryParserCache( $article, $user ) { global $wgParserCache; @@ -737,7 +739,7 @@ class OutputPage { global $wgUser, $wgContLang, $wgRequest; if( $wgMimeType == 'text/xml' || $wgMimeType == 'application/xhtml+xml' || $wgMimeType == 'application/xml' ) { - $ret = "<" . "?xml version=\"1.0\" encoding=\"$wgOutputEncoding\" ?" . ">\n"; + $ret = "\n"; } else { $ret = ''; } @@ -820,9 +822,8 @@ class OutputPage { function transformBuffer( $options = 0 ) { } - } -} +} // MediaWiki ?>