You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prop=categories (if more then one, use | (pipe line) to seperate them)
clshow=!hidden (or nothing, or hidden) - to get only the visible categories. Usualy, the hidden categories are used to wiki admins and bots.
The result is something like this:
{"query":{"pages":{"69336":{"pageid":69336,"ns":0,"title":"Java","categories":[{"ns":14,"title":"Category:All articles with unsourced statements"},{"ns":14,"title":"Category:Articles containing Indonesian language text"},{"ns":14,"title":"Category:Articles with unsourced statements from June 2009"},{"ns":14,"title":"Category:Greater Sunda Islands"},{"ns":14,"title":"Category:Java"}]}}}}
As we can see, the page is tagged to couple of categories, like:
getting all the categories assigned to a given wiki page
The text was updated successfully, but these errors were encountered: