X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMagicWord.php;h=4d17298b23488e8147416322d6e3e3eab1a211fc;hb=35eb9481a2e5eaa433b2726adc04e863f018cf40;hp=3e327c35593ead36ebf8299e1799bf81c486a93d;hpb=ae1a63e86233ed0b6a547f7a1d11af42cac987cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MagicWord.php b/includes/MagicWord.php index 3e327c3559..4d17298b23 100644 --- a/includes/MagicWord.php +++ b/includes/MagicWord.php @@ -96,6 +96,7 @@ class MagicWord { static public $mVariableIDsInitialised = false; static public $mVariableIDs = array( + '!', 'currentmonth', 'currentmonth1', 'currentmonthname', @@ -753,6 +754,7 @@ class MagicWordArray { /** * Get a 2-d hashtable for this array + * @return array */ function getHash() { if ( is_null( $this->hash ) ) { @@ -774,6 +776,7 @@ class MagicWordArray { /** * Get the base regex + * @return array */ function getBaseRegex() { if ( is_null( $this->baseRegex ) ) { @@ -798,6 +801,7 @@ class MagicWordArray { /** * Get an unanchored regex that does not match parameters + * @return array */ function getRegex() { if ( is_null( $this->regex ) ) {