I am querying MediaWiki to get category information from Wikipedia for certain titles. I have written a java program to get the list but some titles do not return category results.

For example, "Populated places" does not return any category listing for the query but if you search Wikipedia, it gives categories. Following is the generated query for this particular title. I am trying to get results in JSON format. The query doesn't work for xml format either.


what is the problem here???

Kalpa Gunaratna