Hello,
Scribunto currently has only some basic APIs to do essential things like access the parser frame and write things into debug log. Intending to change it, I wrote an API specification for an in-script API, which Lua scripts should be able to use in order to access certain MediaWiki features and interfaces. I have previously submitted this specification during the hackathon early this summer to the mailing list:
< https://www.mediawiki.org/wiki/Extension:Scribunto/API_specification%3E
Now I have collected the feedback, fixed the specification accordingly and intend to move on and actually implement it, expect for the mw.query part (which require more benchmarking and more design considerations). If you have comments regarding the specification, I would highly appreciate them now, before I actually write the code.
—Victor.