Replace arguments before replacing variables in {{int:...}} parser function, for...
[lhc/web/wiklou.git] / includes / MagicWord.php
index 4f5148a..594b2f4 100644 (file)
@@ -3,7 +3,8 @@
  * File for magic words
  * See docs/magicword.txt
  *
- * @addtogroup Parser
+ * @file
+ * @ingroup Parser
  */
 
 /**
@@ -22,6 +23,7 @@
  * magic words which are also Parser variables, add a MagicWordwgVariableIDs
  * hook. Use string keys.
  *
+ * @ingroup Parser
  */
 class MagicWord {
        /**#@+
@@ -103,6 +105,9 @@ class MagicWord {
                'numberofadmins',
                'defaultsort',
                'pagesincategory',
+               'index',
+               'noindex',
+               'numberingroup',
        );
 
        /* Array of caching hints for ParserCache */
@@ -141,6 +146,7 @@ class MagicWord {
                'localtimestamp' => 3600,
                'pagesinnamespace' => 3600,
                'numberofadmins' => 3600,
+               'numberingroup' => 3600,
                );
 
        static public $mDoubleUnderscoreIDs = array(
@@ -151,6 +157,9 @@ class MagicWord {
                'noeditsection',
                'newsectionlink',
                'hiddencat',
+               'index',
+               'noindex',
+               'staticredirect',
        );
 
 
@@ -466,6 +475,7 @@ class MagicWord {
 
 /**
  * Class for handling an array of magic words
+ * @ingroup Parser
  */
 class MagicWordArray {
        var $names = array();