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
Provide short URL to file description page in imageinfo API
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiBlock.php
diff --git
a/includes/api/ApiBlock.php
b/includes/api/ApiBlock.php
index
636baa7
..
e3d73a2
100644
(file)
--- a/
includes/api/ApiBlock.php
+++ b/
includes/api/ApiBlock.php
@@
-141,7
+141,7
@@
class ApiBlock extends ApiBase {
public function getAllowedParams() {
return array(
'user' => array(
- ApiBase::PARAM_TYPE => '
string
',
+ ApiBase::PARAM_TYPE => '
user
',
ApiBase::PARAM_REQUIRED => true
),
'expiry' => 'never',