Content deleted Content added
Zackmann08 (talk | contribs) WIP |
Zackmann08 (talk | contribs) No edit summary |
||
Line 41:
-- loop over the parent args, and make sure they are on the list
for k, v in pairs(pargs) do
-- mw.log(k..'---'..v)
if dep_values[k] then
table.insert(values, k)
end
mw.logObject(values)
end
Line 76 ⟶ 55:
end
for k, v in pairs(values) do
mw.log(k..'---'..v)
mw.log(dep_values[v])
if v == '' then
-- Fix odd bug for | = which gets stripped to the empty string and
Line 81 ⟶ 62:
v = ' '
end
local r = deprecated:gsub('_VALUE_', (v..'. replace with "'..dep_values[v]..'"'))
table.insert(res, r)
end
|