Modulo:Videogioco: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Moroboshi (discussione | contributi)
+genere
Moroboshi (discussione | contributi)
fix un altro paio di bug
Riga 50:
if args[name] then
local name_value = args[name]
if lower_caselowercase then name_value = mw.ustring.lower(name_value) end
local category = get_category(name_value, table_name)
if category then categories[category] = true end
Riga 59:
end
index = index + 1
if not previous_present and index > max_index then flag_stop = true end
end
if args[base_name] and args[base_name .. '1'] then anomaly = true end
Riga 73:
local current_page = mw.title.getCurrentTitle()
local current_namespace = current_page.namespace
--if current_namespace ~= 0 then return '' end
local errors_msg = {}
local categories = {}
Riga 93:
categories.tema, anomaly.tema = categorizza(args, 'tema', 'tema', 3, true)
categories.genere, anomaly.genere = categorizza(args, 'genere', 'genere', 3, true)
categories.piattaforme, anomaly.piattaforme = categorizza(args, 'piattaforma', 'piattaforma', 319)
categories.distribuzione, anomaly.distribuzione = categorizza(args, 'distribuzionedistribuzionedigitale', 'distribuzione', 3)
local cat_dict = {}
for cat_name,cat_list in pairs(categories) do