Index: trunk/phase3/includes/MagicWord.php |
— | — | @@ -30,9 +30,13 @@ |
31 | 31 | /**#@+ |
32 | 32 | * @private |
33 | 33 | */ |
34 | | - var $mId, $mSynonyms, $mCaseSensitive, $mRegex; |
35 | | - var $mRegexStart, $mBaseRegex, $mVariableRegex; |
36 | | - var $mModified, $mFound; |
| 34 | + var $mId, $mSynonyms, $mCaseSensitive; |
| 35 | + var $mRegex = ''; |
| 36 | + var $mRegexStart = ''; |
| 37 | + var $mBaseRegex = ''; |
| 38 | + var $mVariableRegex = ''; |
| 39 | + var $mModified = false; |
| 40 | + var $mFound = false; |
37 | 41 | |
38 | 42 | static public $mVariableIDsInitialised = false; |
39 | 43 | static public $mVariableIDs = array( |
— | — | @@ -182,11 +186,6 @@ |
183 | 187 | $this->mId = $id; |
184 | 188 | $this->mSynonyms = (array)$syn; |
185 | 189 | $this->mCaseSensitive = $cs; |
186 | | - $this->mRegex = ''; |
187 | | - $this->mRegexStart = ''; |
188 | | - $this->mVariableRegex = ''; |
189 | | - $this->mVariableStartToEndRegex = ''; |
190 | | - $this->mModified = false; |
191 | 190 | } |
192 | 191 | |
193 | 192 | /** |