dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c3f71
)
Parser: Add accessors needed by CodeMirror
author
Kunal Mehta
<legoktm@member.fsf.org>
Tue, 14 Aug 2018 05:44:48 +0000
(22:44 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Tue, 14 Aug 2018 05:44:48 +0000
(22:44 -0700)
Change-Id: Ia2d98baf6caed2cd779cb00aceba5785cf13d633
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
96bf892
..
b1e3928
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-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.
*