Content deleted Content added
less voodoo |
other voodoo |
||
Line 12:
local match = string.match
local args = { }
-- transclude everything, and discard the output
for _, item in ipairs(frame.args) do
Line 18 ⟶ 19:
-- getContent() on a title object might be cleaner, but getContent() and title objects
-- are considered "expensive". even though they are probably cheaper than actual transclusion
frame:expandTemplate(args)
local ns = match(item, "^(.-):")
|