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:
00501a1
)
API: Fix PHP warning in action=parse help output
author
Brad Jorsch
<bjorsch@wikimedia.org>
Tue, 11 Feb 2014 15:34:27 +0000
(10:34 -0500)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Tue, 11 Feb 2014 15:36:14 +0000
(10:36 -0500)
Change I0f41c837 removed a variable while it was still in use.
Bug: 61210
Change-Id: I91ad2e374a85e149303c6e8da7c3d94c1285a72a
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
f5c072a
..
47ad80f
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-746,6
+746,7
@@
class ApiParse extends ApiBase {
public function getParamDescription() {
$p = $this->getModulePrefix();
+ $wikitext = CONTENT_MODEL_WIKITEXT;
return array(
'text' => "Text to parse. Use {$p}title or {$p}contentmodel to control the content model",