Module:Citation/CS1/Configuration: Difference between revisions
Synch from sandbox;
m>Trappist the monk (Synch from sandbox;) |
m>Trappist the monk (Synch from sandbox;) |
||
Line 53: | Line 53: | ||
['sections'] = '§§ $1', | ['sections'] = '§§ $1', | ||
['series'] = 'Series $1', | ['series'] = 'Series $1', | ||
['translated'] = 'Translated by $1', | |||
['type'] = ' ($1)', -- for titletype | ['type'] = ' ($1)', -- for titletype | ||
['written'] = 'Written at $1', | ['written'] = 'Written at $1', | ||
Line 371: | Line 372: | ||
-- {'Supplementary Private Use Area-B', '[\244\128\128\128-\244\143\191\189]'}, -- U+100000–U+10FFFD, F4 80 80 80 – F4 8F BF BD | -- {'Supplementary Private Use Area-B', '[\244\128\128\128-\244\143\191\189]'}, -- U+100000–U+10FFFD, F4 80 80 80 – F4 8F BF BD | ||
} | } | ||
--[[--------------------------< L A N G U A G E S >------------------------------------------------------------ | |||
This table is used to hold ISO 639-1 two-character language codes that apply only to |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', | |||
'mk', 'ml', 'mr', 'ps', 'ru', 'sd', 'sr', 'th', | |||
'uk', 'ug', 'ur', 'yi', 'zh'}; | |||
Line 381: | Line 394: | ||
local maint_cats = { | local maint_cats = { | ||
['ASIN'] = 'CS1 maint: ASIN uses ISBN', | ['ASIN'] = 'CS1 maint: ASIN uses ISBN', | ||
['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 | ||
Line 478: | Line 492: | ||
anchor = 'bad_asin', | anchor = 'bad_asin', | ||
category ='CS1 errors: ASIN', | category ='CS1 errors: ASIN', | ||
hidden = false }, | |||
bad_bibcode = { | |||
message = 'Check <code style="'..code_style..'">|bibcode=</code> $1', | |||
anchor = 'bad_bibcode', | |||
category = 'CS1 errors: bibcode', | |||
hidden = false }, | hidden = false }, | ||
bad_date = { | bad_date = { | ||
Line 650: | Line 669: | ||
hidden = false }, | hidden = false }, | ||
vancouver = { | vancouver = { | ||
message = 'Vancouver style error', | message = 'Vancouver style error: $1', | ||
anchor = 'vancouver', | anchor = 'vancouver', | ||
category = 'CS1 errors: Vancouver style', | category = 'CS1 errors: Vancouver style', | ||
Line 706: | Line 725: | ||
link = 'Bibcode', | link = 'Bibcode', | ||
label = 'Bibcode', | label = 'Bibcode', | ||
mode = ' | -- mode = 'external', | ||
mode = 'manual', | |||
prefix = 'http://adsabs.harvard.edu/abs/', | prefix = 'http://adsabs.harvard.edu/abs/', | ||
encode = false, | encode = false, | ||
Line 915: | Line 935: | ||
presentation = presentation, | presentation = presentation, | ||
prop_cats = prop_cats, | prop_cats = prop_cats, | ||
script_lang_codes = script_lang_codes, | |||
title_types = title_types, | title_types = title_types, | ||
uncategorized_namespaces = uncategorized_namespaces, | uncategorized_namespaces = uncategorized_namespaces, |