Velaro
Velaro

Reputation: 501

Mediawiki API: get recent changes with categories of each page, or only those recentchanges entries which are in a certain category

I want to retrieve from Mediawiki the list of recent changes in a certain category. I am trying to use the recentchanges API; I would either need to be able to limit the results to that category, or for each recentchanges entry get the list of categories that page is in.

Upvotes: 2

Views: 111

Answers (1)

Tgr
Tgr

Reputation: 28200

There is no way to get the list of changes in a specific category. To get the categories of each page, use the recentchanges API module as a generator: action=query&generator=recentchanges&prop=categories

Upvotes: 1

Related Questions