Related task: T222262: Add depth option for each category selected in Campaign settings
This replaces the simple comma separated list used in the initial test version.
The search will use the Wikimedia API to get the list of categories matching the search term input by the user.
API call example search for "wiki loves" in the category namespace:
https://commons.wikimedia.org/w/api.php?action=opensearch&search=wiki%20loves&namespace=14&format=jsonfm
action | opensearch |
search | user's search term |
namespace | 14 |
format | json |