Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m t0 |
mNessun oggetto della modifica |
||
Riga 65:
if tipo == 'programma' then
if string.find(mw.title.getCurrentTitle().text, '^.+%(
nome = sitelink else▼
elseif mw.title.new(string.format('%s (prima edizione)', sitelink)).exists then
nome = etichetta
end
Riga 72 ⟶ 74:
if string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei].+stagione%)$') then
nome = string.match(mw.title.getCurrentTitle().text, '^Episodi d[ei] (.+) %(%a+ stagione%)$')
elseif string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei]
nome = string.match(mw.title.getCurrentTitle().text, '^Episodi d[ei] (.+)$')
▲ --if string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei].+%(.*serie') then nome = sitelink
elseif mw.title.new(string.format('Episodi di %s (prima stagione)', sitelink)).exists or mw.title.new(string.format('Episodi de %s (prima stagione)', sitelink)).exists then
nome = sitelink else
|