On Feb 6, 2008 4:14 AM, DanTMan dan_the_man@telus.net wrote:
It may be ok for other applications like bots and such which easily reuse the same data, but it's not a good idea to force a MediaWiki extension to grab a page from MediaWiki, hack out the scriptPath from there using some ugly regex, and then make it's query to the api.
Extensions have access to $wgScriptPath so will be able to access api.php via $wgScriptPath . 'api.php'.