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>|archiveurl=</code> requires <code>|archivedate=</code>', | message = '<code>|archiveurl=</code> requires <code>|archivedate=</code>', | ||
anchor = 'archive_missing_date', | anchor = 'archive_missing_date', | ||
category = 'Pages with archiveurl citation | category = 'Pages with archiveurl citation errors', | ||
hidden = false }, | hidden = false }, | ||
archive_missing_url = { | archive_missing_url = { | ||
message = '<code>|archiveurl=</code> requires <code>|url=</code>', | message = '<code>|archiveurl=</code> requires <code>|url=</code>', | ||
anchor = 'archive_missing_url', | anchor = 'archive_missing_url', | ||
category = 'Pages with archiveurl citation | 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>|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 | category = 'Pages with citations having bare URLs', | ||
hidden = false }, | hidden = false }, | ||
citation_missing_title = { | citation_missing_title = { | ||
message = 'Missing or empty <code>|title=</code>', | message = 'Missing or empty <code>|title=</code>', | ||
anchor = 'citation_missing_title', | anchor = 'citation_missing_title', | ||
category = 'Pages with citations lacking | 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>|url=</code>', | message = 'Missing or empty <code>|url=</code>', | ||
anchor = 'cite_web_url', | anchor = 'cite_web_url', | ||
category = 'Pages using web citations with no | category = 'Pages using web citations with no URL', | ||
hidden = true }, | hidden = true }, | ||
coauthors_missing_author = { | coauthors_missing_author = { | ||
message = '<code>|coauthors=</code> requires <code>|author=</code>', | message = '<code>|coauthors=</code> requires <code>|author=</code>', | ||
anchor = 'coauthors_missing_author', | anchor = 'coauthors_missing_author', | ||
category = 'CS1 errors: coauthors without | 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 | category = 'Pages containing cite templates with deprecated parameters', | ||
hidden = true }, | hidden = true }, | ||
empty_citation = { | empty_citation = { | ||
message = 'Empty | message = 'Empty citation', | ||
anchor = 'empty_citation', | anchor = 'empty_citation', | ||
category = 'Pages with empty | category = 'Pages with empty citations', | ||
hidden = false }, | hidden = false }, | ||
extra_pages = { | extra_pages = { | ||
message = 'Extra <code>|pages=</code> or <code>|at=</code>', | message = 'Extra <code>|pages=</code> or <code>|at=</code>', | ||
anchor = 'extra_pages', | anchor = 'extra_pages', | ||
category = 'Pages with citations using conflicting page | category = 'Pages with citations using conflicting page specifications', | ||
hidden = false }, | hidden = false }, | ||
format_missing_url = { | format_missing_url = { | ||
message = '<code>|format=</code> requires <code>|url=</code>', | message = '<code>|format=</code> requires <code>|url=</code>', | ||
anchor = 'format_missing_url', | anchor = 'format_missing_url', | ||
category = 'Pages using citations with format and no | category = 'Pages using citations with format and no URL', | ||
hidden = true }, | hidden = true }, | ||
implict_etal_author = { | implict_etal_author = { | ||
message = '<code>|displayauthors=</code> suggested', | message = '<code>|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>|displayeditors=</code> suggested', | message = '<code>|displayeditors=</code> suggested', | ||
anchor = 'displayeditors', | anchor = 'displayeditors', | ||
category = 'Pages using citations with old-style implicit et al. in | 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 = ' | 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', |