mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-04 20:58:13 +00:00
1eecdac6de
Change-Id: I6d730d67decc859fd130fee5ec92b1cfb8d9ef64
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()
|
|
|