Why can you not simply
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=PC&rvprop=content
Dear Members,
I'm using mediawiki API to get a result with the following code:
http://en.wikipedia.org/w/api.php?action=opensearch&search=pc&limit=20&format=xml
But if you look at this link: http://en.wikipedia.org/wiki/PC
there is description like this:
PC most commonly refers to:
* Personal computer, a computer whose original sales price, size, and capabilities make it useful for individuals
* Political correctness, language or behavior that appears calculated to provide a minimum of offense
but with my API, I cannot get such a result. Please help me, how can i change my API to get a result like above.
Actually, I want to send an acronym word (e.g. PC) via API and get the suggestions. (e.g: Personal computer, Political Correctness)
Please help me to find a solution for that, I searched a lot and I could not find any solution for that.
Yours Sincerely
Sasan Moshksar
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api