mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-12 01:11:55 +00:00
c8f4d0a213
* Removed ScriptingEngineBase::load(), inappropriate interface specification, only used by child classes and more properly defined by them * Fixed inappropriate use of final * Fixed case of a class constant to conform with MediaWiki conventions * Use a factory function interface for module creation instead of a class name accessor * Don't pass unnecessary $engine parameter to ScriptingFunctionBase::__construct(). Pass parent object as the first parameter per convention. * Fixed unnecessary reference parameter in doRunHook() * Have LuaSandboxEngineFunction::call() return the first result or null, per the base class documentation, instead of imploding. * Use strval() to avoid a warning in case call() returns an array or object * Improved some comments |
||
---|---|---|
.. | ||
LuaSandbox |