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 "Add default type param for recentchanges and watchlist query api modules"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryRecentChanges.php
diff --git
a/includes/api/ApiQueryRecentChanges.php
b/includes/api/ApiQueryRecentChanges.php
index
fd73afb
..
bfdc5ab
100644
(file)
--- a/
includes/api/ApiQueryRecentChanges.php
+++ b/
includes/api/ApiQueryRecentChanges.php
@@
-688,6
+688,7
@@
class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2
),
'type' => array(
+ ApiBase::PARAM_DFLT => 'edit|new|log',
ApiBase::PARAM_ISMULTI => true,
ApiBase::PARAM_TYPE => array(
'edit',