Module:User:Kai/sandbox: Difference between revisions

Inspect bucket instance fields in detail (via update-page on MediaWiki MCP Server)
Blanked the page
Tag: Blanking
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
local p = {}


function p.view(frame)
    local b = mw.ext.bucket('feedback')
    local debug_info = {}
    for k, v in pairs(b) do
        table.insert(debug_info, tostring(k) .. " = " .. mw.dumpObject(v))
    end
    return "<pre>" .. table.concat(debug_info, "\n") .. "</pre>"
end
return p