mediawiki-extensions-Scribunto/includes/Engines/LuaStandalone/mw_main.lua
Reedy 1eecdac6de Capitalise Engines folder
Change-Id: I6d730d67decc859fd130fee5ec92b1cfb8d9ef64
2022-09-30 00:58:27 +00:00

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()