模块:Citation/CS1/Configuration:修订间差异

imported>Liangent
无编辑摘要
imported>Liangent
建立内容为“citation_config = {}; -- override <code>...</code> styling to remove color, border, and padding. <code> css is specified here: -- https://git.wiki...”的新页面
第1行: 第1行:
citation_config = {};
citation_config = {};
-- override <code>...</code> styling to remove color, border, and padding.  <code> css is specified here:
-- https://git.wikimedia.org/blob/mediawiki%2Fcore.git/69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199
local code_style="color:inherit; border:inherit; padding:inherit;";


--[[
--[[
第7行: 第11行:
Note: Namespace names should use underscores instead of spaces.
Note: Namespace names should use underscores instead of spaces.
]]
]]
citation_config.uncategorized_namespaces = { 'User', 'User_talk', 'Wikipedia_talk' };
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' };


--[[
--[[
第17行: 第23行:
]]
]]
citation_config.messages = {
citation_config.messages = {
   ['published'] = '$1',
   ['published'] = 'published $1',
   ['lay summary'] = 'Lay summary',
   ['lay summary'] = 'Lay summary',
   ['retrieved'] = '&#91;$1&#93;',
   ['retrieved'] = 'Retrieved $1',
   ['inactive'] = '不活跃',
   ['inactive'] = 'inactive',
   ['archived-dead'] = '$1存档于$2)',
   ['archived-dead'] = 'Archived from $1 on $2',
   ['archived-not-dead'] = '(原始内容$1于$2)',
   ['archived-not-dead'] = '$1 from the original on $2',
   ['archived-missing'] = '(原始内容$1存档于$2)',
   ['archived-missing'] = 'Archived from the original$1 on $2',
   ['archived'] = '存档',
   ['archived'] = 'Archived',
   ['original'] = '原始内容',
   ['original'] = 'the original',
   ['editor'] = '',
   ['editor'] = 'ed.',
   ['editors'] = '',  
   ['editors'] = 'eds.',  
   ['edition'] = '$1',  
   ['edition'] = '($1 ed.)',  
   ['episode'] = '',
   ['episode'] = 'episode',
   ['season'] = '',  
   ['season'] = 'season',  
   ['series'] = '系列',
   ['series'] = 'series',
   ['written'] = '写于$1',
  ['cartography'] = 'Cartography by $1',
   ['in'] = '(编)',
  ['section'] = 'Section $1',
   ['et al'] = '',  
  ['inset'] = '$1 inset',
   ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(需要订阅)</span>',  
   ['written'] = 'Written at $1',
   ['language'] = '<span style="font-family: sans-serif; cursor: default; color:#555; font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到$1网页">($1)</span>',  
   ['in'] = 'In',
   ['via'] = " &mdash;通过$1",
   ['et al'] = 'et al.',  
   ['event'] = '事件发生在',
 
   ['minutes'] = '记录于',  
   ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  '[[Category:Pages containing links to subscription-only content]]',  
 
   ['registration']='<span style="font-size:0.95em; font-size:90%; color:#555">(registration required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require registration." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  '[[Category:Pages with login required references or sources]]',
 
  ['language'] = '(in $1)',  
   ['via'] = " &ndash; via $1",
   ['event'] = 'Event occurs at',
   ['minutes'] = 'minutes in',  


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


   ['parameter'] = '<code>&#124;$1=</code>',
   ['parameter'] = '<code style="'..code_style..'">&#124;$1=</code>',
   ['parameter-separator'] = '',
   ['parameter-separator'] = ', ',
   ['parameter-final-separator'] = '',
   ['parameter-final-separator'] = ', and ',
   ['parameter-pair-separator'] = '',
   ['parameter-pair-separator'] = ' and ',
 
 
   -- Error output
   -- Error output
  -- .error class is specified at https://git.wikimedia.org/blob/mediawiki%2Fcore.git/9553bd02a5595da05c184f7521721fb1b79b3935/skins%2Fcommon%2Fshared.css#L538
  -- .citation-comment class is specified at Help:CS1_errors#Controlling_error_message_display
   ['hidden-error'] = '<span style="display:none;font-size:100%" class="error citation-comment">$1</span>',
   ['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>',
   ['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',
    
    
   -- Determines the location of the help page
   -- Determines the location of the help page
   ['help page link'] = 'Help:引文格式1错误',
   ['help page link'] = 'Help:CS1 errors',
   ['help page label'] = '帮助',
   ['help page label'] = 'help',
    
    
   -- Internal errors (should only occur if configuration is bad)
   -- Internal errors (should only occur if configuration is bad)
   ['undefined_error'] = '调用了一个未定义的错误条件',
   ['undefined_error'] = 'Called with an undefined error condition',
   ['unknown_manual_ID'] = '无法识别的手动ID模式',
   ['unknown_manual_ID'] = 'Unrecognized manual ID mode',
   ['unknown_ID_mode'] = '无法识别的ID模式',
   ['unknown_ID_mode'] = 'Unrecognized ID mode',
   ['unknown_argument_map'] = 'Argument map not defined for this variable',
   ['unknown_argument_map'] = 'Argument map not defined for this variable',
   ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
   ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
第70行: 第87行:
-- Aliases table for commonly passed parameters
-- Aliases table for commonly passed parameters
citation_config.aliases = {
citation_config.aliases = {
    ['AccessDate'] = 'accessdate',
['AccessDate'] = {'access-date', 'accessdate'},
    ['Agency'] = 'agency',
['Agency'] = 'agency',
    ['AirDate'] = 'airdate',
['AirDate'] = {'air-date', 'airdate'},
    ['ArchiveDate'] = {'archive-date', 'archivedate' },
['ArchiveDate'] = {'archive-date', 'archivedate'},
    ['ArchiveURL'] = {'archive-url', 'archiveurl' },
['ArchiveURL'] = {'archive-url', 'archiveurl'},
    ['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
    ['At'] = 'at',
['At'] = 'at',
    ['Authors'] = {'authors', 'people'},
['Authors'] = {'authors', 'people', 'host'},
    ['AuthorFormat'] = {"author-format", "authorformat" },
['AuthorFormat'] = {'author-format', 'authorformat'},
    ['AuthorSeparator'] = 'author-separator',
['AuthorSeparator'] = 'author-separator',
    ['AuthorNameSeparator'] = 'author-name-separator',
['AuthorNameSeparator'] = 'author-name-separator',
    ['BookTitle'] = 'booktitle',
['BookTitle'] = {'book-title', 'booktitle'},
    ['Cartography'] = 'cartography',
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview
    ['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section' },
['Cartography'] = 'cartography',
    ['ChapterLink'] = 'chapterlink',
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section', 'notestitle'}, -- notestitle is deprecated; remove after 1 October 2014; used by old cite AV media notes
    ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
['ChapterLink'] = {'chapter-link', 'chapterlink'},
    ['Coauthors'] = {'coauthors', 'coauthor' },
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
    ['Conference'] = 'conference',
['City'] = 'city', -- cite interview
    ['ConferenceURL'] = {'conference-url', 'conferenceurl' },
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 October 2014
    ['Date'] = 'date',
['Cointerviewers'] = 'cointerviewers', -- cointerviewers is deprecated; remove after 1 October 2014; used by cite interview
    ['Day'] = 'day',
['Conference'] = {'conference', 'event'},
    ['DeadURL'] = 'deadurl',
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
    ['DisplayAuthors'] = {"display-authors", "displayauthors"},
['Date'] = 'date',
    ['DisplayEditors'] = {"display-editors", "displayeditors"},
['Day'] = 'day',
    ['DoiBroken'] = {'doi_inactivedate', 'doi_brokendate', 'DoiBroken'},
['DeadURL'] = {'dead-url', 'deadurl'},
    ['Edition'] = 'edition',
['Degree'] = 'degree',
    ['Editors'] = 'editors',
['DisplayAuthors'] = {'display-authors', 'displayauthors'},
    ['EditorFormat'] = {"editor-format", "editorformat" },
['DisplayEditors'] = {'display-editors', 'displayeditors'},
    ['EditorSeparator'] = 'editor-separator',
['Docket'] = 'docket',
    ['EditorNameSeparator'] = 'editor-name-separator',
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate'},
    ['Embargo'] = {'Embargo', 'embargo'},
['Edition'] = 'edition',
    ['Format'] = 'format',
['Editors'] = 'editors',
    ['ID'] = {'id', 'ID', 'docket'},
['EditorFormat'] = {'editor-format', 'editorformat'},
    ['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
['EditorSeparator'] = 'editor-separator',
    ['Inset'] = 'inset',
['EditorNameSeparator'] = 'editor-name-separator',
    ['Issue'] = {'issue', 'number'},
['Embargo'] = {'Embargo', 'embargo'},
    ['Language'] = {'language', 'in'},
['Format'] = 'format',
    ['LastAuthorAmp'] = 'lastauthoramp',
['ID'] = {'id', 'ID', 'publisherid'}, -- publisherid is deprecated; remove after 1 October 2014; used by old cite AV media notes and old cite DVD notes
    ['LayDate'] = 'laydate',
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
    ['LaySource'] = 'laysource',
['Inset'] = 'inset',
    ['LayURL'] = {'layurl', 'laysummary'},
['Interviewer'] = 'interviewer', -- cite interview
    ['Minutes'] = 'minutes',
['Issue'] = {'issue', 'number'},
    ['Month'] = 'month',
['Language'] = {'language', 'in'},
    ['NameSeparator'] = 'name-separator',
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
    ['Network'] = 'network',
['LayDate'] = {'lay-date', 'laydate'},
    ['NoPP'] = 'nopp',
['LaySource'] = {'lay-source', 'laysource'},
    ['NoTracking'] = {"template doc demo", 'nocat',  
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
        'notracking', "no-tracking"},
['Minutes'] = 'minutes',
    ['OrigYear'] = 'origyear',
['Month'] = 'month',
    ['Others'] = 'others',
['NameSeparator'] = 'name-separator',
    ['Page'] = {'p', 'page'},
['Network'] = 'network',
    ['Pages'] = {'pp', 'pages'},
['NoPP'] = {'no-pp', 'nopp'},
    ['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat',  
        'website', 'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
'no-tracking', 'notracking'},
    ['Place'] = {'place', 'location'},
['OrigYear'] = {'orig-year', 'origyear', 'titleyear'}, -- titleyear is deprecated; remove after 1 October 2014; used in old cite DVD notes
    ['PPrefix'] = 'PPrefix',
['Others'] = {'others', 'artist', 'director'}, -- artist and director are deprecated; remove after 1 October 2014; used in old cite AV media notes and old cite DVD notes
    ['PPPrefix'] = 'PPPrefix',
['Page'] = {'p', 'page'},
    -- LOCAL
['Pages'] = {'pp', 'pages'},
    ['PSuffix'] = 'PSuffix',
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
    ['PPSuffix'] = 'PPSuffix',
'website''periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
    -- END LOCAL
['Place'] = {'place', 'location'},
    ['PostScript'] = 'postscript',
['PPrefix'] = {'p-prefix', 'PPrefix'},
    ['PublicationDate'] = {'publicationdate', 'publication-date' },
['PPPrefix'] = {'pp-prefix', 'PPPrefix'},
    ['PublicationPlace'] = {'publication-place', 'publicationplace' },
['Program'] = 'program', -- cite interview
    ['PublisherName'] = 'publisher',
['PostScript'] = 'postscript',
    ['Quote'] = {'quote', 'quotation'},
['PublicationDate'] = {'publicationdate', 'publication-date'},
    ['Ref'] = {'ref', 'Ref'},
['PublicationPlace'] = {'publication-place', 'publicationplace'},
    ['Scale'] = 'scale',
--[[ Hide unfinished cite newsgroup code so that long delayed update can take place
    ['Section'] = 'section',
['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},
    ['Season'] = 'season',
]] ['PublisherName'] = {'publisher', 'distributor', 'institution'},
    ['Separator'] = 'separator',
['Quote'] = {'quote', 'quotation'},
    ['Series'] = {'series', 'version'},
['Ref'] = {'ref', 'Ref'},
    ['SeriesSeparator'] = 'series-separator',
['RegistrationRequired'] = 'registration',
    ['SeriesLink'] = 'serieslink',
['Scale'] = 'scale',
    ['SeriesNumber'] = {'seriesnumber', 'seriesno'},
['Section'] = 'section',
    ['Station'] = 'station',
['Season'] = 'season',
    ['SubscriptionRequired'] = 'subscription',
['Separator'] = 'separator',
    ['Time'] = 'time',
['Series'] = {'series', 'version'},
    ['TimeCaption'] = 'timecaption',
['SeriesSeparator'] = 'series-separator',
    ['Title'] = 'title',
['SeriesLink'] = {'series-link', 'serieslink'},
    ['TitleLink'] = {'titlelink', 'episodelink' },
['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
    ['TitleNote'] = 'department',
['Station'] = 'station',
    ['TitleType'] = {'type', 'medium'},
['SubscriptionRequired'] = 'subscription',
    ['TransChapter'] = {'trans-chapter', 'trans_chapter' },
['Time'] = 'time',
    ['Transcript'] = 'transcript',
['TimeCaption'] = {'time-caption', 'timecaption'},
    ['TranscriptURL'] = {'transcript-url', 'transcripturl'},
['Title'] = 'title',
    ['TransTitle'] = {'trans-title', 'trans_title',
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink', 'albumlink'}, -- albumlink is deprecated; remove after 1 October 2014; used by old cite AV media notes
-- LOCAL
['TitleNote'] = 'department',
    'title_zh',
['TitleType'] = {'type', 'medium'},
-- END LOCAL
['TransChapter'] = {'trans-chapter', 'trans_chapter'},
    },
['Transcript'] = 'transcript',
    ['URL'] = {'url', 'URL'},
['TranscriptURL'] = {'transcript-url', 'transcripturl'},
    ['Via'] = 'via',
['TransTitle'] = {'trans-title', 'trans_title'},
    ['Volume'] = 'volume',
['URL'] = {'url', 'URL'},
    ['Year'] = 'year',
['Via'] = 'via',
['Volume'] = 'volume',
['Year'] = 'year',


    ['AuthorList-First'] = {"author#-first", "author-first#",
['AuthorList-First'] = {"author#-first", "author-first#",
        "first#", "given#"},
"first#", "given#"},
    ['AuthorList-Last'] = {"author#-last", "author-last#",  
['AuthorList-Last'] = {"author#-last", "author-last#",  
        "last#", "surname#", "Author#", "author#", "authors#"},
"last#", "surname#", "Author#", "author#", "authors#", "subject#"},
    ['AuthorList-Link'] = {"author#-link", "author-link#",  
['AuthorList-Link'] = {"author#-link", "author-link#",  
        "author#link", "authorlink#"},
"author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#"},
    ['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
        "author#mask", "authormask#"},
"author#mask", "authormask#"},
   
    ['EditorList-First'] = {"editor#-first",  
['EditorList-First'] = {"editor#-first",  
        "editor-first#", "EditorGiven#"},
"editor-first#", "editor#-given", "editor-given#", "EditorGiven#"},
    ['EditorList-Last'] = {"editor#-last", "editor-last#",
['EditorList-Last'] = {"editor#-last", "editor-last#",
        "EditorSurname#", "Editor#", "editor#", "editors#"},
"editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},
    ['EditorList-Link'] = {"editor#-link", "editor-link#",  
['EditorList-Link'] = {"editor#-link", "editor-link#",  
        "editor#link", "editorlink#"},
"editor#link", "editorlink#"},
    ['EditorList-Mask'] = {"editor#-mask", "editor-mask#",  
['EditorList-Mask'] = {"editor#-mask", "editor-mask#",  
        "editor#mask", "editormask#"},
"editor#mask", "editormask#"},
   
}
}


-- Default parameter values
-- Default parameter values
citation_config.defaults = {
citation_config.defaults = {
    ['DeadURL'] = 'yes',
['DeadURL'] = 'yes',
    ['PostScript'] = '.',
['AuthorSeparator'] = ';',
    ['Separator'] = '.',
['EditorSeparator'] = ';',
    ['AuthorSeparator'] = ';',
['NameSeparator'] = ',',
    ['EditorSeparator'] = ';',
['PPrefix'] = "p.&nbsp;",
    ['NameSeparator'] = ',',
['PPPrefix'] = "pp.&nbsp;",
    ['PPrefix'] = "",
    ['PPPrefix'] = "",  
    -- LOCAL
    ['PSuffix'] = "",
    ['PPSuffix'] = "",   
    -- END LOCAL
}
}


第213行: 第226行:


citation_config.error_conditions = {
citation_config.error_conditions = {
    accessdate_missing_url = {
accessdate_missing_url = {
        message = '使用<code>&#124;accessdate=</code>需要含有<code>&#124;url=</code>',
message = '<code style="'..code_style..'">&#124;accessdate=</code> requires <code style="'..code_style..'">&#124;url=</code>',
        anchor = 'accessdate_missing_url',
anchor = 'accessdate_missing_url',
        category = '含有访问日期但无网址的引用的页面',
category = 'Pages using citations with accessdate and no URL',
        hidden = true },
hidden = true },
    archive_missing_date = {
archive_missing_date = {
        message = '使用<code>&#124;archiveurl=</code>需要含有<code>&#124;archivedate=</code>',
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;archivedate=</code>',
        anchor = 'archive_missing_date',
anchor = 'archive_missing_date',
        category = '含有存档网址错误的引用的页面‎',
category = 'Pages with archiveurl citation errors',
        hidden = false },
hidden = false },
    archive_missing_url = {
archive_missing_url = {
        message = '使用<code>&#124;archiveurl=</code>需要含有<code>&#124;url=</code>',
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;url=</code>',
        anchor = 'archive_missing_url',
anchor = 'archive_missing_url',
        category = '含有存档网址错误的引用的页面‎',
category = 'Pages with archiveurl citation errors',
        hidden = false },
hidden = false },
    bad_doi = {
bad_arxiv = {
        message = '请检查<code>&#124;doi=</code>',
message = 'Check <code style="'..code_style..'">&#124;arxiv=</code> value',
        anchor = 'bad_doi',
anchor = 'bad_arxiv',
        category = '含有DOI错误的引用的页面',
category = 'CS1 errors: arXiv',
        hidden = false },
hidden = false },
    bad_isbn = {
bad_authorlink = {
        message = '请检查<code>&#124;isbn=</code>',
message = 'Check <code style="'..code_style..'">&#124;authorlink=</code> value',
        anchor = 'bad_isbn',
anchor = 'bad_authorlink',
        category = '含有ISBN错误的引用的页面',
category = 'CS1 errors: authorlink',
        hidden = false },
hidden = false },
    bad_ol = {
bad_date = {
        message = '请检查<code>&#124;ol=</code>',
message = 'Check date values in: <code style="'..code_style..'">$1</code>',
        anchor = 'bad_ol',
anchor = 'bad_date',
        category = '含有OL错误的引用的页面',
category = 'CS1 errors: dates',
        hidden = false },
hidden = true },
    bad_url = {
bad_doi = {
        message = '请检查<code>&#124;url=</code>格式',
message = 'Check <code style="'..code_style..'">&#124;doi=</code> value',
        anchor = 'bad_url',
anchor = 'bad_doi',
        category = '含有网址格式错误的引用的页面',
category = 'Pages with DOI errors',
        hidden = false },
hidden = false },
    bare_url_missing_title = {
bad_isbn = {
        message = '$1缺少标题',
message = 'Check <code style="'..code_style..'">&#124;isbn=</code> value',
        anchor = 'bare_url_missing_title',
anchor = 'bad_isbn',
        category = '含有裸露网址的引用的页面‎',
category = 'Pages with ISBN errors',
        hidden = false },
hidden = false },
    citation_missing_title = {
bad_issn = {
        message = '缺少或<code>&#124;title=</code>为空',
message = 'Check <code style="'..code_style..'">&#124;issn=</code> value',
        anchor = 'citation_missing_title',
anchor = 'bad_issn',
        category = '含有缺少标题的引用的页面‎',
category = 'CS1 errors: ISSN',
        hidden = false },
hidden = false },
    cite_web_url = {
bad_lccn = {
        message = '缺少或<code>&#124;url=</code>为空',
message = 'Check <code style="'..code_style..'">&#124;lccn=</code> value',
        anchor = 'cite_web_url',
anchor = 'bad_lccn',
        category = '含有缺少网址的网站引用的页面‎',
category = 'CS1 errors: LCCN',
        hidden = true },
hidden = false },
    empty_citation = {
bad_ol = {
        message = '空引用‎',
message = 'Check <code style="'..code_style..'">&#124;ol=</code> value',
        anchor = 'empty_citation',
anchor = 'bad_ol',
        category = '含有空引用的页面‎',
category = 'Pages with OL errors',
        hidden = false },
hidden = false },
    extra_pages = {
bad_pmc = {
        message = '<code>&#124;pages=</code><code>&#124;at=</code>多余',
message = 'Check <code style="'..code_style..'">&#124;pmc=</code> value',
        anchor = 'extra_pages',
anchor = 'bad_pmc',
        category = '含有页码指定冲突的引用的页面‎',
category = 'CS1 errors: PMC',
        hidden = false },
hidden = false },
    format_missing_url = {
bad_pmid = {
        message = '使用<code>&#124;format=</code>需要含有<code>&#124;url=</code>',
message = 'Check <code style="'..code_style..'">&#124;pmid=</code> value',
        anchor = 'format_missing_url',
anchor = 'bad_pmid',
        category = '含有网络文件格式但无网址的引用的页面‎',
category = 'CS1 errors: PMID',
        hidden = true },
hidden = false },
    implict_etal_author = {
bad_url = {
        message = '建议使用<code>&#124;displayauthors=</code>',
message = 'Check <code style="'..code_style..'">&#124;url=</code> scheme',
        anchor = 'displayauthors',
anchor = 'bad_url',
        category = '含有旧式缩略标签的引用的页面‎',
category = 'Pages with URL errors',
        hidden = true },
hidden = false },
    implict_etal_editor = {
bare_url_missing_title = {
        message = '建议使用<code>&#124;displayeditors=</code>',
message = '$1 missing title',
        anchor = 'displayeditors',
anchor = 'bare_url_missing_title',
        category = '含有旧式缩略标签的引用的页面‎',
category = 'Pages with citations having bare URLs',
        hidden = true },
hidden = false },
    parameter_ignored = {
citation_missing_title = {
        message = '已忽略未知参数<code>&#124;$1=</code>',
message = 'Missing or empty <code style="'..code_style..'">&#124;title=</code>',
        anchor = 'parameter_ignored',
anchor = 'citation_missing_title',
        category = '含有未知参数的引用的页面',
category = 'Pages with citations lacking titles',
        hidden = false },
hidden = false },
    parameter_ignored_suggest = {
cite_web_url = { -- this error applies to cite web and to cite podcast
        message = '已忽略未知参数<code>&#124;$1=</code>(建议使用<code>&#124;$2=</code>',
message = 'Missing or empty <code style="'..code_style..'">&#124;url=</code>',
        anchor = 'parameter_ignored_suggest',
anchor = 'cite_web_url',
        category = '含有未知参数的引用的页面',
category = 'Pages using web citations with no URL',
        hidden = false },
hidden = true },
    redundant_parameters = {
coauthors_missing_author = {
        message = '$1只需其一',
message = '<code style="'..code_style..'">&#124;coauthors=</code> requires <code style="'..code_style..'">&#124;author=</code>',
        anchor = 'redundant_parameters',
anchor = 'coauthors_missing_author',
        category = '含有冗余参数的引用的页面',
category = 'CS1 errors: coauthors without author',
        hidden = false },
hidden = false },
    text_ignored = {
deprecated_params = {
        message = '已忽略文本“$1”',
message = 'Cite uses deprecated parameters',
        anchor = 'text_ignored',
anchor = 'deprecated_params',
        category = '含有未命名参数的引用的页面',
category = 'Pages containing cite templates with deprecated parameters',
        hidden = false },
hidden = true },
    trans_missing_chapter = {
empty_citation = {
        message = '使用<code>&#124;trans-chapter=</code>需要含有<code>&#124;chapter=</code>',
message = 'Empty citation',
        anchor = 'trans_missing_chapter',
anchor = 'empty_citation',
        category = '含有不带原名的译名的引用的页面',
category = 'Pages with empty citations',
        hidden = false },
hidden = false },
    trans_missing_title = {
extra_pages = {
        message = '使用<code>&#124;trans-title=</code>需要含有<code>&#124;title=</code>',
message = 'Extra <code style="'..code_style..'">&#124;pages=</code> or <code style="'..code_style..'">&#124;at=</code>',
        anchor = 'trans_missing_title',
anchor = 'extra_pages',
        category = '含有不带原名的译名的引用的页面',
category = 'Pages with citations using conflicting page specifications',
        hidden = false },
hidden = false },
    wikilink_in_url = {
first_missing_last = {
        message = '在网址标题中嵌入维基内链',
message = '<code style="'..code_style..'">&#124;first$2=</code> missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
        anchor = 'wikilink_in_url',
anchor = 'first_missing_last',
        category = '含有将维基内链嵌入网址标题的引用的页面',
category = 'CS1 errors: missing author or editor',
        hidden = false },
hidden = false },
format_missing_url = {
message = '<code style="'..code_style..'">&#124;format=</code> requires <code style="'..code_style..'">&#124;url=</code>',
anchor = 'format_missing_url',
category = 'Pages using citations with format and no URL',
hidden = true },
implict_etal_author = {
message = '<code style="'..code_style..'">&#124;displayauthors=</code> suggested',
anchor = 'displayauthors',
category = 'Pages using citations with old-style implicit et al.',
hidden = true },
implict_etal_editor = {
message = '<code style="'..code_style..'">&#124;displayeditors=</code> suggested',
anchor = 'displayeditors',
category = 'Pages using citations with old-style implicit et al. in editors',
hidden = true },
missing_name = {
message = 'Missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
anchor = 'missing_name',
category = 'CS1 errors: missing author or editor',
hidden = false },
parameter_ignored = {
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored',
anchor = 'parameter_ignored',
category = 'Pages with citations using unsupported parameters',
hidden = false },
parameter_ignored_suggest = {
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored (<code style="'..code_style..'">&#124;$2=</code> suggested)',
anchor = 'parameter_ignored_suggest',
category = 'Pages with citations using unsupported parameters',
hidden = false },
redundant_parameters = {
message = 'More than one of $1 specified',
anchor = 'redundant_parameters',
category = 'Pages with citations having redundant parameters',
hidden = false },
text_ignored = {
message = 'Text "$1" ignored',
anchor = 'text_ignored',
category = 'Pages with citations using unnamed parameters',
hidden = false },
trans_missing_chapter = {
message = '<code style="'..code_style..'">&#124;trans_chapter=</code> requires <code style="'..code_style..'">&#124;chapter=</code>',
anchor = 'trans_missing_chapter',
category = 'Pages with citations using translated terms without the original',
hidden = false },
trans_missing_title = {
message = '<code style="'..code_style..'">&#124;trans_title=</code> requires <code style="'..code_style..'">&#124;title=</code>',
anchor = 'trans_missing_title',
category = 'Pages with citations using translated terms without the original',
hidden = false },
wikilink_in_url = {
message = 'Wikilink embedded in URL title',
anchor = 'wikilink_in_url',
category = 'Pages with citations having wikilinks embedded in URL titles',
hidden = false },
}
}


citation_config.id_handlers = {
citation_config.id_handlers = {
    ['ASIN'] = {
['ARXIV'] = {
        parameters = { 'asin', 'ASIN' },      
parameters = {'arxiv', 'ARXIV'},  
        link = '亚马逊标准识别码',
link = 'arXiv',
        label = 'ASIN',
label = 'arXiv',
        mode = 'manual',
mode = 'manual',
        COinS = 'info:asin',
prefix = '//arxiv.org/abs/', -- protocol relative tested 2013-09-04
        separator = '&nbsp;',
encode = false,
        encode = false;
COinS = 'info:arxiv',
    },
separator = ':',
    ['DOI'] = {
},
        parameters = { 'doi', 'DOI' },
['ASIN'] = {
        link = '數位物件識別號',
parameters = { 'asin', 'ASIN' },  
        label = 'doi',
link = 'Amazon Standard Identification Number',
        mode = 'manual',
label = 'ASIN',
        prefix = 'http://dx.doi.org/',
mode = 'manual',
        COinS = 'info:doi',
COinS = 'info:asin',
        separator = ':',
separator = '&nbsp;',
        encode = true,
encode = false;
    },
},
    ['OL'] = {
['BIBCODE'] = {
        parameters = { 'ol', 'OL' },
parameters = {'bibcode', 'BIBCODE'},  
        link = '开放图书馆',
link = 'Bibcode',
        label = 'OL',
label = 'Bibcode',
        mode = 'manual',
mode = 'external',
        COinS = 'info:olnum',
prefix = 'http://adsabs.harvard.edu/abs/',
        separator = '&nbsp;',
encode = false,
        endode = true,
COinS = 'info:bibcode',
    },
separator = ':',
    ['ARXIV'] = {
},
        parameters = {'arxiv', 'ARXIV'},  
['DOI'] = {
        link = 'arXiv',
parameters = { 'doi', 'DOI' },
        label = 'arXiv',
link = 'Digital object identifier',
        mode = 'external',
label = 'doi',
        prefix = 'http://arxiv.org/abs/',
mode = 'manual',
        encode = false,
prefix = 'http://dx.doi.org/',
        COinS = 'info:arxiv',
COinS = 'info:doi',
        separator = ':',
separator = ':',
    },
encode = true,
    ['BIBCODE'] = {
},
        parameters = {'bibcode', 'BIBCODE'},  
['ISBN'] = {
        link = 'Bibcode',
parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},  
        label = 'Bibcode',
link = 'International Standard Book Number',
        mode = 'external',
label = 'ISBN',
        prefix = 'http://adsabs.harvard.edu/abs/',
mode = 'manual',
        encode = false,
prefix = 'Special:BookSources/',
        COinS = 'info:bibcode',
COinS = 'rft.isbn',
        separator = ':',
separator = '&nbsp;',
    },
},
    ['ISBN'] = {
['ISSN'] = {
        parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},
parameters = {'issn', 'ISSN'},  
        link = '国际标准书号',
link = 'International Standard Serial Number',
        label = 'ISBN',
label = 'ISSN',
        mode = 'manual',
mode = 'manual',
        prefix = 'Special:BookSources/',
prefix = '//www.worldcat.org/issn/',
        COinS = 'rft.isbn',
COinS = 'rft.issn',
        separator = '&nbsp;',
encode = false,
    },
separator = '&nbsp;',
    ['ISSN'] = {
},
        parameters = {'issn', 'ISSN'},  
['JFM'] = {
        link = '国际标准连续出版物号',
parameters = {'jfm', 'JFM'},  
        label = 'ISSN',
link = 'Jahrbuch über die Fortschritte der Mathematik',
        mode = 'external',
label = 'JFM',
        prefix = '//www.worldcat.org/issn/',
mode = 'external',
        COinS = 'rft.issn',
prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
        encode = false,
COinS = 'rft.jfm',
        separator = '&nbsp;',
encode = true,
    },
separator = '&nbsp;',
    ['JFM'] = {
},
        parameters = {'jfm', 'JFM'},  
['JSTOR'] = {
        link = 'Jahrbuch über die Fortschritte der Mathematik',
parameters = {'jstor', 'JSTOR'},  
        label = 'JFM',
link = 'JSTOR',
        mode = 'external',
label = 'JSTOR',
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
mode = 'external',
        COinS = 'rft.jfm',
prefix = '//www.jstor.org/stable/', -- protocol relative tested 2013-09-04
        encode = true,
COinS = 'rft.jstor',
        separator = '&nbsp;',
encode = true,
    },
separator = '&nbsp;',
    ['JSTOR'] = {
},
        parameters = {'jstor', 'JSTOR'},  
['LCCN'] = {
        link = 'JSTOR',
parameters = {'LCCN', 'lccn'},  
        label = 'JSTOR',
link = 'Library of Congress Control Number',
        mode = 'external',
label = 'LCCN',
        prefix = 'http://www.jstor.org/stable/',
mode = 'manual',
        COinS = 'rft.jstor',
prefix = 'http://lccn.loc.gov/',
        encode = true,
COinS = 'rft.lccn',
        separator = '&nbsp;',
encode = false,
    },
separator = '&nbsp;',
    ['LCCN'] = {
},
        parameters = {'LCCN', 'lccn'},  
['MR'] = {
        link = '美国国会图书馆控制码',
parameters = {'MR', 'mr'},  
        label = 'LCCN',
link = 'Mathematical Reviews',
        mode = 'external',
label = 'MR',
        prefix = 'http://lccn.loc.gov/',
mode = 'external',
        COinS = 'rft.lccn',
prefix = '//www.ams.org/mathscinet-getitem?mr=', -- protocol relative tested 2013-09-04
        encode = false,
COinS = 'rft.mr',
        separator = '&nbsp;',
encode = true,
    },
separator = '&nbsp;',
    ['MR'] = {
},
        parameters = {'MR', 'mr'},  
['OCLC'] = {
        link = '數學評論',
parameters = {'OCLC', 'oclc'},  
        label = 'MR',
link = 'OCLC',
        mode = 'external',
label = 'OCLC',
        prefix = 'http://www.ams.org/mathscinet-getitem?mr=',
mode = 'external',
        COinS = 'rft.mr',
prefix = '//www.worldcat.org/oclc/',
        encode = true,
COinS = 'info:oclcnum',
        separator = '&nbsp;',
encode = true,
    },
separator = '&nbsp;',
    ['OCLC'] = {
},
        parameters = {'OCLC', 'oclc'},  
['OL'] = {
        link = 'OCLC',
parameters = { 'ol', 'OL' },
        label = 'OCLC',
link = 'Open Library',
        mode = 'external',
label = 'OL',
        prefix = '//www.worldcat.org/oclc/',
mode = 'manual',
        COinS = 'info:oclcnum',
COinS = 'info:olnum',
        encode = true,
separator = '&nbsp;',
        separator = '&nbsp;',
endode = true,
    },
},
    ['OSTI'] = {
['OSTI'] = {
        parameters = {'OSTI', 'osti'},  
parameters = {'OSTI', 'osti'},  
        link = '科学和技术信息办公室',
link = 'Office of Scientific and Technical Information',
        label = 'OSTI',
label = 'OSTI',
        mode = 'external',
mode = 'external',
        prefix = 'http://www.osti.gov/energycitations/product.biblio.jsp?osti_id=',
prefix = '//www.osti.gov/energycitations/product.biblio.jsp?osti_id=', -- protocol relative tested 2013-09-04
        COinS = 'info:osti',
COinS = 'info:osti',
        encode = true,
encode = true,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
    ['PMC'] = {
['PMC'] = {
        parameters = {'PMC', 'pmc'},  
parameters = {'PMC', 'pmc'},  
        link = '公共医学中心',
link = 'PubMed Central',
        label = 'PMC',
label = 'PMC',
        mode = 'external',
mode = 'manual', -- changed to support unlinking of PMC identifier when article is embargoed
        prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC',
prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC',  
        suffix = " ",
suffix = " ",
        COinS = 'info:pmc',
COinS = 'info:pmc',
        encode = true,
encode = true,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
    ['PMID'] = {
['PMID'] = {
        parameters = {'PMID', 'pmid'},  
parameters = {'PMID', 'pmid'},  
        link = '公共医学识别码',
link = 'PubMed Identifier',
        label = 'PMID',
label = 'PMID',
        mode = 'external',
mode = 'manual', -- changed from external manual to support PMID validation
        prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
        COinS = 'info:pmid',
COinS = 'info:pmid',
        encode = false,
encode = false,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
    ['RFC'] = {
['RFC'] = {
        parameters = {'RFC', 'rfc'},  
parameters = {'RFC', 'rfc'},  
        link = '徵求修正意見書',
link = 'Request for Comments',
        label = 'RFC',
label = 'RFC',
        mode = 'external',
mode = 'external',
        prefix = '//tools.ietf.org/html/rfc',
prefix = '//tools.ietf.org/html/rfc',
        COinS = 'info:rfc',
COinS = 'info:rfc',
        encode = false,
encode = false,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
    ['SSRN'] = {
['SSRN'] = {
        parameters = {'SSRN', 'ssrn'},  
parameters = {'SSRN', 'ssrn'},  
        link = '社会科学研究网络',
link = 'Social Science Research Network',
        label = 'SSRN',
label = 'SSRN',
        mode = 'external',
mode = 'external',
        prefix = 'http://ssrn.com/abstract=',
prefix = '//ssrn.com/abstract=', -- protocol relative tested 2013-09-04
        COinS = 'info:ssrn',
COinS = 'info:ssrn',
        encode = true,
encode = true,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
    ['ZBL'] = {
--[[ Hide unfinished cite newsgroup code so that long delayed update can take place
        parameters = {'ZBL', 'zbl'},  
['USENETID'] = {
        link = 'Zentralblatt MATH',
parameters = {'id', 'ID'},  
        label = 'Zbl',
link = 'Usenet',
        mode = 'external',
label = 'Usenet:',
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
mode = 'external',
        COinS = 'info:zbl',
prefix = 'news:',
        encode = true,
encode = false,
        separator = '&nbsp;',
COinS = 'info:usenet',
    },
separator = '&nbsp;',
-- LOCAL
},
    ['CSBN'] = {
]] ['ZBL'] = {
        parameters = {'unified', 'csbn', 'CSBN'},  
parameters = {'ZBL', 'zbl'},  
        link = '统一书号',
link = 'Zentralblatt MATH',
        label = 'CSBN',
label = 'Zbl',
        mode = 'external',
mode = 'external',
        prefix = 'http://book.douban.com/subject_search?search_text=SH',
prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
        COinS = 'rft.csbn',
COinS = 'info:zbl',
        encode = true,
encode = true,
        separator = '&nbsp;',
separator = '&nbsp;',
    },
},
-- END LOCAL
}
}


--iso639-1 language codes and names.
citation_config.iso639_1 = {
["aa"] = "Afar",
["ab"] = "Abkhazian",
["ae"] = "Avestan",
["af"] = "Afrikaans",
["ak"] = "Akan",
["am"] = "Amharic",
["an"] = "Aragonese",
["ar"] = "Arabic",
["as"] = "Assamese",
["av"] = "Avaric",
["ay"] = "Aymara",
["az"] = "Azerbaijani",
["ba"] = "Bashkir",
["be"] = "Belarusian",
["bg"] = "Bulgarian",
["bh"] = "Bihari languages",
["bi"] = "Bislama",
["bm"] = "Bambara",
["bn"] = "Bengali",
["bo"] = "Tibetan",
["br"] = "Breton",
["bs"] = "Bosnian",
["ca"] = "Catalan",
-- ["ca"] = "Valencian",
["ce"] = "Chechen",
["ch"] = "Chamorro",
["co"] = "Corsican",
["cr"] = "Cree",
["cs"] = "Czech",
["cu"] = "Church Slavic",
-- ["cu"] = "Old Slavonic",
-- ["cu"] = "Church Slavonic",
-- ["cu"] = "Old Bulgarian",
-- ["cu"] = "Old Church Slavonic",
["cv"] = "Chuvash",
["cy"] = "Welsh",
["da"] = "Danish",
["de"] = "German",
["dv"] = "Divehi",
["dv"] = "Dhivehi",
["dv"] = "Maldivian",
["dz"] = "Dzongkha",
["ee"] = "Ewe",
["el"] = "Modern Greek",
["en"] = "English",
["eo"] = "Esperanto",
["es"] = "Spanish",
-- ["es"] = "Castilian",
["et"] = "Estonian",
["eu"] = "Basque",
["fa"] = "Persian",
["ff"] = "Fulah",
["fi"] = "Finnish",
["fj"] = "Fijian",
["fo"] = "Faroese",
["fr"] = "French",
["fy"] = "Western Frisian",
["ga"] = "Irish",
-- ["gd"] = "Gaelic",
["gd"] = "Scottish Gaelic",
["gl"] = "Galician",
["gn"] = "Guarani",
["gu"] = "Gujarati",
["gv"] = "Manx",
["ha"] = "Hausa",
["he"] = "Hebrew",
["hi"] = "Hindi",
["ho"] = "Hiri Motu",
["hr"] = "Croatian",
-- ["ht"] = "Haitian",
["ht"] = "Haitian Creole",
["hu"] = "Hungarian",
["hy"] = "Armenian",
["hz"] = "Herero",
["ia"] = "Interlingua",
["id"] = "Indonesian",
["ie"] = "Interlingue",
["ie"] = "Occidental",
["ig"] = "Igbo",
-- ["ii"] = "Sichuan Yi",
["ii"] = "Nuosu",
["ik"] = "Inupiaq",
["io"] = "Ido",
["is"] = "Icelandic",
["it"] = "Italian",
["iu"] = "Inuktitut",
["ja"] = "Japanese",
["jv"] = "Javanese",
["ka"] = "Georgian",
["kg"] = "Kongo",
-- ["ki"] = "Kikuyu",
["ki"] = "Gikuyu",
-- ["kj"] = "Kuanyama",
["kj"] = "Kwanyama",
["kk"] = "Kazakh",
-- ["kl"] = "Kalaallisut",
["kl"] = "Greenlandic",
["km"] = "Central Khmer",
["kn"] = "Kannada",
["ko"] = "Korean",
["kr"] = "Kanuri",
["ks"] = "Kashmiri",
["ku"] = "Kurdish",
["kv"] = "Komi",
["kw"] = "Cornish",
-- ["ky"] = "Kirghiz",
["ky"] = "Kyrgyz",
["la"] = "Latin",
["lb"] = "Luxembourgish",
-- ["lb"] = "Letzeburgesch",
["lg"] = "Ganda",
-- ["li"] = "Limburgan",
-- ["li"] = "Limburger",
["li"] = "Limburgish",
["ln"] = "Lingala",
["lo"] = "Lao",
["lt"] = "Lithuanian",
["lu"] = "Luba-Katanga",
["lv"] = "Latvian",
["mg"] = "Malagasy",
["mh"] = "Marshallese",
["mi"] = "Maori",
["mk"] = "Macedonian",
["ml"] = "Malayalam",
["mn"] = "Mongolian",
["mr"] = "Marathi",
["ms"] = "Malay",
["mt"] = "Maltese",
["my"] = "Burmese",
["na"] = "Nauru",
["nb"] = "Norwegian Bokmål",
["nd"] = "North Ndebele",
["ne"] = "Nepali",
["ng"] = "Ndonga",
["nl"] = "Dutch",
-- ["nl"] = "Flemish",
["nn"] = "Norwegian Nynorsk",
["no"] = "Norwegian",
["nr"] = "South Ndebele",
["nv"] = "Navajo",
-- ["nv"] = "Navaho",
-- ["ny"] = "Chichewa",
-- ["ny"] = "Chewa",
["ny"] = "Nyanja",
["oc"] = "Occitan",
["oj"] = "Ojibwa",
["om"] = "Oromo",
["or"] = "Oriya",
["os"] = "Ossetian",
["os"] = "Ossetic",
-- ["pa"] = "Panjabi",
["pa"] = "Punjabi",
["pi"] = "Pali",
["pl"] = "Polish",
-- ["ps"] = "Pushto",
["ps"] = "Pashto",
["pt"] = "Portuguese",
["qu"] = "Quechua",
["rm"] = "Romansh",
["rn"] = "Rundi",
["ro"] = "Romanian",
-- ["ro"] = "Moldavian",
-- ["ro"] = "Moldovan",
["ru"] = "Russian",
["rw"] = "Kinyarwanda",
["sa"] = "Sanskrit",
["sc"] = "Sardinian",
["sd"] = "Sindhi",
["se"] = "Northern Sami",
["sg"] = "Sango",
["si"] = "Sinhala",
-- ["si"] = "Sinhalese",
["sk"] = "Slovak",
["sl"] = "Slovenian",
["sm"] = "Samoan",
["sn"] = "Shona",
["so"] = "Somali",
["sq"] = "Albanian",
["sr"] = "Serbian",
["ss"] = "Swati",
["st"] = "Southern Sotho",
["su"] = "Sundanese",
["sv"] = "Swedish",
["sw"] = "Swahili",
["ta"] = "Tamil",
["te"] = "Telugu",
["tg"] = "Tajik",
["th"] = "Thai",
["ti"] = "Tigrinya",
["tk"] = "Turkmen",
["tl"] = "Tagalog",
["tn"] = "Tswana",
["to"] = "Tonga (Tonga Islands)",
["tr"] = "Turkish",
["ts"] = "Tsonga",
["tt"] = "Tatar",
["tw"] = "Twi",
["ty"] = "Tahitian",
-- ["ug"] = "Uighur",
["ug"] = "Uyghur",
["uk"] = "Ukrainian",
["ur"] = "Urdu",
["uz"] = "Uzbek",
["ve"] = "Venda",
["vi"] = "Vietnamese",
["vo"] = "Volapük",
["wa"] = "Walloon",
["wo"] = "Wolof",
["xh"] = "Xhosa",
["yi"] = "Yiddish",
["yo"] = "Yoruba",
["za"] = "Zhuang",
-- ["za"] = "Chuang",
["zh"] = "Chinese",
["zu"] = "Zulu",
}
return citation_config;
return citation_config;