Module:Listbox: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(change how to exclude, from "exclude=true" to "group=exclude" - so we get it from 'extra' instead of parsing the page) |
m (remove unnecessary 'default' group initialization) |
||
Line 22: | Line 22: | ||
-- organize them by group | -- organize them by group | ||
local groups = { | local groups = {} | ||
for _, page in ipairs( pages ) do | for _, page in ipairs( pages ) do | ||
if page.extra ~= 'exclude' then | if page.extra ~= 'exclude' then |