On Wed, Feb 1, 2012 at 7:29 PM, Parsa <parsaj00n(a)yahoo.com> wrote:
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…
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.
The opensearch API does title matches *only*. If you want to search in
the content of pages as well, you should use list=search.
Roan