Module:Citation/CS1/Configuration: Difference between revisions

Synch from sandbox;
m>Trappist the monk
(Fix category error;)
m>Trappist the monk
(Synch from sandbox;)
Line 93: Line 93:
     ['AuthorNameSeparator'] = 'author-name-separator',
     ['AuthorNameSeparator'] = 'author-name-separator',
     ['BookTitle'] = 'booktitle',
     ['BookTitle'] = 'booktitle',
['Callsign'] = 'callsign', -- cite interview
     ['Cartography'] = 'cartography',
     ['Cartography'] = 'cartography',
     ['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section' },
     ['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section', 'notestitle'}, -- notestitle is deprecated used by old cite AV media notes; remove after 1 October 2014;
     ['ChapterLink'] = 'chapterlink',
     ['ChapterLink'] = 'chapterlink',
     ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
     ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
['City'] = 'city', -- cite interview
     ['Coauthors'] = {'coauthors', 'coauthor' },
     ['Coauthors'] = {'coauthors', 'coauthor' },
    ['Cointerviewers'] = 'cointerviewers', -- cite interview
     ['Conference'] = {'conference', 'event' },
     ['Conference'] = {'conference', 'event' },
     ['ConferenceURL'] = {'conference-url', 'conferenceurl', 'eventurl' },
     ['ConferenceURL'] = {'conference-url', 'conferenceurl', 'eventurl' },
Line 115: Line 118:
     ['Embargo'] = {'Embargo', 'embargo'},
     ['Embargo'] = {'Embargo', 'embargo'},
     ['Format'] = 'format',
     ['Format'] = 'format',
     ['ID'] = {'id', 'ID'},
     ['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'},
     ['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
     ['Inset'] = 'inset',
     ['Inset'] = 'inset',
    ['Interviewer'] = 'interviewer', -- cite interview
     ['Issue'] = {'issue', 'number'},
     ['Issue'] = {'issue', 'number'},
     ['Language'] = {'language', 'in'},
     ['Language'] = {'language', 'in'},
Line 131: Line 135:
     ['NoTracking'] = {"template doc demo", 'nocat',  
     ['NoTracking'] = {"template doc demo", 'nocat',  
         'notracking', "no-tracking"},
         'notracking', "no-tracking"},
     ['OrigYear'] = 'origyear',
     ['OrigYear'] = {'origyear', 'titleyear'}, -- titleyear is deprecated; used in old cite DVD notes; remove after 1 October 2014
     ['Others'] = 'others',
     ['Others'] = {'others', 'artist', 'director'}, -- artist and director are deprecated; used in old cite AV media notes and old cite DVD notes; remove after 1 October 2014
     ['Page'] = {'p', 'page'},
     ['Page'] = {'p', 'page'},
     ['Pages'] = {'pp', 'pages'},
     ['Pages'] = {'pp', 'pages'},
Line 140: Line 144:
     ['PPrefix'] = 'PPrefix',
     ['PPrefix'] = 'PPrefix',
     ['PPPrefix'] = 'PPPrefix',
     ['PPPrefix'] = 'PPPrefix',
['Program'] = 'program', -- cite interview
     ['PostScript'] = 'postscript',
     ['PostScript'] = 'postscript',
     ['PublicationDate'] = {'publicationdate', 'publication-date' },
     ['PublicationDate'] = {'publicationdate', 'publication-date' },
Line 160: Line 165:
     ['TimeCaption'] = 'timecaption',
     ['TimeCaption'] = 'timecaption',
     ['Title'] = 'title',
     ['Title'] = 'title',
     ['TitleLink'] = {'titlelink', 'episodelink' },
     ['TitleLink'] = {'titlelink', 'episodelink', 'albumlink' }, -- albumlink is deprecated; used by old cite AV media notes; remove after 1 October 2014
     ['TitleNote'] = 'department',
     ['TitleNote'] = 'department',
     ['TitleType'] = {'type', 'medium'},
     ['TitleType'] = {'type', 'medium'},
Line 175: Line 180:
         "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#", "subjectlink#"},
     ['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
     ['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
         "author#mask", "authormask#"},
         "author#mask", "authormask#"},
Line 195: Line 200:
citation_config.defaults = {
citation_config.defaults = {
     ['DeadURL'] = 'yes',
     ['DeadURL'] = 'yes',
    ['PostScript'] = '.',
    ['Separator'] = '.',
     ['AuthorSeparator'] = ';',
     ['AuthorSeparator'] = ';',
     ['EditorSeparator'] = ';',
     ['EditorSeparator'] = ';',
Line 229: Line 232:
anchor = 'archive_missing_url',
anchor = 'archive_missing_url',
category = 'Pages with archiveurl citation errors',
category = 'Pages with archiveurl citation errors',
hidden = false },
bad_authorlink = {
message = 'Check <code>&#124;authorlink=</code> value',
anchor = 'bad_authorlink',
category = 'CS1 errors: authorlink',
hidden = false },
hidden = false },
bad_date = {
bad_date = {
Line 249: Line 257:
anchor = 'bad_issn',
anchor = 'bad_issn',
category = 'CS1 errors: ISSN',
category = 'CS1 errors: ISSN',
hidden = false },
bad_lccn = {
message = 'Check <code>&#124;lccn=</code> value',
anchor = 'bad_lccn',
category = 'CS1 errors: LCCN',
hidden = false },
hidden = false },
bad_ol = {
bad_ol = {
Line 254: Line 267:
anchor = 'bad_ol',
anchor = 'bad_ol',
category = 'Pages with OL errors',
category = 'Pages with OL errors',
hidden = false },
bad_pmc = {
message = 'Check <code>&#124;pmc=</code> value',
anchor = 'bad_pmc',
category = 'CS1 errors: PMC',
hidden = false },
hidden = false },
bad_pmid = {
bad_pmid = {
Line 435: Line 453:
         link = 'Library of Congress Control Number',
         link = 'Library of Congress Control Number',
         label = 'LCCN',
         label = 'LCCN',
         mode = 'external',
         mode = 'manual',
         prefix = 'http://lccn.loc.gov/',
         prefix = 'http://lccn.loc.gov/',
         COinS = 'rft.lccn',
         COinS = 'rft.lccn',
Anonymous user