Module:Citation/CS1/Configuration: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(undo nowrap;) |
(synch from sandbox;) |
||
Line 76: | Line 76: | ||
['j-sheets'] = ': Sheets $1', |
['j-sheets'] = ': Sheets $1', |
||
['subscription'] = '<span style="font-size:90%; color:#555">( |
['subscription'] = '<span style="font-size:90%; color:#555">(Subscription required (<span title="The site requires a paid subscription to access this page." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' .. |
||
'[[Category:Pages containing links to subscription-only content]]', |
'[[Category:Pages containing links to subscription-only content]]', |
||
['registration']='<span style="font-size:90%; color:#555">( |
['registration']='<span style="font-size:90%; color:#555">(Registration required (<span title="The site requires registration to access this page." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' .. |
||
'[[Category:Pages with login required references or sources]]', |
'[[Category:Pages with login required references or sources]]', |
||
Line 127: | Line 127: | ||
-- various access levels, for |access=, |doi-access=, |arxiv=, ... |
-- various access levels, for |access=, |doi-access=, |arxiv=, ... |
||
-- narrow no-break space   may work better than nowrap css. Or not? browser support? |
|||
['free'] = '<span class="plainlinks">$1<span style="margin-left:0.1em">[[File:Lock-green.svg|9px|link=|alt=Freely accessible|Freely accessible]]</span></span>', |
|||
⚫ | |||
['access-signal'] = '<span class="plainlinks">$1 $2</span>', -- external link with appropriate lock icon |
|||
⚫ | |||
['free'] = '[[File:Lock-green.svg|9px|link=|alt=Freely accessible|Freely accessible]]', |
|||
⚫ | |||
⚫ | |||
['subscription'] = '[[File:Lock-red-alt.svg|9px|link=|alt=Paid subscription required|Paid subscription required]]', |
|||
['italic-title'] = "''$1''", |
['italic-title'] = "''$1''", |
||
Line 170: | Line 173: | ||
['Authors'] = {'authors', 'people', 'host', 'credits'}, |
['Authors'] = {'authors', 'people', 'host', 'credits'}, |
||
['BookTitle'] = {'book-title', 'booktitle'}, |
['BookTitle'] = {'book-title', 'booktitle'}, |
||
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview |
|||
['Cartography'] = 'cartography', |
['Cartography'] = 'cartography', |
||
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'}, |
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'}, |
||
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'section-format'}; |
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'section-format'}; |
||
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'}, |
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'}, |
||
['City'] = 'city', -- cite interview |
|||
['Class'] = 'class', -- cite arxiv and arxiv identifiers |
['Class'] = 'class', -- cite arxiv and arxiv identifiers |
||
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015? |
|||
['Collaboration'] = 'collaboration', |
['Collaboration'] = 'collaboration', |
||
['Conference'] = {'conference', 'event'}, |
['Conference'] = {'conference', 'event'}, |
||
Line 183: | Line 183: | ||
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, |
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, |
||
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set |
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set |
||
['Date'] = |
['Date'] = 'date', |
||
['DeadURL'] = {'dead-url', 'deadurl'}, |
['DeadURL'] = {'dead-url', 'deadurl'}, |
||
['Degree'] = 'degree', |
['Degree'] = 'degree', |
||
Line 201: | Line 201: | ||
['Inset'] = 'inset', |
['Inset'] = 'inset', |
||
['Issue'] = {'issue', 'number'}, |
['Issue'] = {'issue', 'number'}, |
||
['Interviewers'] = |
['Interviewers'] = 'interviewers', |
||
['Language'] = {'language', 'in'}, |
['Language'] = {'language', 'in'}, |
||
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'}, |
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'}, |
||
Line 228: | Line 228: | ||
'website', 'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary', 'mailinglist'}, |
'website', 'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary', 'mailinglist'}, |
||
['Place'] = {'place', 'location'}, |
['Place'] = {'place', 'location'}, |
||
['Program'] = 'program', -- cite interview |
|||
['PostScript'] = 'postscript', |
['PostScript'] = 'postscript', |
||
['PublicationDate'] = {'publicationdate', 'publication-date'}, |
['PublicationDate'] = {'publicationdate', 'publication-date'}, |
||
Line 285: | Line 284: | ||
['EditorList-Mask'] = {"editor-mask#", "editor#-mask", "editormask#", "editor#mask"}, |
['EditorList-Mask'] = {"editor-mask#", "editor#-mask", "editormask#", "editor#mask"}, |
||
['InterviewerList-First'] = {'interviewer-first#', 'interviewer#-first'}, |
|||
['InterviewerList-Last'] = {'interviewer#', 'interviewer-last#', 'interviewer#-last'}, |
|||
['InterviewerList-Link'] = {'interviewer-link#', 'interviewer#-link'}, |
|||
['InterviewerList-Mask'] = {'interviewer-mask#', 'interviewer#-mask'}, |
|||
['TranslatorList-First'] = {'translator-first#', 'translator#-first', 'translator-given#', 'translator#-given'}, |
['TranslatorList-First'] = {'translator-first#', 'translator#-first', 'translator-given#', 'translator#-given'}, |
||
['TranslatorList-Last'] = {'translator#', 'translator-last#', 'translator#-last', 'translator-surname#', 'translator#-surname'}, |
['TranslatorList-Last'] = {'translator#', 'translator-last#', 'translator#-last', 'translator-surname#', 'translator#-surname'}, |
||
Line 303: | Line 307: | ||
['ContributorList'] = "contributors list", |
['ContributorList'] = "contributors list", |
||
['EditorList'] = "editors list", |
['EditorList'] = "editors list", |
||
['InterviewerList'] = "interviewers list", |
|||
['TranslatorList'] = "translators list", |
['TranslatorList'] = "translators list", |
||
Line 411: | Line 416: | ||
local script_lang_codes = {'am', 'ar', 'be', 'bg', 'bn', 'bs', 'dv', 'el', -- ISO 639-1 codes only for |script-title= and |script-chapter= |
local script_lang_codes = {'am', 'ar', 'be', 'bg', 'bn', 'bs', 'dv', 'el', -- ISO 639-1 codes only for |script-title= and |script-chapter= |
||
'fa', 'he', 'hy', 'ja', 'ka', 'kn', 'ko', 'ku', |
'fa', 'he', 'hy', 'ja', 'ka', 'kn', 'ko', 'ku', |
||
'mk', 'ml', 'mr', ' |
'mk', 'ml', 'mr', 'my', 'ps', 'ru', 'sd', 'sr', |
||
'uk', 'ug', 'ur', 'yi', 'zh'}; |
'th', 'uk', 'ug', 'ur', 'yi', 'zh'}; |
||
Line 433: | Line 438: | ||
['etal'] = 'CS1 maint: Explicit use of et al.', |
['etal'] = 'CS1 maint: Explicit use of et al.', |
||
['extra_text'] = 'CS1 maint: Extra text', |
['extra_text'] = 'CS1 maint: Extra text', |
||
['extra_text_names'] = 'CS1 maint: Extra text: $1', -- $1 is <name>s list; gets value from special_case_translation table |
|||
['ignore_isbn_err'] = 'CS1 maint: Ignored ISBN errors', |
['ignore_isbn_err'] = 'CS1 maint: Ignored ISBN errors', |
||
['interviewers'] = 'CS1 maint: Uses interviewers parameter', |
|||
['missing_pipe'] = 'CS1 maint: Missing pipe', |
['missing_pipe'] = 'CS1 maint: Missing pipe', |
||
['mult_names'] = 'CS1 maint: Multiple names: $1', -- $1 is <name>s list; gets value from special_case_translation table |
['mult_names'] = 'CS1 maint: Multiple names: $1', -- $1 is <name>s list; gets value from special_case_translation table |
||
['pmc_format'] = 'CS1 maint: PMC format', |
|||
['unfit'] = 'CS1 maint: Unfit url', |
['unfit'] = 'CS1 maint: Unfit url', |
||
['unknown_lang'] = 'CS1 maint: Unrecognized language', |
['unknown_lang'] = 'CS1 maint: Unrecognized language', |
||
Line 464: | Line 472: | ||
local title_types = { |
local title_types = { |
||
['AV-media-notes'] = 'Media notes', |
['AV-media-notes'] = 'Media notes', |
||
['interview'] = 'Interview', |
['interview'] = 'Interview', |
||
['mailinglist'] = 'Mailing list', |
['mailinglist'] = 'Mailing list', |
||
['map'] = 'Map', |
['map'] = 'Map', |
||
Line 534: | Line 542: | ||
message = 'Check <code style="'..code_style..'">|biorxiv=</code> value', |
message = 'Check <code style="'..code_style..'">|biorxiv=</code> value', |
||
anchor = 'bad_biorxiv', |
anchor = 'bad_biorxiv', |
||
category = 'CS1 errors: |
category = 'CS1 errors: bioRxiv', |
||
hidden = false }, |
hidden = false }, |
||
bad_citeseerx = { |
bad_citeseerx = { |
||
Line 605: | Line 613: | ||
anchor = 'bad_oclc', |
anchor = 'bad_oclc', |
||
category = 'CS1 errors: OCLC', |
category = 'CS1 errors: OCLC', |
||
⚫ | |||
bad_ssrn = { |
|||
⚫ | |||
anchor = 'bad_ssrn', |
|||
⚫ | |||
hidden = false }, |
hidden = false }, |
||
bad_url = { |
bad_url = { |
||
Line 631: | Line 644: | ||
category = 'Pages using web citations with no URL', |
category = 'Pages using web citations with no URL', |
||
hidden = true }, |
hidden = true }, |
||
coauthors_missing_author = { |
|||
⚫ | |||
anchor = 'coauthors_missing_author', |
|||
⚫ | |||
⚫ | |||
contributor_ignored = { |
contributor_ignored = { |
||
message = '<code style="'..code_style..'">|contributor=</code> ignored</code>', |
message = '<code style="'..code_style..'">|contributor=</code> ignored</code>', |
||
Line 649: | Line 657: | ||
message = 'Cite uses deprecated parameter <code style="'..code_style..'">|$1=</code>', |
message = 'Cite uses deprecated parameter <code style="'..code_style..'">|$1=</code>', |
||
anchor = 'deprecated_params', |
anchor = 'deprecated_params', |
||
category = ' |
category = 'CS1 errors: deprecated parameters', |
||
hidden = false }, |
hidden = false }, |
||
empty_citation = { |
empty_citation = { |
||
Line 791: | Line 799: | ||
label = 'bioRxiv', |
label = 'bioRxiv', |
||
mode = 'manual', |
mode = 'manual', |
||
prefix = '// |
prefix = '//doi.org/10.1101/', |
||
COinS = 'pre', -- use prefix value |
COinS = 'pre', -- use prefix value |
||
access = 'free', -- free to read |
access = 'free', -- free to read |
||
Line 813: | Line 821: | ||
label = 'doi', |
label = 'doi', |
||
mode = 'manual', |
mode = 'manual', |
||
prefix = '// |
prefix = '//doi.org/', |
||
COinS = 'info:doi', |
COinS = 'info:doi', |
||
separator = ':', |
separator = ':', |
||
Line 978: | Line 986: | ||
link = 'Social Science Research Network', |
link = 'Social Science Research Network', |
||
label = 'SSRN', |
label = 'SSRN', |
||
mode = ' |
mode = 'manual', |
||
prefix = '//ssrn.com/abstract=', -- protocol relative tested 2013-09-04 |
prefix = '//ssrn.com/abstract=', -- protocol relative tested 2013-09-04 |
||
COinS = 'pre', -- use prefix value |
COinS = 'pre', -- use prefix value |