mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-18 19:02:27 +00:00
1fad4da137
Change-Id: Ida2c9cac348fe31ecf8d8c0a352e899bcbff1ebf
9 lines
202 B
Lua
9 lines
202 B
Lua
package.path = arg[1] .. '/engines/LuaStandalone/?.lua;' ..
|
|
arg[1] .. '/engines/LuaCommon/lualib/?.lua'
|
|
|
|
require('MWServer')
|
|
require('mwInit')
|
|
server = MWServer:new( arg[2], arg[3] )
|
|
server:execute()
|
|
|