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:
baaa234
)
Clarify "mustposttoken" API error message
author
MZMcBride
<g@mzmcbride.com>
Thu, 11 Sep 2014 01:22:17 +0000
(21:22 -0400)
committer
MZMcBride
<g@mzmcbride.com>
Thu, 11 Sep 2014 01:22:17 +0000
(21:22 -0400)
Bug: 70656
Change-Id: Id30e54472299bc3998644914eca4e19e9429fd2b
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
3497c8e
..
0d677b1
100644
(file)
--- 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'
);
}