Board Thread:Support Requests - Getting Technical/@comment-11700523-20160503074645/@comment-1757994-20160503100422

Upanddownadventures wrote: What I am trying to do is filter a search by category so results will only be pages from a certain category. You'd have to write a program to do that.
 * 1) Use the API to get a list of pages matching a search parameter.
 * /api.php?format=json&action=query&list=search plus whatever else as search parameters
 * 1) Get a list of pages in the category
 * /api.php?format=json&action=query&list=categorymembers plus whatever else to specify the category
 * 1) Look for the intersection and display it

Alternatively
 * 1) Use the API to get a list of pages matching a search parameter, same as above
 * 2) Get the list of categories for each page
 * /api.php?format=json&action=query&prop=categories
 * 1) Display the list of pages with the desired category