Mark said:
Roan, I'm not sure I understand. Does this have to
do with caching? Your
example just looked like a list of API URLs..
Roan is suggesting that you alter your code to log the actual API
calls being executed so that you can post them as part of the problem
statement. If we know what requests are being made, we may be better
able to judge what the problem is/isn't ;)
-- Jim R. Wilson (jimbojw)
On Sun, May 4, 2008 at 11:23 AM, Mark Henderson
<henderson.mark(a)gmail.com> wrote:
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(a)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.
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api