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