mediawiki-extensions-Scribunto/includes/Engines/LuaStandalone/mw_main.lua

9 lines
202 B
Lua
Raw Permalink Normal View History

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