Jump to content

Module:Citation/CS1/Configuration: Difference between revisions

Synch from sandbox;
m>Smith609
(Distinguish et al authors from et al editors, so bot can fix the former)
m>Trappist the monk
(Synch from sandbox;)
Line 8: Line 8:
]]
]]
citation_config.uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
citation_config.uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Education_Program_talk', 'Module_talk', 'MediaWiki_talk' };
'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk',  
'Module_talk', 'MediaWiki_talk' };


--[[
--[[
Line 87: Line 88:
     ['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',
Line 97: Line 98:
     ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
     ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'sectionurl' },
     ['Coauthors'] = {'coauthors', 'coauthor' },
     ['Coauthors'] = {'coauthors', 'coauthor' },
     ['Conference'] = 'conference',
     ['Conference'] = {'conference', 'event' },
     ['ConferenceURL'] = {'conference-url', 'conferenceurl' },
     ['ConferenceURL'] = {'conference-url', 'conferenceurl', 'eventurl' },
     ['Date'] = 'date',
     ['Date'] = 'date',
     ['Day'] = 'day',
     ['Day'] = 'day',
Line 222: Line 223:
message = '<code>&#124;archiveurl=</code> requires <code>&#124;archivedate=</code>',
message = '<code>&#124;archiveurl=</code> requires <code>&#124;archivedate=</code>',
anchor = 'archive_missing_date',
anchor = 'archive_missing_date',
category = 'Pages with archiveurl citation errors‎',
category = 'Pages with archiveurl citation errors',
hidden = false },
hidden = false },
archive_missing_url = {
archive_missing_url = {
message = '<code>&#124;archiveurl=</code> requires <code>&#124;url=</code>',
message = '<code>&#124;archiveurl=</code> requires <code>&#124;url=</code>',
anchor = 'archive_missing_url',
anchor = 'archive_missing_url',
category = 'Pages with archiveurl citation errors‎',
category = 'Pages with archiveurl citation errors',
hidden = false },
hidden = false },
bad_date = {
bad_date = {
Line 253: Line 254:
anchor = 'bad_ol',
anchor = 'bad_ol',
category = 'Pages with OL errors',
category = 'Pages with OL errors',
hidden = false },
bad_pmid = {
message = 'Check <code>&#124;pmid=</code> value',
anchor = 'bad_pmid',
category = '', --'CS1 errors: PMID',
hidden = false },
hidden = false },
bad_url = {
bad_url = {
Line 262: Line 268:
message = '$1 missing title',
message = '$1 missing title',
anchor = 'bare_url_missing_title',
anchor = 'bare_url_missing_title',
category = 'Pages with citations having bare URLs‎',
category = 'Pages with citations having bare URLs',
hidden = false },
hidden = false },
citation_missing_title = {
citation_missing_title = {
message = 'Missing or empty <code>&#124;title=</code>',
message = 'Missing or empty <code>&#124;title=</code>',
anchor = 'citation_missing_title',
anchor = 'citation_missing_title',
category = 'Pages with citations lacking titles‎',
category = 'Pages with citations lacking titles',
hidden = false },
hidden = false },
cite_web_url = {
cite_web_url = { -- this error applies to cite web and to cite podcast
message = 'Missing or empty <code>&#124;url=</code>',
message = 'Missing or empty <code>&#124;url=</code>',
anchor = 'cite_web_url',
anchor = 'cite_web_url',
category = 'Pages using web citations with no URL‎',
category = 'Pages using web citations with no URL',
hidden = true },
hidden = true },
coauthors_missing_author = {
coauthors_missing_author = {
message = '<code>&#124;coauthors=</code> requires <code>&#124;author=</code>',
message = '<code>&#124;coauthors=</code> requires <code>&#124;author=</code>',
anchor = 'coauthors_missing_author',
anchor = 'coauthors_missing_author',
category = 'CS1 errors: coauthors without author‎',
category = 'CS1 errors: coauthors without author',
hidden = false },
hidden = false },
deprecated_params = {
deprecated_params = {
message = 'Cite uses deprecated parameters',
message = 'Cite uses deprecated parameters',
anchor = 'deprecated_params',
anchor = 'deprecated_params',
category = 'Pages containing cite templates with deprecated parameters‎',
category = 'Pages containing cite templates with deprecated parameters',
hidden = true },
hidden = true },
empty_citation = {
empty_citation = {
message = 'Empty citation‎',
message = 'Empty citation',
anchor = 'empty_citation',
anchor = 'empty_citation',
category = 'Pages with empty citations‎',
category = 'Pages with empty citations',
hidden = false },
hidden = false },
extra_pages = {
extra_pages = {
message = 'Extra <code>&#124;pages=</code> or <code>&#124;at=</code>',
message = 'Extra <code>&#124;pages=</code> or <code>&#124;at=</code>',
anchor = 'extra_pages',
anchor = 'extra_pages',
category = 'Pages with citations using conflicting page specifications‎',
category = 'Pages with citations using conflicting page specifications',
hidden = false },
hidden = false },
format_missing_url = {
format_missing_url = {
message = '<code>&#124;format=</code> requires <code>&#124;url=</code>',
message = '<code>&#124;format=</code> requires <code>&#124;url=</code>',
anchor = 'format_missing_url',
anchor = 'format_missing_url',
category = 'Pages using citations with format and no URL‎',
category = 'Pages using citations with format and no URL',
hidden = true },
hidden = true },
implict_etal_author = {
implict_etal_author = {
message = '<code>&#124;displayauthors=</code> suggested',
message = '<code>&#124;displayauthors=</code> suggested',
anchor = 'displayauthors',
anchor = 'displayauthors',
category = 'Pages using citations with old-style implicit et al.',
category = 'Pages using citations with old-style implicit et al.',
hidden = true },
hidden = true },
implict_etal_editor = {
implict_etal_editor = {
message = '<code>&#124;displayeditors=</code> suggested',
message = '<code>&#124;displayeditors=</code> suggested',
anchor = 'displayeditors',
anchor = 'displayeditors',
category = 'Pages using citations with old-style implicit et al. in editors‎',
category = 'Pages using citations with old-style implicit et al. in editors',
hidden = true },
hidden = true },
parameter_ignored = {
parameter_ignored = {
Line 489: Line 495:
         link = 'PubMed Identifier',
         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',
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.