Module:Citation/CS1/Configuration: Difference between revisions
Synch from sandbox;
m>Bsadowski1 (Making protocol-relative) |
m>Trappist the monk (Synch from sandbox;) |
||
Line 108: | Line 108: | ||
['quoted-text'] = '<q>$1</q>', -- for wrapping |quote= content | ['quoted-text'] = '<q>$1</q>', -- for wrapping |quote= content | ||
['quoted-title'] = '"$1"', | ['quoted-title'] = '"$1"', | ||
['trans-italic-title'] = "[''$1'']", | ['trans-italic-title'] = "[''$1'']", | ||
Line 130: | Line 128: | ||
['At'] = 'at', | ['At'] = 'at', | ||
['Authors'] = {'authors', 'people', 'host'}, | ['Authors'] = {'authors', 'people', 'host'}, | ||
['AuthorFormat'] = {'author-format', 'authorformat'}, | ['AuthorFormat'] = {'author-format', 'authorformat'}, -- deprecated in favor of NameListFormat; | ||
['AuthorSeparator'] = 'author-separator', | ['AuthorSeparator'] = 'author-separator', -- deprecated | ||
['AuthorNameSeparator'] = 'author-name-separator', | ['AuthorNameSeparator'] = 'author-name-separator', -- deprecated | ||
['BookTitle'] = {'book-title', 'booktitle'}, | ['BookTitle'] = {'book-title', 'booktitle'}, | ||
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview | ['Callsign'] = {'call-sign', 'callsign'}, -- cite interview | ||
Line 138: | Line 136: | ||
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'}, | ['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'}, | ||
['ChapterFormat'] = 'chapter-format'; | ['ChapterFormat'] = 'chapter-format'; | ||
['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015 | ['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015? | ||
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'}, | ['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'}, | ||
['City'] = 'city', -- cite interview | ['City'] = 'city', -- cite interview | ||
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015 | ['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015? | ||
['Conference'] = {'conference', 'event'}, | ['Conference'] = {'conference', 'event'}, | ||
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, | ['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, | ||
Line 153: | Line 151: | ||
['Edition'] = 'edition', | ['Edition'] = 'edition', | ||
['Editors'] = 'editors', | ['Editors'] = 'editors', | ||
['EditorFormat'] = {'editor-format', 'editorformat'}, | ['EditorFormat'] = {'editor-format', 'editorformat'}, -- deprecated in favor of NameListFormat; | ||
['EditorSeparator'] = 'editor-separator', | ['EditorSeparator'] = 'editor-separator', -- deprecated | ||
['EditorNameSeparator'] = 'editor-name-separator', | ['EditorNameSeparator'] = 'editor-name-separator', -- deprecated | ||
['Embargo'] = {'Embargo', 'embargo'}, | ['Embargo'] = {'Embargo', 'embargo'}, | ||
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation | |||
['Format'] = 'format', | ['Format'] = 'format', | ||
['ID'] = {'id', 'ID'}, | ['ID'] = {'id', 'ID'}, | ||
Line 167: | Line 166: | ||
['LaySource'] = {'lay-source', 'laysource'}, | ['LaySource'] = {'lay-source', 'laysource'}, | ||
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'}, | ['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'}, | ||
[' | ['MailingList'] = {'mailinglist', 'mailing-list'}, -- cite mailing list only | ||
['MessageID'] = 'message-id', | ['MessageID'] = 'message-id', | ||
['Minutes'] = 'minutes', | ['Minutes'] = 'minutes', | ||
['Month'] = 'month', -- deprecated; remove after 1 January 2015 | ['Mode'] = 'mode', | ||
['NameSeparator'] = 'name-separator', | ['Month'] = 'month', -- deprecated; remove after 1 January 2015? | ||
['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'}, | |||
['NameSeparator'] = 'name-separator', -- deprecated | |||
['Network'] = 'network', | ['Network'] = 'network', | ||
['NoPP'] = {'no-pp', 'nopp'}, | ['NoPP'] = {'no-pp', 'nopp'}, | ||
Line 194: | Line 195: | ||
['RegistrationRequired'] = 'registration', | ['RegistrationRequired'] = 'registration', | ||
['Scale'] = 'scale', | ['Scale'] = 'scale', | ||
['ScriptTitle'] = 'script-title', | |||
['Section'] = 'section', | ['Section'] = 'section', | ||
['Season'] = 'season', | ['Season'] = 'season', | ||
['Separator'] = 'separator', | ['Separator'] = 'separator', -- deprecated in favor of Mode | ||
['Series'] = {'series', 'version'}, | ['Series'] = {'series', 'version'}, | ||
['SeriesSeparator'] = 'series-separator', | ['SeriesSeparator'] = 'series-separator', | ||
Line 241: | Line 243: | ||
citation_config.defaults = { | citation_config.defaults = { | ||
['DeadURL'] = 'yes', | ['DeadURL'] = 'yes', | ||
['PPrefix'] = "p. ", | ['PPrefix'] = "p. ", | ||
['PPPrefix'] = "pp. ", | ['PPPrefix'] = "pp. ", | ||
Line 348: | Line 347: | ||
message = '<code style="'..code_style..'">|chapter=</code> ignored', | message = '<code style="'..code_style..'">|chapter=</code> ignored', | ||
anchor = 'chapter_ignored', | anchor = 'chapter_ignored', | ||
category = 'CS1 errors: | category = 'CS1 errors: chapter ignored', | ||
hidden = false }, | hidden = false }, | ||
citation_missing_title = { | citation_missing_title = { | ||
Line 366: | Line 365: | ||
hidden = false }, | hidden = false }, | ||
deprecated_params = { | deprecated_params = { | ||
message = 'Cite uses deprecated | message = 'Cite uses deprecated parameter <code style="'..code_style..'">|$1=</code>', | ||
anchor = 'deprecated_params', | anchor = 'deprecated_params', | ||
category = 'Pages containing cite templates with deprecated parameters', | category = 'Pages containing cite templates with deprecated parameters', | ||
Line 395: | Line 394: | ||
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 }, | ||
invalid_param_val = { | |||
message = 'Invalid <code style="'..code_style..'">|$1=$2</code>', | |||
anchor = 'invalid_param_val', | |||
category = 'CS1 errors: invalid mode', | |||
hidden = false }, | |||
missing_name = { | missing_name = { | ||
message = 'Missing <code style="'..code_style..'">|last$2=</code> in $1', | message = 'Missing <code style="'..code_style..'">|last$2=</code> in $1', |