https://bugzilla.wikimedia.org/show_bug.cgi?id=16844
Summary: API: Add parameter clcategory to prop=categories
Product: MediaWiki
Version: 1.14-svn
Platform: All
URL: http://en.wikipedia.org/w/api.php?action=query&titles=Li
st_of_Wii_games&gpllimit=20&generator=links&prop=categor
ies&cllimit=20
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Sometimes you simply want to know whether some pages are in a given category or
not. For these use cases, currently you have to query prop=categories, which
will give you all categories for each page. Even worse, if you have more than
one category per page in average, you will probably hit the (cl)limit for the
query, and have to do a (perhaps sub-)query-continue, which will again give you
lots of stuff that you actually don't need.
So an option like clcategory=Category:Foo would be nice, which will return at
most one category per page and so one wouldn't have to care about hitting the
limit.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l