New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contribs() method is not working as expected #34

Closed
GoogleCodeExporter opened this Issue Mar 21, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 21, 2015

What steps will reproduce the problem?
1. Call Revision[] revs = contribs("MER-C", 0); 
2. or contribs("MER-C", "", null, null, 0) which is the same;


What is the expected output? What do you see instead?
 Expected: revs must contain all contributions of the user (59k total for MER-C)
 See: revs has only first 500 (or 5000 for bot account) revisions

What version of the product are you using? On what operating system?
r149 or r150

Please provide any additional information below.

The reason is that mediawiki (as I got it) uses different format for continue 
parameter both returned and entered.
for "ucuserprefix=" it works as "uccontinue=" and it's OK
for "ucuser=" it works as "ucstart=" and Wiki.java doesn't handle this case 
properly

1) 
("", "MER-C", null, null, 0)
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuserprefix=ME
R-C&uclimit=10&ucdir=newer&ucprop=flags|title


2)
("MER-C", "", null, null, 0)
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=MER-C&uc
limit=10&ucdir=newer&ucprop=flags|title

Oh, this is a showstopper for a bot which I'm currently writing..

Original issue reported on code.google.com by DimaTrof...@gmail.com on 2 Oct 2013 at 9:09

@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Mar 21, 2015

This issue was closed by revision r152.

Original comment by stop.squark on 3 Oct 2013 at 11:15

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment