dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Improve readability of SpecialBlock::checkUnblockSelf"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatPhp.php
diff --git
a/includes/api/ApiFormatPhp.php
b/includes/api/ApiFormatPhp.php
index
cc0f159
..
45bdb6d
100644
(file)
--- a/
includes/api/ApiFormatPhp.php
+++ b/
includes/api/ApiFormatPhp.php
@@
-73,8
+73,8
@@
class ApiFormatPhp extends ApiFormatBase {
public function getAllowedParams() {
$ret = parent::getAllowedParams() + [
'formatversion' => [
public function getAllowedParams() {
$ret = parent::getAllowedParams() + [
'formatversion' => [
- ApiBase::PARAM_TYPE => [
1, 2
, 'latest' ],
- ApiBase::PARAM_DFLT =>
1
,
+ ApiBase::PARAM_TYPE => [
'1', '2'
, 'latest' ],
+ ApiBase::PARAM_DFLT =>
'1'
,
ApiBase::PARAM_HELP_MSG => 'apihelp-php-param-formatversion',
],
];
ApiBase::PARAM_HELP_MSG => 'apihelp-php-param-formatversion',
],
];