From 5a76aac7359cfa4337734ab2c827b33b22c23622 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 30 Jan 2010 17:40:17 +0000 Subject: [PATCH] Per Nikerabbit, follow-up to r61690: document $interface parameter --- includes/OutputPage.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.20.1