From: Brad Jorsch Date: Tue, 11 Feb 2014 15:34:27 +0000 (-0500) Subject: API: Fix PHP warning in action=parse help output X-Git-Tag: 1.31.0-rc.0~16952 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;ds=sidebyside;h=3927a8fc65234b4e227e5dc22dd5b1bb56a8091a;p=lhc%2Fweb%2Fwiklou.git API: Fix PHP warning in action=parse help output Change I0f41c837 removed a variable while it was still in use. Bug: 61210 Change-Id: I91ad2e374a85e149303c6e8da7c3d94c1285a72a --- diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index f5c072a20d..47ad80f40e 100644 --- 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",