Page MenuHomePhabricator

categorymembers cmcontinue is offered, despite no further results (due to use of cmnamespace= in miser mode)
Closed, InvalidPublic

Event Timeline

McZusatz raised the priority of this task from to Needs Triage.
McZusatz updated the task description. (Show Details)
McZusatz added a project: MediaWiki-Action-API.
McZusatz subscribed.

Please have a look at the doc - https://commons.wikimedia.org/w/api.php?modules=query+categorymembers

Note: Due to miser mode, using this may result in fewer than cmlimit results returned before continuing; in extreme cases, zero results may be returned

The api module does not know that all the other pages will be just files and gets fitered out by the namespace condition. Therefor you have to continue over the empty results to know that.

You can avoid this by changing cmnamespace=14 to cmtype=subcat

https://commons.wikimedia.org/w/api.php?format=xml&maxlag=5&action=query&list=categorymembers&cmprop=title&cmlimit=max&cmtitle=Category%3ADiagram+images+that+should+use+vector+graphics&cmtype=subcat&rawcontinue=

Umherirrender renamed this task from categorymembers cmcontinue is offered, despite no further results to categorymembers cmcontinue is offered, despite no further results (due to use of cmnamespace= in miser mode).Jun 13 2015, 6:51 PM
Umherirrender closed this task as Invalid.
Umherirrender set Security to None.