* Victor Vasiliev vasilvv@gmail.com [Sat, 2 Jun 2012 22:43:56 +0200]:
Currently there is no proper way in Lua to get such basic things about the current page name. To fix this, I propose to provide a MediaWiki API accessible from the Lua scripts:
https://www.mediawiki.org/wiki/Extension:Scribunto/API_specification
Any feedback appreciated.
— Victor.
Is that local PHP bindings only or the remote MW API querying will be possible? In MediaWiki, API usually means "do something remotely", although local API usage is possible (except for very hard parts where POST is required - but maybe that was fixed in recent versions of Request / Response abstractions). I am asking because when there are two different things called "API" this may cause some confusion. Dmitriy