From 2b521feb3058601125dff7ab383f5e2f3638dbc6 Mon Sep 17 00:00:00 2001 From: MZMcBride Date: Wed, 10 Sep 2014 21:22:17 -0400 Subject: [PATCH] Clarify "mustposttoken" API error message Bug: 70656 Change-Id: Id30e54472299bc3998644914eca4e19e9429fd2b --- includes/api/ApiMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } -- 2.20.1