17,235
edits
(trying out this lua stuff) |
(list function that simply invokes categorytree on the given category) |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p. | |||
function p.list(frame) | |||
local pages = frame:callParserFunction{ | |||
name = '#categorytree', | |||
args = { frame.args[1], 'hideroot', mode = 'pages' } | |||
} | |||
return pages | |||
end | end | ||
return p | return p |