-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option for WIKICATEGORYMEMBERS to list all subcategories too #8
Comments
I considered this, but it simply doesn't scale in the general case. It is dangerously easy to shoot yourself (and the Wikimedia Foundation) in the foot by unconsciously firing thousands of requests with one innocent-looking formula. Unless you have a smart solution to this issue?! |
One solution could be allowing WIKICATEGORYMEMBERS to take a list of categories to list the articles for. This would allow the user to use WIKISUBCATEGORIES to list out the subcats, which could then be fed into WIKICATEGORYMEMBERS if the user sees that there aren't an absurd number. Would that help? |
We probably agree that there should be some sort of recursion depth limit. I am on vacation at the moment, but happy to get technical feedback from the API admins on the best way to do this. |
Hi - just remembered about this. Did you manage to make any progress? :) |
Sorry, no progress yet, but I haven't forgotten about it. |
It would be super useful to be able to list all category and subcategory pages. Since different language pages are common on meta wiki we would need to list the category members for every subcategory of The Wikipedia Library (e.g. Category:The Wikipedia Library/de) individually. If WIKICATEGORYMEMBERS could optionally list all pages in the specified category and its sub categories in one step that would be great.
The text was updated successfully, but these errors were encountered: