Módulo:Citas/Configuración

De MacphersonWiki
Ir a la navegación Ir a la búsqueda

La documentación para este módulo puede ser creada en Módulo:Citas/Configuración/doc

citation_config = {};

--[[
List of namespaces that should not be included in citation
error categories.  Same as setting notracking = true by default

Note: Namespace names should use underscores instead of spaces.de

citation_config.uncategorized_namespaces = { 'User',  'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
	'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk', 
	'Module_talk', 'MediaWiki_talk' };
]]
citation_config.uncategorized_namespaces = { 'Usuario', 'Usuaria', 'Discusión', 'Usuario_discusión', 'Usuario_Discusión','Usuaria_Discusión', 'Usuaria_discusión', 'Wikipedia_discusión', 'Archivo_discusión', 
	'Plantilla_discusión',	'Ayuda_discusión', 'Categoría_discusión', 'Portal_Discusión', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk', 
	'Módulo_discusión', 'MediaWiki_discusión', 'Wikipedia', 'Wikiproyecto', 'Wikiproyecto_discusión' };

--[[
Translation table

The following contains fixed text that may be output as part of a citation.
This is separated from the main body to aid in future translations of this
module.
]]
citation_config.messages = {
  ['published']         = 'publicado el $1',     --'published $1',
  ['lay summary']       = 'Resumen divulgativo', --'Lay summary',
  ['retrieved']         = 'Consultado el $1',    --'Retrieved $1',
  ['inactive']          = 'inactivo',            --'inactive',
  ['archived-dead']     = 'Archivado desde $1 el $2',-- 'Archived from $1 on $2',
  ['archived-not-dead'] = '$1 desde el original el $2', --'$1 from the original on $2',
  ['archived-missing']  = 'Archivado desde el original$1 el $2', --'Archived from the original$1 on $2',
  ['archived']          = 'Archivado', --'Archived',
  ['original']         = 'el original', --'the original',
  ['editor']      = 'ed.',
  ['editors']     = 'eds.', 
  ['edition']     = '($1 edición)',  --'($1 ed.)', 
  ['interview'] = 'Entrevista con $1',	
  ['sin edición'] = '($1)',  -- No existe en la Wikipedia inglesa
  ['episode'] = 'episode',
  ['season'] = 'season', 
  ['series'] = 'series',
  ['cartography'] = 'Cartography by $1',
  ['section'] = 'Section $1',
  ['inset'] = '$1 inset',
  ['traductor']   = '($1, trad.)',
  ['traductores'] = '($1, trads.)',
  ['written'] = 'Escrito en $1', --'Written at $1',
  ['in'] = 'En', --'In',
  ['et al'] = "''et al.''", -- 'et al.', l
  
  ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:var(--color-subtle, #555 )">(requiere suscripción)</span>' ..
  	'[[Categoría:Wikipedia:Páginas con referencias que requieren suscripción]]',

  ['registration'] = '<span style="font-size:0.95em; font-size:90%; color:var(--color-subtle, #555 )">(requiere registro)</span>' ..
  	'[[Categoría:Wikipedia:Páginas con referencias que requieren registro]]',
  
  ['language'] = '<span style="color:var(--color-subtle, #555 );">(en $1)</span>', -- '(in $1)', 
  ['format']   = '<span style="color:var(--color-subtle, #555 );">($1)</span>',    -- No existe en la Wikipedia inglesa
  ['via'] = " &ndash; via $1",
  ['event'] = 'Escena en', --'Event occurs at',
  ['minutes'] = 'minutes in', 
  ['id']       = '<small>$1</small>', -- Nuevo. No existe en la plantilla original

  ['quoted-title']       = '«$1»', --'"$1"',
  ['italic-title']       = "''$1''",
  ['trans-quoted-title'] = "&#91;$1&#93;",
  ['trans-italic-title'] = "&#91;''$1''&#93;",
  ['quoted-text']        = '«$1»', -- '"$1"',

  ['parameter'] = '<code>&#124;$1=</code>',
  ['parameter-separator'] = ', ',
  ['parameter-final-separator'] = ', y ', -- ', and ',
  ['parameter-pair-separator'] = ' y ', -- ' and ',

  -- Error output
  ['hidden-error']  = '<span style="display:none;font-size:100%" class="error citation-comment">$1</span>',
  ['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',
  
  -- Determines the location of the help page
  ['help page link'] = 'Ayuda:Errores en las referencias', --'Help:CS1 errors',
  ['help page label'] = 'ayuda', --'help',
  
  -- Internal errors (should only occur if configuration is bad)
  ['undefined_error'] = 'Called with an undefined error condition',
  ['unknown_manual_ID'] = 'Unrecognized manual ID mode',
  ['unknown_ID_mode'] = 'Unrecognized ID mode',
  ['unknown_argument_map'] = 'Argument map not defined for this variable',
  ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
}

-- Aliases table for commonly passed parameters
citation_config.aliases = {
    ['AccessDate']  = {'fechaacceso', 'fecha-acceso', 'accessdate', 'access-date'}, --{'accessdate', 'accessyear'},
    ['AñoAcceso']   = {'añoacceso', 'accessyear'}, -- Inexistente en la plantilla original
    ['Agency']      = {'agencia', 'agency'},
    ['AirDate']     = 'airdate',
    ['ArchiveDate'] = {'fechaarchivo', 'archive-date', 'archivedate' },
    ['ArchiveURL']  = {'urlarchivo', 'archive-url', 'archiveurl' },
    ['At']          = {'en', 'at'},
    ['Authors']      = {'autores', 'persona', 'personas', 'authors', 'people', 'host'},
    ['AuthorFormat'] = {"author-format", "authorformat" },
    ['AuthorSeparator'] = {'separador-autores', 'author-separator'},
    ['AuthorNameSeparator'] = {'separador-nombres', 'author-name-separator'},
	['BookTitle'] = {'book-title', 'booktitle', 'títulolibro'},
	['Callsign'] = 'callsign',							-- cite interview
    ['Cartography'] = 'cartography',
    ['Chapter'] = {'capítulo', 'artículo', 'chapter', 'contribution', 'entry', 'article', 'section', 'notestitle'},		-- notestitle is deprecated used by old cite AV media notes; remove after 1 October 2014;
    ['ChapterLink'] = 'chapterlink',
    ['ChapterURL'] = {'url-capítulo', 'urlcapítulo', 'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
	['City'] = 'city',									-- cite interview
    ['Coauthors'] = {'coautores', 'coautor', 'coauthors', 'coauthor' },
    ['Cointerviewers'] = {'coentrevistadores', 'cointerviewers'},				-- cite interview
    ['Conference'] = {'conference', 'event', 'conferencia' },
	['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl', 'urlconferencia'},
    ['Date'] = {'fecha','date'},
    ['Day'] = {'día', 'day'},
    ['DeadURL'] = {'deadurl','urlmuerta'},
    ['Degree'] = {'degree', 'grado'},
    ['DisplayAuthors'] = {"número-autores", "display-authors", "displayauthors"},
    ['DisplayEditors'] = {"número-editores", "display-editors", "displayeditors"},
    ['Docket'] = 'docket',
    ['DoiBroken'] = {'fecha-doi-roto', 'doi_inactivedate', 'doi_brokendate', 'DoiBroken', 'doi-broken-date'},
    ['Edition'] = {'edición', 'edition'},
    ['Editors'] = 'editors',
    ['EditorFormat'] = {"editor-format", "editorformat" },
    ['EditorSeparator'] = 'editor-separator',
    ['EditorNameSeparator'] = 'editor-name-separator',
    ['Embargo'] = {'Embargo', 'embargo'},
    ['Extra']   = 'extra', -- Inexistente en la plantilla original    
    ['Format']  = {'formato', 'format'},
    ['ID'] = {'id', 'ID', 'publisherid'},				-- publisherid is deprecated; used by old cite AV media notes and old cite DVD notes; remove after 1 October 2014;
    ['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
    ['Inset'] = 'inset',
    ['Interviewer'] = {'entrevistador', 'interviewer'},					-- cite interview
    ['Issue'] = {'número', 'issue', 'number'},
    ['Language'] = {'idioma', 'language', 'in'},
    ['LastAuthorAmp'] = {'ampersand', 'lastauthoramp', 'last-author-amp'},
    ['LayDate'] = {'fecharesumen', 'fecha-resumen', 'fechaprofano', 'laydate'},
    ['LaySource'] = {'fuenteresumen', 'fuenteprofano', 'laysource'},
    ['LayURL'] = {'resumen', 'resumenprofano', 'layurl', 'laysummary'},
    ['MesAcceso']  = {'mesacceso', 'accessmonth'}, -- Inexistente en la plantilla original
    ['Minutes'] = 'minutes',
    ['Month'] = {'mes', 'month'},
    ['NameSeparator'] = 'name-separator',
    ['Network'] = 'network',
    ['NoPP'] = {'sinpp', 'nopp'},
    ['NoTracking'] = {"template doc demo", 'nocat', 
        'notracking', "no-tracking"},
    ['OrigYear'] = {'año-original', 'origyear', 'titleyear'},			-- titleyear is deprecated; used in old cite DVD notes; remove after 1 October 2014
    ['Others'] = {'otros', 'others', 'artist', 'director', 'bandname'},	-- artist and director are deprecated; used in old cite AV media notes and old cite DVD notes; remove after 1 October 2014
                                                                        -- bandname ya es obsoleto en la wikipedia inglesa.
    ['Page'] = {'página', 'p', 'page'},
    ['Pages'] = {'páginas', 'pp', 'pages'},
    ['Passage'] = 'pasaje',
    ['PassageURL'] = {'enlace-pasaje', 'url-pasaje'},
    ['Periodical'] = {'publicación', 'pub-periódica', 'periódico', 'revista', 'obra', 'journal', 'newspaper', 'magazine', 'work',
        'website', 'sitioweb', 'sitio web', 'periodical', 'enciclopedia', 'encyclopedia', 'encyclopaedia', 'diccionario', 'dictionary'},
    ['Place'] = {'lugar', 'localización', 'ubicación', 'ciudad', 'place', 'location'},
    ['PPrefix'] = 'PPrefix',
    ['PPPrefix'] = 'PPPrefix',
	['Program'] = 'program',							-- cite interview
    ['PostScript'] = {'puntofinal', 'postscript'},
    ['PublicationDate'] = {'fecha-publicación', 'publicationdate', 'publication-date' },
    ['PublicationPlace'] = {'lugar-publicación', 'ubicación-publicación', 'publication-place', 'publicationplace' },
    ['PublisherName'] = {'editorial', 'publisher', 'distributor', 'institution'},
    ['Quote'] = {'cita', 'quote', 'quotation'},
    ['Ref'] = {'ref', 'Ref'},
    ['RegistrationRequired'] = {'registration', 'requiere-registro', 'requiereregistro', 'registro'},
    ['Scale'] = 'scale',
    ['Section'] = 'section',
    ['Season'] = {'season', 'temporada'},
    ['Separator'] = {'separador', 'separator'},
    ['Series'] = {'serie', 'versión', 'colección', 'series', 'version'},
    ['SeriesSeparator'] = 'series-separator',
    ['SeriesLink'] = 'serieslink',
    ['SeriesNumber'] = {'seriesnumber', 'seriesno'},
    ['SinEd']   = 'sined', -- Inexistente en la plantilla original        
    ['Station'] = 'station',
    ['SubscriptionRequired'] = {'suscripción', 'subscription'},
    ['Time'] = {'tiempo', 'time'},
    ['TimeCaption'] = 'timecaption',
    ['Texto1'] = 1,
    ['Title'] = {'título', 'title'}, -- No pongo titre
    ['TitleLink'] = {'titlelink', 'episodelink', 'albumlink' },		-- albumlink is deprecated; used by old cite AV media notes; remove after 1 October 2014
    ['TitleNote'] = 'department',
    ['TitleType'] = {'tipo', 'medio', 'type', 'medium'},
    ['Traductor'] = 'traductor',
    ['Traductores'] = 'traductores',
    ['TransChapter'] = {'capítulo-trad','capítulotrad', 'trans-chapter', 'trans_chapter' },
    ['Transcript'] = 'transcript',
    ['TranscriptURL'] = {'transcript-url', 'transcripturl'},
    ['TransQuote'] = {'cita-trad', 'citatrad', 'trans-quote', 'trans_quote' },
    ['TransTitle'] = {'trad-título', 'títulotrad', 'título_trad', 'título-trad', 'trans-title', 'trans_title' },
    ['URL'] = {'url', 'URL'},
    ['UrlAccess'] = {'url-acceso', 'url-access'},
    ['Via'] = 'via',
    ['Volume'] = {'volumen', 'volume'},
    ['Year'] = {'año', 'year'},

    ['AuthorList-First'] = {"nombre#", "nombres#", "author#-first", "author-first#",
        "first#", "given#"},
    ['AuthorList-Last'] = {"apellido#", "apellidos#", "autor#", "author#-last", "author-last#", 
        "last#", "surname#", "Author#", "author#", "authors#", "subject#"},
    ['AuthorList-Link'] = {"enlace-autor#", "enlaceautor#", "author#-link", "author-link#", 
        "author#link", "authorlink#", "subjectlink#", "subject-link#"},
    ['AuthorList-Mask'] = {"máscara-autor#","máscaraautor#","author#-mask", "author-mask#", 
        "author#mask", "authormask#"},
    
    ['EditorList-First'] = {"nombre-editor#", "editor#-first", 
        "editor-first#", "editor-given#", "EditorGiven#"},
    ['EditorList-Last'] = {"apellido-editor#", "apellidos-editor#", "editor#-last", "editor-last#",
        "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},
    ['EditorList-Link'] = {"enlace-editor#", "enlaceeditor#", "editor#-link", "editor-link#", 
        "editor#link", "editorlink#"},
    ['EditorList-Mask'] = {"editor#-mask", "editor-mask#", 
        "editor#mask", "editormask#"},
    
}

citation_config.parametros_a_implementar={ --No aparece en la Wikipedia inglesa
	['urltrad']=true,
	['script-title']=true
}

-- Default parameter values
citation_config.defaults = {
    ['DeadURL'] = 'yes',
    ['AuthorSeparator'] = ';',  -- Por comprobar si poner &#059;&#32; ¿No hace falta poner el espacio?
    ['EditorSeparator'] = ';',
    ['NameSeparator'] = ',',    -- Por comprobar &#32;
    ['PPrefix'] = "p.&nbsp;",
    ['PPPrefix'] = "pp.&nbsp;",    
}

--[[
Error condition table

The following contains a list of IDs for various error conditions defined in the 
code.  For each ID, we specify a text message to display, an error category to
include, and whether the error message should be wrapped as a hidden comment.

Anchor changes require identical changes to matching anchor in Help:CS1 errors
]]

citation_config.error_conditions = {
	accessdate_missing_url = {
		message = '<code>&#124;fechaacceso=</code> requiere <code>&#124;url=</code>', --'<code>&#124;accessdate=</code> requires <code>&#124;url=</code>',
		anchor = 'accessdate_missing_url',
		category = 'Wikipedia:Páginas con referencias sin URL y con fecha de acceso', --'Pages using citations with accessdate and no URL',
		hidden = true },
	archive_missing_date = {
		message = '<code>&#124;urlarchivo=</code> requiere <code>&#124;fechaarchivo=</code>', --'<code>&#124;archiveurl=</code> requires <code>&#124;archivedate=</code>',
		anchor = 'archive_missing_date',
		category = 'Wikipedia:Páginas con referencias sin fechaarchivo y con urlarchivo', --'Pages with archiveurl citation errors',
		hidden = false },
	archive_missing_url = {
		message = '<code>&#124;urlarchivo=</code> requiere <code>&#124;url=</code>', --'<code>&#124;archiveurl=</code> requires <code>&#124;url=</code>',
		anchor = 'archive_missing_url',
		category = 'Wikipedia:Páginas con referencias sin URL y con urlarchivo', --'Pages with archiveurl citation errors',
		hidden = false },
	bad_authorlink = {
		message = 'Comprueba el valor del <code>&#124;enlaceautor=</code>', -- 'Check <code>&#124;authorlink=</code> value',
		anchor = 'bad_authorlink',
		category = 'Wikipedia:Páginas con referencias con enlaceautor incorrecto', -- 'CS1 errors: authorlink',
		hidden = false },
	bad_date = {
		message = 'Check date values in: <code>$1</code>',
		anchor = 'bad_date',
		category = 'CS1 errors: dates',
		hidden = true },
	bad_doi = {
		message = '<code>&#124;doi=</code> incorrecto',--'Check <code>&#124;doi=</code> value',
		anchor = 'bad_doi',
		category = 'Wikipedia:Páginas con DOI incorrectos', --'Pages with DOI errors',
		hidden = false },
	bad_hdl = {
		message = 'Check <code class="cs1-code">&#124;hdl=</code> value',
		anchor = 'bad_hdl',
		category = 'CS1 errors: HDL',
		hidden = false },
	bad_isbn = {
		message = '<code>&#124;isbn=</code> incorrecto', --'Check <code>&#124;isbn=</code> value',
		anchor = 'bad_isbn',
		category = 'Wikipedia:Páginas con ISBN incorrectos', --'Pages with ISBN errors',
		hidden = false },
	bad_issn = {
		message = '<code>&#124;issn=</code> incorrecto',--'Check <code>&#124;issn=</code> value',
		anchor = 'bad_issn',
		category = 'Wikipedia:Páginas con ISSN incorrectos', --'CS1 errors: ISSN',
		hidden = false },
	bad_lccn = {
		message = '<code>&#124;lccn=</code> incorrecto', --'Check <code>&#124;lccn=</code> value',
		anchor = 'bad_lccn',
		category = 'Wikipedia:Páginas con LCCN incorrectos', --'CS1 errors: LCCN',
		hidden = false },
	bad_ol = {
		message = 'Check <code>&#124;ol=</code> value',
		anchor = 'bad_ol',
		category = 'Pages with OL errors',
		hidden = false },
	bad_pmc = {
		message = '<code>&#124;pmc=</code> incorrecto', --'Check <code>&#124;pmc=</code> value',
		anchor = 'bad_pmc',
		category = 'Wikipedia:Páginas con PMC incorrectos', --'CS1 errors: PMC',
		hidden = false },
	bad_pmid = {
		message = '<code>&#124;pmid=</code> incorrecto', --'Check <code>&#124;pmid=</code> value',
		anchor = 'bad_pmid',
		category = 'Wikipedia:Páginas con PMID incorrectos', -- 'CS1 errors: PMID',
		hidden = false },
	bad_url = {
		message = '<code>&#124;url=</code> incorrecta', --'Check <code>&#124;url=</code> scheme',
		anchor = 'bad_url',
		category = 'Wikipedia:Páginas con URL incorrectas', --'Pages with URL errors',
		hidden = false },
	bad_url_autorreferencia = {
		message = '<code>&#124;url=</code> incorrecta con autorreferencia',
		anchor = 'bad_url_autorreferencia',
		category = 'Wikipedia:Páginas con autorreferencias',
		hidden = false },		
	bare_url_missing_title = {
		message = '$1 sin título',          --'$1 missing title',
		anchor = 'bare_url_missing_title',
		category = 'Wikipedia:Páginas con referencias sin título y con URL', -- 'Pages with citations having bare URLs',
		hidden = false },
	citation_missing_title = {
		message = 'Falta el <code>&#124;título=</code>', --'Missing or empty <code>&#124;title=</code>',
		anchor = 'citation_missing_title',
		category = 'Wikipedia:Páginas con referencias sin título', --'Pages with citations lacking titles',
		hidden = false },
	cite_web_url = {											-- this error applies to cite web and to cite podcast
		message = 'Falta la <code>&#124;url=</code>', --'Missing or empty <code>&#124;url=</code>',
		anchor = 'cite_web_url',
		category = 'Wikipedia:Páginas con referencias web sin URL', --'Pages using web citations with no URL',
		hidden = true },
	coauthors_missing_author = {
		message = '<code>&#124;coautores=</code> requiere <code>&#124;autor=</code>', --'<code>&#124;coauthors=</code> requires <code>&#124;author=</code>',
		anchor = 'coauthors_missing_author',
		category = 'Wikipedia:Páginas con referencias sin autor y con coautores', --'CS1 errors: coauthors without author',
		hidden = false },
	deprecated_params = {
		message = 'La referencia utiliza el parámetro obsoleto <code>&#124;$1=</code>', --'Cite uses deprecated parameters',
		anchor = 'deprecated_params',
		category = 'Wikipedia:Páginas con referencias con parámetros obsoletos', -- 'Pages containing cite templates with deprecated parameters',
		hidden = true },
	empty_citation = {
		message = 'Referencia vacía', 'Empty citation', --'Empty citation',
		anchor = 'empty_citation',
		category = 'Wikipedia:Páginas con referencias vacías', --'Pages with empty citations',
		hidden = false },
	extra_pages = {
		message = 'Extra <code>&#124;páginas=</code> o <code>&#124;en=</code>', --'Extra <code>&#124;pages=</code> or <code>&#124;at=</code>',
		anchor = 'extra_pages',
		category = 'Pages with citations using conflicting page specifications', --'Pages with citations using conflicting page specifications',
		hidden = false },
	format_missing_url = {
		message = '<code>&#124;formato=</code> requiere <code>&#124;url=</code>', --'<code>&#124;format=</code> requires <code>&#124;url=</code>',
		anchor = 'format_missing_url',
		category = 'Wikipedia:Páginas con referencias sin URL y con formato', --'Pages using citations with format and no URL',
		hidden = true },
	implict_etal_author = {
		message = 'Se sugiere usar <code>&#124;número-autores=</code>', --'<code>&#124;displayauthors=</code> suggested',
		anchor = 'displayauthors',
		category = 'Wikipedia:Páginas con referencias con et al. implícito en los autores', --'Pages using citations with old-style implicit et al.',
		hidden = true },
	implict_etal_editor = {
		message = 'Se sugiere usar <code>&#124;número-editores=</code>', --'<code>&#124;displayeditors=</code> suggested', --'<code>&#124;displayeditors=</code> suggested',
		anchor = 'displayeditors',
		category = 'Wikipedia:Páginas con referencias con et al. implícito en los editores', --'Pages using citations with old-style implicit et al. in editors',
		hidden = true },
	parameter_ignored = {
		message = 'Parámetro desconocido <code>&#124;$1=</code> ignorado',
		anchor = 'parameter_ignored',
		category = 'Wikipedia:Páginas con referencias con parámetros desconocidos', --'Pages with citations using unsupported parameters',
		hidden = false },
	parameter_ignored_suggest = {
		message = 'Parámetro desconocido <code>&#124;$1=</code> ignorado (se sugiere <code>&#124;$2=</code>)', --'Unknown parameter <code>&#124;$1=</code> ignored (<code>&#124;$2=</code> suggested)',
		anchor = 'parameter_ignored_suggest',
		category = 'Wikipedia:Páginas con referencias con parámetros sugeridos', --'Pages with citations using unsupported parameters',
		hidden = false },

    -- Pendiente implementar los parámetros urltrad de la cita web (No existe en la Wikipedia inglesa) y script-title.
	parametro_por_implementar = {
		message = 'Parámetro desconocido <code>&#124;$1=</code> ignorado',
		anchor = 'parametro_por_implementar',
		category = 'Wikipedia:Páginas con referencias con parámetros por implementar',
		hidden = false },
	
	redundant_parameters = {
		message = '$1 redundantes', --'More than one of $1 specified',
		anchor = 'redundant_parameters',
		category = 'Wikipedia:Páginas con referencias con parámetros redundantes', --'Pages with citations having redundant parameters',
		hidden = false },
	text_ignored = {
		message = 'Texto «$1» ignorado', --'Text "$1" ignored',
		anchor = 'text_ignored',
		category = 'Wikipedia:Páginas con referencias con parámetros sin nombre', -- 'Pages with citations using unnamed parameters',
		hidden = false },
	trans_missing_chapter = {
		message = '<code>&#124;capítulo-trad=</code> requiere <code>&#124;capítulo=</code>', --'<code>&#124;trans_chapter=</code> requires <code>&#124;chapter=</code>',
		anchor = 'trans_missing_chapter',
		category = 'Wikipedia:Páginas con referencias con términos traducidos sin el original', --'Pages with citations using translated terms without the original',
		hidden = false },
	trans_missing_title = {
		message = '<code>&#124;título-trad=</code> requiere <code>&#124;título=</code>',--'<code>&#124;trans_title=</code> requires <code>&#124;title=</code>',
		anchor = 'trans_missing_title',
		category = 'Wikipedia:Páginas con referencias con términos traducidos sin el original', --'Pages with citations using translated terms without the original',
		hidden = false },
	wikilink_in_url = {
		message = 'Wikienlace dentro del título de la URL', -- 'Wikilink embedded in URL title',
		anchor = 'wikilink_in_url',
		category = 'Wikipedia:Páginas con referencias con wikienlaces dentro del título de la URL', -- 'Pages with citations having wikilinks embedded in URL titles',
		hidden = false },
	url_sugerida = {	-- Se aplica cuando está informado el campo 1 con una url y la cita no tiene informada la url.
		message = 'Texto «$1» ignorado (se sugiere <code>&#124;$2=</code>)',
		anchor = 'url_sugerida',
		category = 'Wikipedia:Páginas con referencias con parámetros sugeridos (URL)',
		hidden = false },	
}

citation_config.id_handlers = {
    ['ARXIV'] = {
        parameters = {'arxiv', 'ARXIV'}, 
        link = 'arXiv',
        label = 'arXiv',
        mode = 'external',
        prefix = '//arxiv.org/abs/', -- protocol relative tested 2013-09-04
        encode = false,
        COinS = 'info:arxiv',
        separator = ':',
    },
    ['BIBCODE'] = {
        parameters = {'bibcode', 'BIBCODE'}, 
        link = 'Bibcode',
        label = 'Bibcode',
        mode = 'external',
        prefix = 'http://adsabs.harvard.edu/abs/',
        encode = false,
        COinS = 'info:bibcode',
        separator = ':',
    },
    ['DOI'] = {
        parameters = { 'doi', 'DOI' },
        link = 'Digital object identifier',
        label = 'doi',
        mode = 'manual',
        prefix = 'http://dx.doi.org/',
        COinS = 'info:doi',
        separator = ':',
        encode = true,
    },
    ['EISSN'] = {
		parameters = {'eissn', 'EISSN'},
		link = 'International Standard Serial Number#Electronic ISSN',
		redirect = 'eISSN (identifier)',
		q = 'Q46339674',
		label = 'eISSN',
		prefix = '//www.worldcat.org/issn/',
		COinS = 'rft.eissn',
		encode = false,
		separator = '&nbsp;',
		},
	['HDL'] = {
		parameters = { 'hdl', 'HDL' },
		link = 'Handle System',
		redirect = 'hdl (identifier)',
		q = 'Q3126718',
		mode = 'external',
		label = 'hdl',
		prefix = '//hdl.handle.net/',
		COinS = 'info:hdl',
		separator = ':',
		encode = true,
		custom_access = 'hdl-access',
		},
    ['ISBN'] = {
        parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'}, 
        link = 'ISBN', --'International Standard Book Number',
        label = 'ISBN',
        mode = 'manual',
        prefix = 'Special:BookSources/',
        COinS = 'rft.isbn',
        separator = '&nbsp;',
    },
    ['ISSN'] = {
        parameters = {'issn', 'ISSN'}, 
        link = 'ISSN', --'International Standard Serial Number',
        label = 'ISSN',
        mode = 'manual',
        prefix = '//portal.issn.org/resource/issn/',
        COinS = 'rft.issn',
        encode = false,
        separator = '&nbsp;',
    },
    ['JFM'] = {
        parameters = {'jfm', 'JFM'}, 
        link = 'Jahrbuch über die Fortschritte der Mathematik',
        label = 'JFM',
        mode = 'external',
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
        COinS = 'rft.jfm',
        encode = true,
        separator = '&nbsp;',
    },
    ['JSTOR'] = {
        parameters = {'jstor', 'JSTOR'}, 
        link = 'JSTOR',
        label = 'JSTOR',
        mode = 'external',
        prefix = '//www.jstor.org/stable/', -- protocol relative tested 2013-09-04
        COinS = 'rft.jstor',
        encode = true,
        separator = '&nbsp;',
    },
    ['LCCN'] = {
        parameters = {'LCCN', 'lccn'}, 
        link = 'Library of Congress Control Number',
        label = 'LCCN',
        mode = 'manual',
        prefix = 'http://lccn.loc.gov/',
        COinS = 'rft.lccn',
        encode = false,
        separator = '&nbsp;',
    },
    ['MR'] = {
        parameters = {'MR', 'mr'}, 
        link = 'Mathematical Reviews',
        label = 'MR',
        mode = 'external',
        prefix = '//www.ams.org/mathscinet-getitem?mr=', -- protocol relative tested 2013-09-04
        COinS = 'rft.mr',
        encode = true,
        separator = '&nbsp;',
    },
    ['OCLC'] = {
        parameters = {'OCLC', 'oclc'}, 
        link = 'OCLC', --'Online Computer Library Center',
        label = 'OCLC',
        mode = 'external',
        prefix = '//www.worldcat.org/oclc/',
        COinS = 'info:oclcnum',
        encode = true,
        separator = '&nbsp;',
    },
    ['OL'] = {
        parameters = { 'ol', 'OL' },
        link = 'Open Library',
        label = 'OL',
        mode = 'manual',
        COinS = 'info:olnum',
        separator = '&nbsp;',
        encode = true,
    },
    ['OSTI'] = {
        parameters = {'OSTI', 'osti'}, 
        link = 'Office of Scientific and Technical Information',
        label = 'OSTI',
        mode = 'external',
        prefix = '//www.osti.gov/energycitations/product.biblio.jsp?osti_id=', -- protocol relative tested 2013-09-04
        COinS = 'info:osti',
        encode = true,
        separator = '&nbsp;',
    },
    ['PMC'] = {
        parameters = {'PMC', 'pmc'}, 
        link = 'PubMed Central',
        label = 'PMC',
        mode = 'manual',		-- changed to support unlinking of PMC identifier when article is embargoed
        prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC', 
        suffix = " ",
        COinS = 'info:pmc',
        encode = true,
        separator = '&nbsp;',
    },
    ['PMID'] = {
        parameters = {'PMID', 'pmid'}, 
        link = 'PubMed Identifier',
        label = 'PMID',
        mode = 'manual',		-- changed from external manual to support PMID validation
        prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
        COinS = 'info:pmid',
        encode = false,
        separator = '&nbsp;',
    },
    ['RFC'] = {
        parameters = {'RFC', 'rfc'}, 
        link = 'Request for Comments',
        label = 'RFC',
        mode = 'external',
        prefix = '//tools.ietf.org/html/rfc',
        COinS = 'info:rfc',
        encode = false,
        separator = '&nbsp;',
    },
	['S2CID'] = {
		parameters = {'s2cid', 'S2CID'},
		link = 'Semantic Scholar',
		label = 'S2CID',
        mode = 'external',
		prefix = 'https://api.semanticscholar.org/CorpusID:',
		COinS = 'pre',															-- use prefix value
		encode = false,
		separator = '&nbsp;',
	},
    ['SSRN'] = {
        parameters = {'SSRN', 'ssrn'}, 
        link = 'Social Science Research Network',
        label = 'SSRN',
        mode = 'external',
        prefix = '//ssrn.com/abstract=', -- protocol relative tested 2013-09-04
        COinS = 'info:ssrn',
        encode = true,
        separator = '&nbsp;',
    },
    ['ZBL'] = {
        parameters = {'ZBL', 'zbl'}, 
        link = 'Zentralblatt MATH',
        label = 'Zbl',
        mode = 'external',
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
        COinS = 'info:zbl',
        encode = true,
        separator = '&nbsp;',
    },
    ['WIKIDATA'] = {
    	parameters = {'wikidata'},
    	link = 'Wikidata',
    	label = 'Wikidata',
    	mode = 'internal',
    	prefix = ':d:',
    	COinS = '', -- ?
    	encode = false,
    	separator = '&nbsp;',
    }
}

return citation_config;