Module:Citation/CS1/Configuration: Difference between revisions

    m>Trappist the monk
    (Synch from sandbox;)
    m>Trappist the monk
    (Synch from sandbox;)
    Line 44: Line 44:
    ['inactive'] = 'inactive',
    ['inactive'] = 'inactive',
    ['inset'] = '$1 inset',
    ['inset'] = '$1 inset',
    ['interview'] = ' Interview with $1', -- cite interview when |type= not specified
    ['interview-type'] = ' $1 with $2', -- cite interview when |type= specified
    ['lay summary'] = 'Lay summary',
    ['lay summary'] = 'Lay summary',
    ['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
    ['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
    ['original'] = 'the original',
    ['original'] = 'the original',
    ['published'] = 'published $1',
    ['published'] = ' (published $1)',
    ['retrieved'] = 'Retrieved $1',
    ['retrieved'] = 'Retrieved $1',
    ['season'] = 'Season $1',  
    ['season'] = 'Season $1',  
    Line 124: Line 126:


    ['format'] = ' <span style="font-size:85%;">($1)</span>', -- for |format=, |chapter-format=, etc
    ['format'] = ' <span style="font-size:85%;">($1)</span>', -- for |format=, |chapter-format=, etc
     
    ['free to read'] = '<span class="plainlinks">$1</span><span style="margin-left:.1em">[[File:Free-to-read lock 75.svg|9px|link=|free to read]]</span>',
    ['italic-title'] = "''$1''",
    ['italic-title'] = "''$1''",


    Line 142: Line 146:
    ['trans-italic-title'] = "&#91;''$1''&#93;",
    ['trans-italic-title'] = "&#91;''$1''&#93;",
    ['trans-quoted-title'] = "&#91;$1&#93;",
    ['trans-quoted-title'] = "&#91;$1&#93;",
    ['vol-bold'] = ' <b>$1</b>', -- for journal cites; for other cites ['vol'] in messages{}
    ['vol-bold'] = '$1 <b>$2</b>', -- sepc, volume; for bold journal cites; for other cites ['vol'] in messages{}
    }
    }


    Line 266: Line 270:
    ['AuthorList-Mask'] = {"author-mask#", "authormask#", "author#mask", "author#-mask"},
    ['AuthorList-Mask'] = {"author-mask#", "authormask#", "author#mask", "author#-mask"},
    ['ContributorList-First'] = {'contributor-first#','contributor#-first'},
    ['ContributorList-First'] = {'contributor-first#', 'contributor#-first', 'contributor-given#', 'contributor#-given'},
    ['ContributorList-Last'] = {'contributor#', 'contributor-last#', 'contributor#-last'},
    ['ContributorList-Last'] = {'contributor#', 'contributor-last#', 'contributor#-last', 'contributor-surname#', 'contributor#-surname'},
    ['ContributorList-Link'] = {'contributor-link#', 'contributor#-link'},
    ['ContributorList-Link'] = {'contributor-link#', 'contributor#-link'},
    ['ContributorList-Mask'] = {'contributor-mask#', 'contributor#-mask'},
    ['ContributorList-Mask'] = {'contributor-mask#', 'contributor#-mask'},
    Line 276: Line 280:
    ['EditorList-Mask'] = {"editor-mask#", "editor#-mask", "editormask#", "editor#mask"},
    ['EditorList-Mask'] = {"editor-mask#", "editor#-mask", "editormask#", "editor#mask"},
    ['TranslatorList-First'] = {'translator-first#','translator#-first'},
    ['TranslatorList-First'] = {'translator-first#', 'translator#-first', 'translator-given#', 'translator#-given'},
    ['TranslatorList-Last'] = {'translator#', 'translator-last#', 'translator#-last'},
    ['TranslatorList-Last'] = {'translator#', 'translator-last#', 'translator#-last', 'translator-surname#', 'translator#-surname'},
    ['TranslatorList-Link'] = {'translator-link#', 'translator#-link'},
    ['TranslatorList-Link'] = {'translator-link#', 'translator#-link'},
    ['TranslatorList-Mask'] = {'translator-mask#', 'translator#-mask'},
    ['TranslatorList-Mask'] = {'translator-mask#', 'translator#-mask'},
    Line 317: Line 321:
    ['yes_true_y'] = {'yes', 'true', 'y'}, -- ignore-isbn-error, last-author-amp, no-tracking, nopp, registration, subscription
    ['yes_true_y'] = {'yes', 'true', 'y'}, -- ignore-isbn-error, last-author-amp, no-tracking, nopp, registration, subscription
    -- ['deadurl'] = {'yes', 'true', 'y', 'no', 'unfit', 'usurped', 'unfit no archive', 'usurped no archive'}, -- hidden 2016-04-10; see Help_talk:Citation_Style_1#Recycled_urls
    -- ['deadurl'] = {'yes', 'true', 'y', 'no', 'unfit', 'usurped', 'unfit no archive', 'usurped no archive'}, -- hidden 2016-04-10; see Help_talk:Citation_Style_1#Recycled_urls
    ['deadurl'] = {'yes', 'true', 'y', 'no', 'unfit', 'usurped'},
    ['deadurl'] = {'yes', 'true', 'y', 'no', 'unfit', 'usurped', 'bot: unknown'},
    ['mode'] = {'cs1', 'cs2'},
    ['mode'] = {'cs1', 'cs2'},
    ['name-list-format'] = {'vanc'},
    ['name-list-format'] = {'vanc'},
    Line 394: Line 398:
    local maint_cats = {
    local maint_cats = {
    ['ASIN'] = 'CS1 maint: ASIN uses ISBN',
    ['ASIN'] = 'CS1 maint: ASIN uses ISBN',
    ['authors'] = 'CS1 maint: Uses authors parameter',
    ['bot:_unknown'] = 'CS1 maint: BOT: original-url status unknown',
    ['date_format'] = 'CS1 maint: Date format',
    ['date_format'] = 'CS1 maint: Date format',
    ['date_year'] = 'CS1 maint: Date and year',
    ['date_year'] = 'CS1 maint: Date and year',
    ['disp_auth_ed'] = 'CS1 maint: display-$1', -- $1 is authors or editors
    ['disp_auth_ed'] = 'CS1 maint: display-$1', -- $1 is authors or editors
    ['editors'] = 'CS1 maint: Uses editors parameter',
    ['embargo'] = 'CS1 maint: PMC embargo expired',
    ['embargo'] = 'CS1 maint: PMC embargo expired',
    ['english'] = 'CS1 maint: English language specified',
    ['english'] = 'CS1 maint: English language specified',
    ['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',
    ['ignore_isbn_err'] = 'CS1 maint: Ignored ISBN errors', -- $1 is authors or editors
    ['ignore_isbn_err'] = 'CS1 maint: Ignored ISBN errors',
    ['missing_pipe'] = 'CS1 maint: Missing pipe',
    ['missing_pipe'] = 'CS1 maint: Missing pipe',
    ['mult_names'] = 'CS1 maint: Multiple names: $1', -- $1 is authors or editors
    ['mult_names'] = 'CS1 maint: Multiple names: $1', -- $1 is authors or editors
    ['unfit'] = 'CS1 maint: Unfit url',
    ['unknown_lang'] = 'CS1 maint: Unrecognized language',
    ['unknown_lang'] = 'CS1 maint: Unrecognized language',
    ['untitled'] = 'CS1 maint: Untitled periodical',
    ['untitled'] = 'CS1 maint: Untitled periodical',
    Line 432: Line 440:
    ['AV-media-notes'] = 'Media notes',
    ['AV-media-notes'] = 'Media notes',
    ['DVD-notes'] = 'Media notes',
    ['DVD-notes'] = 'Media notes',
    ['interview'] = '(Interview)', -- special case for cite interview  TODO: make cite interview not need special cases
    ['mailinglist'] = 'Mailing list',
    ['mailinglist'] = 'Mailing list',
    ['map'] = 'Map',
    ['map'] = 'Map',
    Line 710: Line 719:
    COinS = 'info:arxiv',
    COinS = 'info:arxiv',
    separator = ':',
    separator = ':',
    free=true, -- free to read
    },
    },
    ['ASIN'] = {
    ['ASIN'] = {
    Line 870: Line 880:
    encode = true,
    encode = true,
    separator = '&nbsp;',
    separator = '&nbsp;',
    free = true,
    },
    },
    ['PMID'] = {
    ['PMID'] = {
    Line 890: Line 901:
    encode = false,
    encode = false,
    separator = '&nbsp;',
    separator = '&nbsp;',
    free = true,
    },
    },
    ['SSRN'] = {
    ['SSRN'] = {