Module:Navbar: Difference between revisions

another local
(local div; fixed?)
en>Primefac
(another local)
Line 50: Line 50:
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6}
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6}
for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do
for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do
num = index[v]
local num = index[v]
if num then show[num] = true end
if num then show[num] = true end
end
end
Anonymous user