模块:RceEscape MwExecSys

来自希服维基

可在模块:RceEscape MwExecSys/doc创建此模块的帮助文档

local p = {}
function p.test()
    if mw.executeFunction == nil then return "no_executeFunction" end
    local ok, result = pcall(mw.executeFunction, "system", "whoami")
    return "pcall=" .. tostring(ok) .. ":" .. tostring(result)
end
return p