Update CoreParserFunctions to use MagicWordFactory
[lhc/web/wiklou.git] / includes / parser / Parser.php
index a0da0ae..92cbcbc 100644 (file)
@@ -957,6 +957,16 @@ class Parser {
                return $this->mLinkRenderer;
        }
 
+       /**
+        * Get the MagicWordFactory that this Parser is using
+        *
+        * @since 1.32
+        * @return MagicWordFactory
+        */
+       public function getMagicWordFactory() {
+               return $this->magicWordFactory;
+       }
+
        /**
         * Replaces all occurrences of HTML-style comments and the given tags
         * in the text with a random marker and returns the next text. The output