Documentation for this module may be created at Module:Sandbox/DannyS712/gen/doc
local p = {}
function p.main( frame )
--local title = frame:getParent():getTitle()
local title = mw.title.makeTitle( 'User', 'DannyS712' )
local protection_table = title.protectionLevels
return "Edit:\t" .. (protection_table.edit[1] or "None") .. "\n\nMove:\t" .. (protection_table.move[1] or "autoconfirmed") .. "\n";
--return mw.dumpObject(protection_table)
--local dump = require('Module:Dump')._dump
--return protection_table[1] .. dump(protection_table, 'protection_table')
end
return p
