[Mediawiki-api] API Implementation - Critique
Mark Henderson
henderson.mark at gmail.com
Sun May 4 16:23:57 UTC 2008
Roan Kattouw wrote:
>
> Mark Henderson schreef:
>> I need some help - I've implemented the API using CodeIgniter for a
>> clients site and everything works on the site except for the wiki pages,
>> which are sluggish.
>>
>> Here is my controller which lists the function calls being made and in
>> what order:
>> http://pastebin.com/m4021c1a7
>>
>> And here is my model where the actual API calls are made:
>> http://pastebin.com/dd7c504c
>>
>> The api.php file exists on the same server that is making the calls, so
>> it should be instant but the pages are so very slow, and only in the
>> instance of using the MW API.
>>
>> Any help or insight anybody could give would be MUCH appreciated.
>>
>>
>>
> If you could tweak your code to log all the API requests it makes, (see
> example below) that would help a lot. For example:
>
> api.php?action=login&lgname=Catrope&lgpassword=123ABC
> api.php?action=query&meta=userinfo&uiprop=rights|hastalk
> api.php?action=query&prop=info|revisions&rvtoken=rollback&titles=Foo
> api.php?action=rollback&token=123abc%2B\&title=Foo
>
> Roan Kattouw (Catrope)
>
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
Roan, I'm not sure I understand. Does this have to do with caching? Your
example just looked like a list of API URLs..
--
View this message in context: http://www.nabble.com/API-Implementation---Critique-tp17023962p17048335.html
Sent from the WikiMedia API mailing list archive at Nabble.com.
More information about the Mediawiki-api
mailing list