Skip to content
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.

pullcat current implementation limiting the files retrieved to 500 #9

Open
esby opened this issue Aug 30, 2011 · 3 comments
Open

pullcat current implementation limiting the files retrieved to 500 #9

esby opened this issue Aug 30, 2011 · 3 comments

Comments

@esby
Copy link
Contributor

esby commented Aug 30, 2011

there is a limit of 500 files with the pullcat implementation I did.
I see two solution:

  • increase to the limit to 5000 (workaround, but this should only work for bots, since normal accounts are not allowed to go upper than 500).
  • implement the continu flow, as it is supposed to be done, I just lack the time to do it for now...
@iliana
Copy link
Owner

iliana commented Aug 31, 2011

I wouldn't use that workaround. (However, you can use the simplemediawiki.MediaWiki.limits function to figure out whether or not the user is allowed to use higher limits on the API). (The MediaWiki object is self.api in a command that has run self._api_setup().)

I'd prefer implementing the continue flow (in fact I'd consider the command broken if it doesn't continue as it should). Point me to the place in the code to add it (I haven't looked at mw in forever) and I'll take a hack at it.

@iliana iliana closed this as completed Aug 31, 2011
@iliana iliana reopened this Aug 31, 2011
@iliana
Copy link
Owner

iliana commented Aug 31, 2011

(wrong button)

@esby
Copy link
Contributor Author

esby commented Jun 21, 2012

I implemented the continue workflow.
I deleted my fork since it was too old then I recreated it to commit the changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants