Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 4: Line 4:


function p.test(frame)
function p.test(frame)
     local out = {}
     local out = {}
     local data = mw.loadData(util.firstToUpper(frame.args[1]))
     local pages = mw.ext.dpl.getPagenames{
 
        namespace='',
    out = util.dump(data)
        category=frame[1]
     return out
     }
end
end


return p
return p

Latest revision as of 11:43, 5 September 2025

Documentation for this module may be created at Module:Test/doc

local p = {}

local util = require('Module:Utility')

function p.test(frame)
    local out = {}
    local pages = mw.ext.dpl.getPagenames{
        namespace='',
        category=frame[1]
    }
end

return p