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
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFeedContributions.php
diff --git
a/includes/api/ApiFeedContributions.php
b/includes/api/ApiFeedContributions.php
index
97720c6
..
cae1e15
100644
(file)
--- a/
includes/api/ApiFeedContributions.php
+++ b/
includes/api/ApiFeedContributions.php
@@
-70,11
+70,16
@@
class ApiFeedContributions extends ApiBase {
$feedUrl
);
$feedUrl
);
+ // Convert year/month parameters to end parameter
+ $params['start'] = '';
+ $params['end'] = '';
+ $params = ContribsPager::processDateFilter( $params );
+
$pager = new ContribsPager( $this->getContext(), [
'target' => $target,
'namespace' => $params['namespace'],
$pager = new ContribsPager( $this->getContext(), [
'target' => $target,
'namespace' => $params['namespace'],
- '
year' => $params['year
'],
- '
month' => $params['month
'],
+ '
start' => $params['start
'],
+ '
end' => $params['end
'],
'tagFilter' => $params['tagfilter'],
'deletedOnly' => $params['deletedonly'],
'topOnly' => $params['toponly'],
'tagFilter' => $params['tagfilter'],
'deletedOnly' => $params['deletedonly'],
'topOnly' => $params['toponly'],