Module:Citation/CS1/Configuration and Module:Citation/CS1/Configuration/sandbox: Difference between pages
Appearance
(Difference between pages)
imported>Deadfire m 1 revision imported: Things for CS1 |
imported>Deadfire creation |
||
| Line 1: | Line 1: | ||
--[[ | |||
History of changes since last sync: 2024-08-17 | |||
2024-09-11: update emoji zwj table to v16.0; nothing changed except version and date; | |||
2024-09-17: +script lang code 'az'; | |||
2024-10-16: Add free DOI registrant 10.18637 - Foundation for Open Access Statistic | |||
2024-11-15: Add free DOI registrant 10.1016/j.proche - Procedia Chemistry | |||
2024-11-23: convert Category:CS1 maint: unfit URL to properties cat Category:CS1: unfit URL; see Help_talk:Citation_Style_1#clean_up_usurped_%2F_unfit_%2F_deviated | |||
2024-11-23: relax 'HugeDomains' generic title search; Help_talk:Citation_Style_1#HugeDomains | |||
2024-11-25: +script lang code: chr; see Help_talk:Citation_Style_1#Requested_edit_to_Module:Citation/CS1/Configuration | |||
]] | |||
local lang_obj = mw.language.getContentLanguage(); -- make a language object for the local language; used here for languages and dates | local lang_obj = mw.language.getContentLanguage(); -- make a language object for the local language; used here for languages and dates | ||
| Line 31: | Line 44: | ||
]] | ]] | ||
uncategorized_namespaces_t = {[2]=true}; -- init with user namespace id | local uncategorized_namespaces_t = {[2]=true}; -- init with user namespace id | ||
for k, _ in pairs (mw.site.talkNamespaces) do -- add all talk namespace ids | for k, _ in pairs (mw.site.talkNamespaces) do -- add all talk namespace ids | ||
uncategorized_namespaces_t[k] = true; | uncategorized_namespaces_t[k] = true; | ||
| Line 219: | Line 232: | ||
['ext-link-access-signal'] = '<span class="$1" title="$2">$3</span>', -- external link with appropriate lock icon | ['ext-link-access-signal'] = '<span class="$1" title="$2">$3</span>', -- external link with appropriate lock icon | ||
['free'] = {class=' | ['free'] = {class='id-lock-free', title='Freely accessible'}, -- classes defined in Module:Citation/CS1/styles.css | ||
['registration'] = {class=' | ['registration'] = {class='id-lock-registration', title='Free registration required'}, | ||
['limited'] = {class=' | ['limited'] = {class='id-lock-limited', title='Free access subject to limited trial, subscription normally required'}, | ||
['subscription'] = {class=' | ['subscription'] = {class='id-lock-subscription', title='Paid subscription required'}, | ||
['interwiki-icon'] = '<span class="$1" title="$2">$3</span>', | ['interwiki-icon'] = '<span class="$1" title="$2">$3</span>', | ||
| Line 345: | Line 358: | ||
['ScriptChapter'] = {'script-chapter', 'script-contribution', 'script-entry', | ['ScriptChapter'] = {'script-chapter', 'script-contribution', 'script-entry', | ||
'script-article', 'script-section'}, | 'script-article', 'script-section'}, | ||
['ScriptEncyclopedia'] = {'script-encyclopedia', 'script-encyclopaedia'}, -- cite encyclopedia only | |||
['ScriptMap'] = 'script-map', | ['ScriptMap'] = 'script-map', | ||
['ScriptPeriodical'] = {'script-journal', 'script-magazine', 'script-newspaper', | ['ScriptPeriodical'] = {'script-journal', 'script-magazine', 'script-newspaper', | ||
| Line 369: | Line 383: | ||
['TranscriptFormat'] = 'transcript-format', | ['TranscriptFormat'] = 'transcript-format', | ||
['TranscriptURL'] = 'transcript-url', -- Used by InternetArchiveBot | ['TranscriptURL'] = 'transcript-url', -- Used by InternetArchiveBot | ||
['TransEncyclopedia'] = {'trans-encyclopedia', 'trans-encyclopaedia'}, -- cite encyclopedia only | |||
['TransMap'] = 'trans-map', -- cite map only | ['TransMap'] = 'trans-map', -- cite map only | ||
['TransPeriodical'] = {'trans-journal', 'trans-magazine', 'trans-newspaper', | ['TransPeriodical'] = {'trans-journal', 'trans-magazine', 'trans-newspaper', | ||
| Line 481: | Line 496: | ||
]] | ]] | ||
local is_Latn = 'A-Za-z\195\128-\195\150\195\152-\195\182\195\184-\198\191\199\132-\201\143'; | local is_Latn = 'A-Za-z\195\128-\195\150\195\152-\195\182\195\184-\198\191\199\132-\201\143\225\184\128-\225\187\191'; | ||
local special_case_translation = { | local special_case_translation = { | ||
['AuthorList'] = 'authors list', -- used to assemble maintenance category names | ['AuthorList'] = 'authors list', -- used to assemble maintenance category names | ||
| Line 507: | Line 522: | ||
{['en'] = {'^wayback%s+machine$', false}, ['local'] = nil}, | {['en'] = {'^wayback%s+machine$', false}, ['local'] = nil}, | ||
{['en'] = {'are you a robot', true}, ['local'] = nil}, | {['en'] = {'are you a robot', true}, ['local'] = nil}, | ||
{['en'] = {'hugedomains | {['en'] = {'hugedomains', true}, ['local'] = nil}, | ||
{['en'] = {'^[%(%[{<]?no +title[>}%]%)]?$', false}, ['local'] = nil}, | {['en'] = {'^[%(%[{<]?no +title[>}%]%)]?$', false}, ['local'] = nil}, | ||
{['en'] = {'page not found', true}, ['local'] = nil}, | {['en'] = {'page not found', true}, ['local'] = nil}, | ||
| Line 514: | Line 529: | ||
{['en'] = {'website is for sale', true}, ['local'] = nil}, | {['en'] = {'website is for sale', true}, ['local'] = nil}, | ||
{['en'] = {'^404', false}, ['local'] = nil}, | {['en'] = {'^404', false}, ['local'] = nil}, | ||
{['en'] = {'error[ %-]404', false}, ['local'] = nil}, | |||
{['en'] = {'internet archive wayback machine', true}, ['local'] = nil}, | {['en'] = {'internet archive wayback machine', true}, ['local'] = nil}, | ||
{['en'] = {'log into facebook', true}, ['local'] = nil}, | {['en'] = {'log into facebook', true}, ['local'] = nil}, | ||
| Line 537: | Line 553: | ||
{['en'] = {'allmusic', true}, ['local'] = nil}, | {['en'] = {'allmusic', true}, ['local'] = nil}, | ||
{['en'] = {'%f[%a][Aa]uthor%f[%A]', false}, ['local'] = nil}, | {['en'] = {'%f[%a][Aa]uthor%f[%A]', false}, ['local'] = nil}, | ||
{['en'] = {'^[Bb]ureau$', false}, ['local'] = nil}, | |||
{['en'] = {'business', true}, ['local'] = nil}, | {['en'] = {'business', true}, ['local'] = nil}, | ||
{['en'] = {'cnn', true}, ['local'] = nil}, | {['en'] = {'cnn', true}, ['local'] = nil}, | ||
{['en'] = {'collaborator', true}, ['local'] = nil}, | {['en'] = {'collaborator', true}, ['local'] = nil}, | ||
{['en'] = {'^[Cc]ompany$', false}, ['local'] = nil}, | |||
{['en'] = {'contributor', true}, ['local'] = nil}, | {['en'] = {'contributor', true}, ['local'] = nil}, | ||
{['en'] = {'contact us', true}, ['local'] = nil}, | {['en'] = {'contact us', true}, ['local'] = nil}, | ||
{['en'] = {'correspondent', true}, ['local'] = nil}, | |||
{['en'] = {'^[Dd]esk$', false}, ['local'] = nil}, | |||
{['en'] = {'directory', true}, ['local'] = nil}, | {['en'] = {'directory', true}, ['local'] = nil}, | ||
{['en'] = {'%f[%(%[][%(%[]%s*eds?%.?%s*[%)%]]?$', false}, ['local'] = nil}, | {['en'] = {'%f[%(%[][%(%[]%s*eds?%.?%s*[%)%]]?$', false}, ['local'] = nil}, | ||
| Line 549: | Line 569: | ||
{['en'] = {'%f[%a][Ee]dited%f[%A]', false}, ['local'] = nil}, | {['en'] = {'%f[%a][Ee]dited%f[%A]', false}, ['local'] = nil}, | ||
{['en'] = {'%f[%a][Ee]ditors?%f[%A]', false}, ['local'] = nil}, | {['en'] = {'%f[%a][Ee]ditors?%f[%A]', false}, ['local'] = nil}, | ||
{['en'] = {'%f[%a] | {['en'] = {'%f[%a][Ee]mail%f[%A]', false}, ['local'] = nil}, | ||
{['en'] = {'facebook', true}, ['local'] = nil}, | {['en'] = {'facebook', true}, ['local'] = nil}, | ||
{['en'] = {'google', true}, ['local'] = nil}, | {['en'] = {'google', true}, ['local'] = nil}, | ||
{['en'] = {'^[Gg]roup$', false}, ['local'] = nil}, | |||
{['en'] = {'home page', true}, ['local'] = nil}, | {['en'] = {'home page', true}, ['local'] = nil}, | ||
{['en'] = {'^[Ii]nc%.?$', false}, ['local'] = nil}, | {['en'] = {'^[Ii]nc%.?$', false}, ['local'] = nil}, | ||
{['en'] = {'instagram', true}, ['local'] = nil}, | {['en'] = {'instagram', true}, ['local'] = nil}, | ||
{['en'] = {'interviewer', true}, ['local'] = nil}, | {['en'] = {'interviewer', true}, ['local'] = nil}, | ||
{['en'] = {'^[Ll]imited$', false}, ['local'] = nil}, | |||
{['en'] = {'linkedIn', true}, ['local'] = nil}, | {['en'] = {'linkedIn', true}, ['local'] = nil}, | ||
{['en'] = {'^[Nn]ews$', false}, ['local'] = nil}, | {['en'] = {'^[Nn]ews$', false}, ['local'] = nil}, | ||
{['en'] = {'[Nn]ews[ %-]?[Rr]oom', false}, ['local'] = nil}, | |||
{['en'] = {'pinterest', true}, ['local'] = nil}, | {['en'] = {'pinterest', true}, ['local'] = nil}, | ||
{['en'] = {'policy', true}, ['local'] = nil}, | {['en'] = {'policy', true}, ['local'] = nil}, | ||
| Line 599: | Line 622: | ||
local_date_names_from_mediawiki is a boolean. When set to: | local_date_names_from_mediawiki is a boolean. When set to: | ||
true – module will fetch local month names from MediaWiki for both date_names['local']['long'] and date_names['local']['short'] | true – module will fetch local month names from MediaWiki for both date_names['local']['long'] and date_names['local']['short']; this will unconditionally overwrite manual translations | ||
false – module will *not* fetch local month names from MediaWiki | false – module will *not* fetch local month names from MediaWiki | ||
| Line 611: | Line 634: | ||
]] | ]] | ||
local local_date_names_from_mediawiki = true; -- when false, manual translation required for date_names['local']['long'] and date_names['local']['short'] | local local_date_names_from_mediawiki = true; -- when false, manual translation required for date_names['local']['long'] and date_names['local']['short']; overwrites manual translations | ||
-- when true, module fetches long and short month names from MediaWiki | -- when true, module fetches long and short month names from MediaWiki | ||
local date_names = { | local date_names = { | ||
| Line 754: | Line 777: | ||
'^[Pp]gs.?', | '^[Pp]gs.?', | ||
}, | }, | ||
vi_patterns_t = { -- combined to catch volume-like text in |issue= and issue-like text in |volume= | |||
'^volumes?', | '^volumes?', -- volume-like text | ||
'^vols?[%.:=]?' | '^vols?[%.:=]?', | ||
'^issues?', --issue-like text | |||
'^issues?', | |||
'^iss[%.:=]?', | '^iss[%.:=]?', | ||
'^numbers?', | '^numbers?', | ||
'^nos?%A', -- don't match 'november' or 'nostradamus' | '^nos?%A', -- don't match 'november' or 'nostradamus' | ||
'^nr[%.:=]?', | '^nr[%.:=]?', | ||
'^n[%.:= ]' | '^n[%.:= ]', -- might be a valid issue without separator (space char is sep char here) | ||
} | '^n°', -- 'n' with degree sign (U+00B0) | ||
'^№', -- precomposed unicode numero character (U+2116) | |||
}, | |||
} | } | ||
| Line 1,051: | Line 1,075: | ||
-- list of emoji that use a zwj character (U+200D) to combine with another emoji | -- list of emoji that use a zwj character (U+200D) to combine with another emoji | ||
-- from: https://unicode.org/Public/emoji/ | -- from: https://unicode.org/Public/emoji/16.0/emoji-zwj-sequences.txt; version: 16.0; 2024-08-14 | ||
-- table created by: [[:en:Module:Make emoji zwj table]] | -- table created by: [[:en:Module:Make emoji zwj table]] | ||
local emoji_t = { -- indexes are decimal forms of the hex values in U+xxxx | local emoji_t = { -- indexes are decimal forms of the hex values in U+xxxx | ||
| Line 1,153: | Line 1,177: | ||
local script_lang_codes = { | local script_lang_codes = { | ||
'ab', 'am', 'ar', 'be', 'bg', 'bn', 'bo', 'bs', 'dv', 'dz', 'el', 'fa', 'gu', 'he', | 'ab', 'am', 'ar', 'az', 'be', 'bg', 'bn', 'bo', 'bs', 'ce', 'chr', 'dv', 'dz', | ||
'el', 'fa', 'grc', 'gu', 'he', 'hi', 'hy', 'ja', 'ka', 'kk', 'km', 'kn', 'ko', | |||
'ku', 'ky', 'lo', 'mk', 'ml', 'mn', 'mni', 'mr', 'my', 'ne', 'or', 'ota', | |||
'pa', 'ps', 'ru', 'sd', 'si', 'sr', 'syc', 'ta', 'te', 'tg', 'th', 'ti', 'tt', | |||
'ug', 'uk', 'ur', 'uz', 'yi', 'yue', 'zh' | |||
}; | }; | ||
| Line 1,230: | Line 1,255: | ||
['foreign-lang-source'] = 'CS1 $1-language sources ($2)', -- |language= categories; $1 is foreign-language name, $2 is ISO639-1 code | ['foreign-lang-source'] = 'CS1 $1-language sources ($2)', -- |language= categories; $1 is foreign-language name, $2 is ISO639-1 code | ||
['foreign-lang-source-2'] = 'CS1 foreign language sources (ISO 639-2)|$1', -- |language= category; a cat for ISO639-2 languages; $1 is the ISO 639-2 code used as a sort key | ['foreign-lang-source-2'] = 'CS1 foreign language sources (ISO 639-2)|$1', -- |language= category; a cat for ISO639-2 languages; $1 is the ISO 639-2 code used as a sort key | ||
[' | ['interproj-linked-name'] = 'CS1 interproject-linked names|$1', -- any author, editor, etc that has an interproject link; $1 is interproject tag used as a sort key | ||
['interwiki-linked-name'] = 'CS1 interwiki-linked names|$1', -- any author, editor, etc that has an interwiki link; $1 is interwiki tag used as a sort key; yeilds to interproject | |||
['local-lang-source'] = 'CS1 $1-language sources ($2)', -- |language= categories; $1 is local-language name, $2 is ISO639-1 code; not emitted when local_lang_cat_enable is false | ['local-lang-source'] = 'CS1 $1-language sources ($2)', -- |language= categories; $1 is local-language name, $2 is ISO639-1 code; not emitted when local_lang_cat_enable is false | ||
['location-test'] = 'CS1 location test', | ['location-test'] = 'CS1 location test', | ||
['long-vol'] = 'CS1: long volume value', -- probably temporary cat to identify scope of |volume= values longer than 4 characters | ['long-vol'] = 'CS1: long volume value', -- probably temporary cat to identify scope of |volume= values longer than 4 characters | ||
['script'] = 'CS1 uses $1-language script ($2)', -- |script-title=xx: has matching category; $1 is language name, $2 is | ['script'] = 'CS1 uses $1-language script ($2)', -- |script-title=xx: has matching category; $1 is language name, $2 is language tag | ||
['tracked-param'] = 'CS1 tracked parameter: $1', -- $1 is base (enumerators removed) parameter name | ['tracked-param'] = 'CS1 tracked parameter: $1', -- $1 is base (enumerators removed) parameter name | ||
['unfit'] = 'CS1: unfit URL', -- |url-status=unfit or |url-status=usurped; used to be a maint cat | |||
['year-range-abbreviated'] = 'CS1: abbreviated year range', -- probably temporary cat to identify scope of |date=, |year= values using YYYY–YY form | ['year-range-abbreviated'] = 'CS1: abbreviated year range', -- probably temporary cat to identify scope of |date=, |year= values using YYYY–YY form | ||
} | } | ||
| Line 1,265: | Line 1,292: | ||
build a table of doi registrants known to be free-to-read In a doi, the registrant ID is the series of digits | build a table of doi registrants known to be free-to-read In a doi, the registrant ID is the series of digits | ||
between the '10.' and the first '/': in doi 10.1100/sommat, 1100 is the registrant ID | between the '10.' and the first '/': in doi 10.1100/sommat, 1100 is the registrant ID | ||
see §3.2.2 DOI prefix of the Doi Handbook p. 43 | |||
https://www.doi.org/doi-handbook/DOI_Handbook_Final.pdf#page=43 | |||
]] | ]] | ||
| Line 1,271: | Line 1,301: | ||
local registrants_t = {}; | local registrants_t = {}; | ||
for _, v in ipairs ({ | for _, v in ipairs ({ | ||
'1100', '1155', '1186', '1371', '1629', '1989', '1999', '2147', '2196', '3285', '3389', '3390 | '1045', '1074', '1096', '1100', '1155', '1186', '1194', '1371', '1629', '1989', '1999', '2147', '2196', '3285', '3389', '3390', | ||
'3748', '3814', '3847', '3897', '4061', '4089', '4103', '4172', '4175', '4236', '4239', '4240', '4251', | '3748', '3814', '3847', '3897', '4061', '4089', '4103', '4172', '4175', '4230', '4236', '4239', '4240', '4249', '4251', | ||
'4252', '4253', '4254', '4291', '4292', '4329', '4330', '4331', '5194', '5306', '5312', '5313', '5314', | '4252', '4253', '4254', '4291', '4292', '4329', '4330', '4331', '5194', '5210', '5306', '5312', '5313', '5314', | ||
'5315', '5316', '5317', '5318', '5319', '5320', '5321', '5334', '5402', '5409', '5410', '5411', '5412', | '5315', '5316', '5317', '5318', '5319', '5320', '5321', '5334', '5402', '5409', '5410', '5411', '5412', | ||
'5492', '5493', '5494', '5495', '5496', '5497', '5498', '5499', '5500', '5501', '5527', '5528', '5662', | '5492', '5493', '5494', '5495', '5496', '5497', '5498', '5499', '5500', '5501', '5527', '5528', '5662', | ||
'6064', '6219', '7167', '7217', '7287', '7482', '7490', '7554', '7717', '7766', '11131', '11569', '11647', | '6064', '6219', '7167', '7217', '7287', '7482', '7490', '7554', '7717', '7759', '7766', '11131', '11569', '11647', | ||
'11648', '12688', '12703', '12715', '12998', '13105', '14293', '14303', '15215', '15412', '15560', '16995', | '11648', '12688', '12703', '12715', '12942', '12998', '13105', '14256', '14293', '14303', '15215', '15347', '15412', '15560', '16995', | ||
'17645', '19080', '19173', '20944', '21037', '21468', '21767', '22261', '22459', '24105', '24196', '24966', | '17645', '18637', '19080', '19173', '20944', '21037', '21468', '21767', '22261', '22323', '22459', '24105', '24196', '24966', | ||
'26775', '30845', '32545', '35711', '35712', '35713', '35995', '36648', '37126', '37532', '37871', '47128', | '26775', '30845', '32545', '35711', '35712', '35713', '35995', '36648', '37126', '37532', '37871', '47128', | ||
'47622', '47959', '52437', '52975', '53288', '54081', '54947', '55667', '55914', '57009', '58647', '59081', | '47622', '47959', '52437', '52975', '53288', '54081', '54947', '55667', '55914', '57009', '58647', '59081', | ||
| Line 1,287: | Line 1,317: | ||
return registrants_t; | return registrants_t; | ||
end | end | ||
local extended_registrants_t = { -- known free registrants identifiable by the doi suffix incipit | |||
['1016'] = {'j.heliyon', 'j.proche'}, -- Heliyon, Procedia Chemistry | |||
['1046'] = {'j.1365-8711', 'j.1365-246x'}, -- MNRAS, GJI | |||
['1093'] = {'mnras', 'mnrasl', 'gji', 'rasti'}, -- MNRAS, MNRAS Letters, GJI, RASTI | |||
['1099'] = {'acmi', 'mic', '00221287', 'mgen'}, -- Access Microbiology, Microbiology, Journal of General Microbiology, Microbial Genomics | |||
['1111'] = {'j.1365-2966', 'j.1745-3933', 'j.1365-246X'}, -- MNRAS, MNRAS Letters, GJI | |||
['1210'] = {'jendso','jcemcr'}, -- Journal of the Endocrine Society, JCEM Case Reports | |||
} | |||
| Line 2,008: | Line 2,047: | ||
hidden = true, | hidden = true, | ||
}, | }, | ||
maint_unknown_lang = { | maint_unknown_lang = { | ||
message = nil, | message = nil, | ||
| Line 2,030: | Line 2,063: | ||
anchor = 'url_status', | anchor = 'url_status', | ||
category = 'CS1 maint: url-status', | category = 'CS1 maint: url-status', | ||
hidden = true, | |||
}, | |||
maint_year= { | |||
message = nil, | |||
anchor = 'year', | |||
category = 'CS1 maint: year', | |||
hidden = true, | hidden = true, | ||
}, | }, | ||
| Line 2,039: | Line 2,078: | ||
}, | }, | ||
} | } | ||
--[[--------------------------< I D _ L I M I T S _ D A T A _ T >---------------------------------------------- | |||
fetch id limits for certain identifiers from c:Data:CS1/Identifier limits.tab. This source is a json tabular | |||
data file maintained at wikipedia commons. Convert the json format to a table of k/v pairs. | |||
The values from <id_limits_data_t> are used to set handle.id_limit. | |||
]] | |||
local id_limits_data_t = {}; | |||
for _, limit_t in ipairs (mw.ext.data.get ("CS1/Identifier limits.tab").data) do | |||
id_limits_data_t[limit_t[1]] = limit_t[2]; -- <limit[1]> is identifier; <limit[2]> is upper limit for that identifier | |||
end | |||
| Line 2,151: | Line 2,205: | ||
q = 'Q46339674', | q = 'Q46339674', | ||
label = 'eISSN', | label = 'eISSN', | ||
prefix = 'https:// | prefix = 'https://search.worldcat.org/issn/', | ||
COinS = 'rft.eissn', | COinS = 'rft.eissn', | ||
encode = false, | encode = false, | ||
| Line 2,194: | Line 2,248: | ||
q = 'Q131276', | q = 'Q131276', | ||
label = 'ISSN', | label = 'ISSN', | ||
prefix = 'https:// | prefix = 'https://search.worldcat.org/issn/', | ||
COinS = 'rft.issn', | COinS = 'rft.issn', | ||
encode = false, | encode = false, | ||
| Line 2,262: | Line 2,316: | ||
q = 'Q190593', | q = 'Q190593', | ||
label = 'OCLC', | label = 'OCLC', | ||
prefix = 'https:// | prefix = 'https://search.worldcat.org/oclc/', | ||
COinS = 'info:oclcnum', | COinS = 'info:oclcnum', | ||
encode = true, | encode = true, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.OCLC or 0, | ||
}, | }, | ||
['OL'] = { | ['OL'] = { | ||
| Line 2,290: | Line 2,344: | ||
encode = true, | encode = true, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.OSTI or 0, | ||
custom_access = 'osti-access', | custom_access = 'osti-access', | ||
}, | }, | ||
| Line 2,304: | Line 2,358: | ||
encode = true, | encode = true, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.PMC or 0, | ||
access = 'free', -- free to read | access = 'free', -- free to read | ||
}, | }, | ||
| Line 2,317: | Line 2,371: | ||
encode = false, | encode = false, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.PMID or 0, | ||
}, | }, | ||
['RFC'] = { | ['RFC'] = { | ||
| Line 2,329: | Line 2,383: | ||
encode = false, | encode = false, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.RFC or 0, | ||
access = 'free', -- free to read | access = 'free', -- free to read | ||
}, | }, | ||
| Line 2,351: | Line 2,405: | ||
encode = true, | encode = true, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.SSRN or 0, | ||
custom_access = 'ssrn-access', | custom_access = 'ssrn-access', | ||
}, | }, | ||
| Line 2,364: | Line 2,418: | ||
encode = false, | encode = false, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = id_limits_data_t.S2CID or 0, | ||
custom_access = 's2cid-access', | custom_access = 's2cid-access', | ||
}, | }, | ||
| Line 2,417: | Line 2,471: | ||
editor_markup_patterns = editor_markup_patterns, | editor_markup_patterns = editor_markup_patterns, | ||
et_al_patterns = et_al_patterns, | et_al_patterns = et_al_patterns, | ||
extended_registrants_t = extended_registrants_t, | |||
id_handlers = id_handlers, | id_handlers = id_handlers, | ||
keywords_lists = keywords_lists, | keywords_lists = keywords_lists, | ||