Modulo:Gastronomia: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
fix |
r |
||
Riga 18:
local current_page = mw.title.getCurrentTitle()
local current_namespace = current_page.namespace
local debug = args('debug')
-- non categorizzare se in ns:0
if current_namespace ~= 0 and not debug then
return ''
end
Riga 105 ⟶ 106:
end
local wrapped = {}
if
for _,cat in ipairs(new_categories) do
wrapped[#wrapped+1] = '[[:Categoria:' .. cat .. ']]'
| |||