mw icon indicating copy to clipboard operation
mw copied to clipboard

pullcat current implementation limiting the files retrieved to 500

Open esby opened this issue 13 years ago • 3 comments

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...

esby avatar Aug 30 '11 21:08 esby

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 avatar Aug 31 '11 01:08 iliana

(wrong button)

iliana avatar Aug 31 '11 01:08 iliana

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

esby avatar Jun 21 '12 21:06 esby