On 13.11.2008, at 18:41, Osipov wrote: > Isn't it slow to access to wiki via HTTP in website? What difference > between > accessing the Mediawiki API for an online wiki and > accessing an online wiki directly
What do you mean with "online wiki" and "directly"? If you have a MediaWiki database on the same (or a near) host and query the database directly via SQL, that would be faster, of course. But that's not supported by mwlib for now. Someone could definitely write a WikiDB module for mwlib which does exactly this, though. Access per MediaWiki API has the overhead of the communication via HTTP and execution of PHP code on the MediaWiki, but its request and response formats are very concise, so the actual overhead concerning the data payload is quite small. -- Johannes Beigel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
