From: MZMcBride Date: Thu, 11 Sep 2014 01:22:17 +0000 (-0400) Subject: Clarify "mustposttoken" API error message X-Git-Tag: 1.31.0-rc.0~14077 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=2b521feb3058601125dff7ab383f5e2f3638dbc6;p=lhc%2Fweb%2Fwiklou.git Clarify "mustposttoken" API error message Bug: 70656 Change-Id: Id30e54472299bc3998644914eca4e19e9429fd2b --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 3497c8e232..0d677b19ea 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -788,7 +788,7 @@ class ApiMain extends ApiBase { $this->getRequest()->getQueryValues() ) ) { $this->dieUsage( - "The '{$module->encodeParamName( 'token' )}' parameter must be POSTed", + "The '{$module->encodeParamName( 'token' )}' parameter was found in the query string, but must be in the POST body", 'mustposttoken' ); }