From: Alexandre Emsenhuber Date: Sat, 30 Jan 2010 17:40:17 +0000 (+0000) Subject: Per Nikerabbit, follow-up to r61690: document $interface parameter X-Git-Tag: 1.31.0-rc.0~38030 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=5a76aac7359cfa4337734ab2c827b33b22c23622;p=lhc%2Fweb%2Fwiklou.git Per Nikerabbit, follow-up to r61690: document $interface parameter --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 5f8fbd4fbd..0bc1bd702b 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1133,7 +1133,9 @@ class OutputPage { * * @param $text String * @param $linestart Boolean: is this the start of a line? - * @param $interface Boolean: ?? + * @param $interface Boolean: use interface language ($wgLang instead of + * $wgContLang) while parsing language sensitive magic + * words like GRAMMAR and PLURAL * @return String: HTML */ public function parse( $text, $linestart = true, $interface = false ) { @@ -1154,7 +1156,9 @@ class OutputPage { * * @param $text String * @param $linestart Boolean: is this the start of a line? - * @param $interface Boolean: ?? + * @param $interface Boolean: use interface language ($wgLang instead of + * $wgContLang) while parsing language sensitive magic + * words like GRAMMAR and PLURAL * @return String: HTML */ public function parseInline( $text, $linestart = true, $interface = false ) { @@ -1311,7 +1315,7 @@ class OutputPage { /** * bug 21672: Add Accept-Language to Vary and XVO headers - *if there's no 'variant' parameter existed in GET. + * if there's no 'variant' parameter existed in GET. * * For example: * /w/index.php?title=Main_page should always be served; but