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 ""spellcheck" attribute for HTMLForm "text" and "textarea""
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiUpload.php
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
74ae05a
..
54294c9
100644
(file)
--- a/
includes/api/ApiUpload.php
+++ b/
includes/api/ApiUpload.php
@@
-735,7
+735,9
@@
class ApiUpload extends ApiBase {
'comment' => array(
ApiBase::PARAM_DFLT => ''
),
'comment' => array(
ApiBase::PARAM_DFLT => ''
),
- 'text' => null,
+ 'text' => array(
+ ApiBase::PARAM_TYPE => 'text',
+ ),
'watch' => array(
ApiBase::PARAM_DFLT => false,
ApiBase::PARAM_DEPRECATED => true,
'watch' => array(
ApiBase::PARAM_DFLT => false,
ApiBase::PARAM_DEPRECATED => true,