Hi Cristina,

unfortunately, the limit is fixed[1] and set by a configuration variable, 
$wgFeedLimit, which has a default value of 50[2]. You could try opening a task 
in Phabricator and discuss, if it should be possible to set the limit in the 
request or not. Another "solution" would be, to set a higher value for wikidata 
for wgFeedLimit, but I assume, that this configuration variable is used in 
other cases, too, where a limit of 50 rows is reasonable, so this won't be a 
good idea and wouldn't be done for wikidata or any other wmf wiki :)

I hope that helps!

[1] 
https://github.com/wikimedia/mediawiki/blob/master/includes/api/ApiFeedContributions.php#L84-L87
[2] 
https://github.com/wikimedia/mediawiki/blob/master/includes/DefaultSettings.php#L6163-L6166

Greetings from Wolfsburg :)
Florian

-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von csarasua
Gesendet: Mittwoch, 8. Juli 2015 14:24
An: [email protected]
Betreff: [Mediawiki-api] Wikidata API: feedcontributions size>50?

Hi,

I am using the API to get the list of Wikidata contributions of particular 
users.

I am using
"https://www.wikidata.org/w/api.php?action=feedcontributions&user=xxx&toponly=false";
 
for that. But I have seen that I can only get a maximum number of edits
(50) this way, so the response is leaving many of the edits out.

Is there a way to get all the edits of a contributor in a period of time (e.g. 
one particular day), even if they are more than 50?

Thanks.
Cristina

--
Cristina Sarasua

Institute for Web Science and Technologies (WeST)

Universität Koblenz-Landau
Universitätsstraße 1
56070 Koblenz
Germany

e: [email protected]
p: +49 261 287 2772
f: +49 261 287 100 2772
w: http://west.uni-koblenz.de


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to