[Mediawiki-api] API Implementation - Critique

Russell Blau russblau at imapmail.org
Fri Feb 20 15:55:57 UTC 2009


Roan Kattouw said:
> Mark Henderson schreef:
>> [10-May-2008 22:04:26]
>> http://wikibondev.org/w/index.php?action=raw&title=The_most_telling_part_of_BT's_virtualization_strategy&oldid=0
>> [10-May-2008 22:04:26]
>> http://wikibondev.org/w/api.php?action=query&format=php&titles=The_most_telling_part_of_BT's_virtualization_strategy&prop=info
>> [10-May-2008 22:04:27]
>> http://wikibondev.org/w/index.php?action=render&title=The_most_telling_part_of_BT's_virtualization_strategy&oldid=0
>> [10-May-2008 22:04:27]
>> http://wikibondev.org/w/api.php?action=query&format=php&prop=revisions&titles=The_most_telling_part_of_BT's_virtualization_strategy&rvlimit=100
>> [10-May-2008 22:04:28]
>> http://wikibondev.org/w/api.php?action=query&format=php&titles=The_most_telling_part_of_BT's_virtualization_strategy&prop=categories
>>
>> This is a typical set of API queries that I call when loading a single
>> article from
>> http://wikibondev.org/wiki/v/The_most_telling_part_of_BT%27s_virtualization_strategy
> Reply may be a little late (replying to a 9-month-old post here), but
> you should know that you can combine API requests as follows:
>
> api.php?action=query&titles=Foo&prop=info|revisions|categories
>
> This'd merge 3 of the quoted queries into one.
>

and the other two aren't API queries at all; he's calling index.php




More information about the Mediawiki-api mailing list