Modulo:Citazione: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
compatibilità con modulo:Collegamenti esterni, vedi discussione |
m per prossimi miglioramenti al Collegamenti_esterni |
||
Riga 456:
--[[ ===============================================================================
===============================================================================]]
local function append_links(value, links)
for _, t in ipairs(links) do
t[2] = is_latin( t[2] ) and wrap( 'italic-title', t[2] ) or t[2] value = value .. ' / ' .. external_link( t[1], t[2] )
end
return value
Riga 1 145 ⟶ 1 147:
------------------------------------------------------------------------------
local auto_Periodical = false
if in_array(config.CitationClass, {'web
Periodical = mw.ustring.match(URL, "//([^/#%?]*)") or ''
-- tolgo anche eventuale www.
Riga 1 267 ⟶ 1 269:
not is_set(ArchiveURL) and
not is_set(ConferenceURL) then
--
if in_array(config.CitationClass, {'web
table.insert( z.message_tail, { set_error( 'cite_web_url', {}, true ) } );
end
Riga 1 360 ⟶ 1 362:
elseif is_set(URL) then
Chapter = external_link( URL, Chapter ) .. TransError;
▲ end
Chapter = Chapter .. Format;
URL = "";
Riga 1 393:
elseif is_set(URL) then
Title = external_link( URL, Title ) .. TransError
Title = Title .. Format
URL = "";
Riga 1 759 ⟶ 1 757:
end
-- Temporanea per retrocompatibilità
function z.collegamenti(args)
return citation0( {CitationClass = '
end
-- Funzione per generare direttamente una citazione
function z.
return citation0( {CitationClass =
end
|