2009/6/28 Jools Wills <[email protected]>:
> On Mon, 2009-06-29 at 00:18 +0700, Borort wrote:
>> The reason that i don't use format=json is it will not return the
>> description and url of the result..
>
> hmm I think it should so this could be a bug.
>
Actually, both the JSON opensearch format and the XML opensearch
format are documented standards, but with different fields. IIRC, the
opensearch module will refuse to output anything but these two, and
will output JSON even if you set format=php. It's only intended to be
used for browser search plugins (JSON for Firefox, XML for IE); for
other purposes, you're probably better off using list=search or
list=allpages&apprefix=Foo instead.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to