From 3927a8fc65234b4e227e5dc22dd5b1bb56a8091a Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 11 Feb 2014 10:34:27 -0500 Subject: [PATCH] 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 --- includes/api/ApiParse.php | 1 + 1 file changed, 1 insertion(+) 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", -- 2.20.1