Parser: Add accessors needed by CodeMirror
[lhc/web/wiklou.git] / includes / parser / Parser.php
index 96bf892..b1e3928 100644 (file)
@@ -5489,6 +5489,23 @@ class Parser {
                );
        }
 
+       /**
+        * @since 1.32
+        * @return array
+        */
+       public function getFunctionSynonyms() {
+               $this->firstCallInit();
+               return $this->mFunctionSynonyms;
+       }
+
+       /**
+        * @since 1.32
+        * @return string
+        */
+       public function getUrlProtocols() {
+               return $this->mUrlProtocols;
+       }
+
        /**
         * Replace transparent tags in $text with the values given by the callbacks.
         *