Module:User:Kai/sandbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Test bucket method calling convention (via update-page on MediaWiki MCP Server) |
Inspect bucket instance fields in detail (via update-page on MediaWiki MCP Server) |
||
| Line 3: | Line 3: | ||
function p.view(frame) | function p.view(frame) | ||
local b = mw.ext.bucket('feedback') | local b = mw.ext.bucket('feedback') | ||
b | local debug_info = {} | ||
for k, v in pairs(b) do | |||
return | table.insert(debug_info, tostring(k) .. " = " .. mw.dumpObject(v)) | ||
end | |||
return "<pre>" .. table.concat(debug_info, "\n") .. "</pre>" | |||
end | end | ||
return p | return p | ||