Module:Broader: Difference between revisions

m
Forgot to wrap a table literal in pairs() for iteration
(New version (after undeletion to make history visible); supports unlimited parameters and uses new named "topic" parameter)
m (Forgot to wrap a table literal in pairs() for iteration)
Line 22:
local args = mTableTools.compressSparseArray(originalArgs)
-- re-add non-numeric arguments omitted by compressSparseArray
for name in pairs({'category', 'selfref', 'topic'}) do
args[name] = originalArgs[name]
end
Anonymous user