Thread:Talk:Writing Lua modules/mw.smw.api.getQueryResult/reply

Mmm ... "useless" ..., I mentioned this in another thread, SMW is a volunteer project, developers are encouraged to enlarge or improve existing functionality. If functionality is missing, we invite anyone to join and support the community development effort.

Aside from the this, I was not focusing to provide a specific Lua functionality rather have a boilerplate that implements testable functionality for both PHP and Lua. Having test coverage for both is crucial for future maintainability and integrability.

If you think something like  is needed or missing as Lua module, please feel free to implement such module.

During 1.9 developer process [1], we decided that we will not draw Lua/Scribunto dependencies (Scribunto has some design issues such as misuse of inheritance or missing Composer support etc.) into SMW-core therefore I moved all related SMW-Lua stuff from [1] to [2] for now.

[1] https://gerrit.wikimedia.org/r/#/c/56393/

[1] https://github.com/mwjames/smw-lua