Diferencies ente revisiones de «Módulu:Webarchive/data»

Contenido eliminado Contenido añadido
traducir
mSin resumen de edición
Etiqueta: Revertido
Llinia 42:
 
local categories = {
archiveis = 'Category:Wikipedia:Webarchive template archiveis links',
error = 'Category:Wikipedia:Webarchive template errors',
other = 'Category:Wikipedia:Webarchive template other archives',
unknown = 'Category:Wikipedia:Webarchive template unknown archives',
warning = 'Category:Wikipedia:Webarchive template warnings',
wayback = 'Category:Wikipedia:Webarchive template wayback links',
webcite = 'Category:Wikipedia:Webarchive template webcite links',
}
 
Llinia 59:
 
local prefixes = {
at = 'enat',
atthe = 'enat the',
}
 
Llinia 132:
 
local s_text = {
addlarchives = 'ArchivosAdditional complementariosarchives',
addlpages = 'PáxinesAdditional complementariespages archivaes enarchived on', -- TODO why the   there? replace with regular space?
Archive_index = 'ÍndizArchive d\'archivuindex',
Archived = 'ArchiváuArchived',
archived = 'archiváuarchived',
archive = 'archivuarchive',
Page = 'PáxinaPage',
}
 
Llinia 157:
 
--warnings
mismatch = '<sup>(LaDate fecha nun coincidemismatch)</sup>', -- webarchive
ts_len = '<sup>(LaTimestamp marca de tiempu tien un llargor incorrectulength)</sup>', -- decodeWaybackDate, decodeArchiveisDate timestamp not 14 digits
ts_cal = '<sup>(CalendariuCalendar)</sup>', -- decodeWaybackDate timestamp has trailing splat
}
 
 
local crit_err_msgs = { -- critical error messages
conflicting = 'ConflictuConflicting |$1= yand |$2=',
empty = 'URLEmpty vacíaurl',
-- iabot1 = 'https://web.http', -- TODO: these iabot bugs perportedly fixed; removing these causes lua script error
-- iabot2 = 'Invalid URL', -- at Template:Webarchive/testcases/Production; resolve that before deleting these messages
invalid_url = 'URLInvalid inválidaURL',
ts_nan = 'LaTimestamp marcanot dea tiempu nun ye un númberunumber',
unknown = 'ProblemaUnknown desconocíuproblem. PorPlease favor,report avisaon natemplate páxinatalk d\'alderique de la plantía.page',
}
 
Llinia 186:
['Jan'] = 1, ['Feb'] = 2, ['Mar'] = 3, ['Apr'] = 4, ['May'] = 5, ['Jun'] = 6, ['Jul'] = 7, ['Aug'] = 8, ['Sep'] = 9, ['Oct'] = 10, ['Nov'] = 11, ['Dec'] = 12,
-- add local wiki month-names to number translation here
-- ['Xineru'] = 1, ['Febreru'] = 2, ['Marzu'] = 3, ['Abril'] = 4, ['Mayu'] = 5, ['Xunu'] = 6, ['Xunetu'] = 7, ['Agostu'] = 8, ['Setiembre'] = 9, ['Ochobre'] = 10, ['Payares'] = 11, ['Avientu'] = 12,
['Xin'] = 1, ['Feb'] = 2, ['Mar'] = 3, ['Abr'] = 4, ['May'] = 5, ['Xun'] = 6, ['Xnt'] = 7, ['Ago'] = 8, ['Set'] = 9, ['Och'] = 10, ['Pay'] = 11, ['Avi'] = 12,
};
 
Línea 208 ⟶ 207:
local params = {
['url'] = {'url'},
['date'] = {'date', 'datum', 'fecha'},
['title'] = {'title', 'titel', 'títulu'},
['nolink'] = {'nolink'},
['format'] = {'format'}
Línea 216 ⟶ 215:
local enum_params = {
['url#'] = {'url#'},
['date#'] = {'date#', 'datum#', 'fecha#'},
['title#'] = {'title#', 'titel#', 'títulu#'},
}