Anomie has uploaded a new change for review. Change subject: Fix string extension in LuaStandalone ......................................................................
Fix string extension in LuaStandalone Built-in modules (e.g. the upcoming ustring) should be able to extend the string metatable, but user modules (and the debug console) should not be able to. But currently built-in modules cannot extend the string metatable in LuaStandalone, while in LuaSandbox the string metatable can be extended in the console. Fix this and add unit tests. Change-Id: I15f5598fed318f2fe26b08ec47e16053dddc13c4 --- M engines/LuaCommon/LuaCommon.php M engines/LuaStandalone/MWServer.lua M tests/engines/LuaCommon/CommonTests.lua M tests/engines/LuaCommon/LuaEngineTest.php 4 files changed, 107 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto refs/changes/22/40322/1 -- To view, visit https://gerrit.wikimedia.org/r/40322 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I15f5598fed318f2fe26b08ec47e16053dddc13c4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Scribunto Gerrit-Branch: master Gerrit-Owner: Anomie <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
