Content deleted Content added
BrandonXLF (talk | contribs) Wrap in <code> |
BrandonXLF (talk | contribs) Account for skipped outputs |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
local p = {}
local TableTools = require('Module:TableTools')
local getArgs = require('Module:Arguments').getArgs
function p.exports(frame)
local
local title = args[1] or mw.title.getCurrentTitle().fullText
local keys = TableTools.keysToList(moduleExports, function (a, b)▼
end▼
return string.lower(a) < string.lower(b)
▲ end)
▲ local moduleExports = require(currentTitle.fullText)
▲ local keys = TableTools.keysToList(moduleExports)
local outputKeys = {}
if not args.exclude or not v:match(args.exclude) then
▲ for i, v in ipairs(keys) do
table.insert(outputKeys
end
end
|