Folowup r77763, add documentation for $wgFooterIcons.
[lhc/web/wiklou.git] / includes / parser / ParserOptions.php
index 9758639..40ee6cf 100644 (file)
@@ -103,9 +103,11 @@ class ParserOptions {
                return $this->mTimestamp;
        }
 
-       # You shouldn't use this. Really. $parser->getFunctionLang() is all you need.
-       # Using this fragments the cache and is discouraged. Yes, {{int: }} uses this,
-       # producing inconsistent tables (Bug 14404).
+       /**
+        * You shouldn't use this. Really. $parser->getFunctionLang() is all you need.
+        * Using this fragments the cache and is discouraged. Yes, {{int: }} uses this,
+        * producing inconsistent tables (Bug 14404).
+        */
        function getUserLang() {
                $this->accessedOptions['userlang'] = true;
                return $this->mUserLang;
@@ -282,7 +284,7 @@ class ParserOptions {
                        $confstr .= '!*' ;
 
                if ( in_array( 'dateformat', $forOptions ) )
-                       $confstr .= '!' . $this->mDateFormat;
+                       $confstr .= '!' . $this->getDateFormat();
                
                if ( in_array( 'numberheadings', $forOptions ) )
                        $confstr .= '!' . ( $this->mNumberHeadings ? '1' : '' );