Modul:Transclusion count: Unterschied zwischen den Versionen

Sort alphabetically after sorting by count
(Sort alphabetically after sorting by count)
Zeile 54: Zeile 54:
end
end
table.sort(list, function(a, b)
table.sort(list, function(a, b)
return a[2] > b[2]
return (a[2] == b[2]) and (a[1] < b[1]) or (a[2] > b[2])
end)
end)
local lang = mw.getContentLanguage();
local lang = mw.getContentLanguage();
Anonymer Benutzer