Lua エラー 4 行目: attempt to call global 'gsub' (a nil value)
local p = {} function p.main(frame) local number = tonumber(gsub(frame.args[1], "<math>(%d+)</math>", "%1")) return "<math>" .. number + 1 .. "</math>" end return p