2 354
contributi
m (una versione importata) |
Nessun oggetto della modifica |
||
(Una versione intermedia di uno stesso utente non è mostrata) | |||
Riga 331: | Riga 331: | ||
if #portals < 6 then | if #portals < 6 then | ||
local ucarg = lang:ucfirst(arg) | local ucarg = lang:ucfirst(arg) | ||
if titleExists('Portale:' .. ucarg) then | if titleExists('wikipedia:it:Portale:' .. ucarg) then | ||
table.insert(portals, { ucname=ucarg, name=arg }) | table.insert(portals, { ucname=ucarg, name=arg }) | ||
else | else | ||
Riga 361: | Riga 361: | ||
title = 'Occhiello', | title = 'Occhiello', | ||
args = { icona = portals[1].ucname, | args = { icona = portals[1].ucname, | ||
titolo = mw.ustring.format('[[Portale:%s|Portale %s]]', ucname, ucname), | titolo = mw.ustring.format('[[wikipedia:it:Portale:%s|Portale %s]]', ucname, ucname), | ||
frase = single_portal[ucname] or mw.ustring.format('accedi alle voci di Wikipedia che trattano di %s', portals[1].name) | frase = single_portal[ucname] or mw.ustring.format('accedi alle voci di Wikipedia che trattano di %s', portals[1].name) | ||
} | } | ||
Riga 372: | Riga 372: | ||
title = 'Occhiello', | title = 'Occhiello', | ||
args = { icona = portal.ucname, | args = { icona = portal.ucname, | ||
titolo = mw.ustring.format('[[Portale:%s|Portale %s]]', portal.ucname, portal.ucname) | titolo = mw.ustring.format('[[wikipedia:it:Portale:%s|Portale %s]]', portal.ucname, portal.ucname) | ||
} | } | ||
}) | }) |
contributi