Modulo:Videogioco: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+genere |
fix un altro paio di bug |
||
Riga 50:
if args[name] then
local name_value = args[name]
if
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
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',
categories.distribuzione, anomaly.distribuzione = categorizza(args, '
local cat_dict = {}
for cat_name,cat_list in pairs(categories) do
|