Line 95:
Line 95:
end
end
end
end
−
mw.log(predKey)
−
mw.log(pred2)
−
mw.log(pred)
local collection
local collection
local collectionKey = stringKey('collection', context, n)
local collectionKey = stringKey('collection', context, n)
Line 129:
Line 126:
e = collection[i]
e = collection[i]
end
end
−
mw.log(e._name)
−
mw.log(pred and pred(e, i))
−
mw.log(pred2 and pred2(e, i))
if pred and not pred(e, i) or pred2 and not pred2(e, i) then
if pred and not pred(e, i) or pred2 and not pred2(e, i) then
i = i + 1
i = i + 1