Per Nikerabbit, follow-up to r61690: document $interface parameter
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 30 Jan 2010 17:40:17 +0000 (17:40 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 30 Jan 2010 17:40:17 +0000 (17:40 +0000)
includes/OutputPage.php

index 5f8fbd4..0bc1bd7 100644 (file)
@@ -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