local module = {}; function module.main(frame) local s = mw.dumpObject(mw.getContentLanguage()) return s end function module.title(frame) local title = mw.title.new(frame:getTitle()) local obj = {} for k, v in pairs(title) do if type(v) == "function" then --obj[k] = v(title, frame.args[1] or "", frame.args[2] or "", frame.args[3] or "", frame.args[4] or "", frame.args[5] or "") else obj[k] = v end end return mw.dumpObject(obj) end function module.sysparams(frame) return mw.ustring.len(frame.args[1]) end function module.cr(frame) return frame:preprocess("#REDIRECT [["..frame.args[1].."]]") end return module;