I want to get all human names in wiki titles within wikipedia using Mediawiki, and I am reading Mediawiki API. I haven't found any keywords limiting category of the search (e.g. human names, countrie names, planet names, etc). Is it possible to do so by Mediawiki?
I found this question, but it is about using a name as input and see whether that is a person, which does not fit my requirement.
If it is not possible to do so, is there any other ways to do that?
You can limit search results to a category; it depends on the wiki what kind of categories they have. The search is not recursive (ie. if an article is in the category African countries
and that category is in the category Countries
and you limit search to that category, you won't find the article) which makes it not so useful in practice.
Specifically for Wikipedia, you have a number of non-standard options, most notably the Wikidata Query Service. E.g. articles about people.