Would it be possible on (possibly all?) queries that are getting links on pages, categories on page, pages in category, etc, have an option (or even just by default), a number of results returned?
instead of
<categories> <cl ns="14" title="Category:1879 births" /> <cl ns="14" title="Category:1955 deaths" /> <cl ns="14" title="Category:Academics of the Charles University" /> <cl ns="14" title="Category:Albert Einstein" /> <cl ns="14" title="Category:American humanists" /> <cl ns="14" title="Category:American pacifists" /> <cl ns="14" title="Category:American philosophers" /> <cl ns="14" title="Category:American physicists" /> <cl ns="14" title="Category:American socialists" /> <cl ns="14" title="Category:American vegetarians" /> </categories>
something like
<categories count="10"> <cl ns="14" title="Category:1879 births" /> <cl ns="14" title="Category:1955 deaths" /> <cl ns="14" title="Category:Academics of the Charles University" /> <cl ns="14" title="Category:Albert Einstein" /> <cl ns="14" title="Category:American humanists" /> <cl ns="14" title="Category:American pacifists" /> <cl ns="14" title="Category:American philosophers" /> <cl ns="14" title="Category:American physicists" /> <cl ns="14" title="Category:American socialists" /> <cl ns="14" title="Category:American vegetarians" /> </categories>
And an option to be able to go &countonly (or something), and just be returned
<categories count="10" />
Please?
Thanks
Version: 1.14.x
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php?action=query&prop=categories&titles=Albert%20Einstein