Module:Citation/CS1/Identifiers:修订间差异

zhwiki>Shizhao
update pmid & pmc
 
IdleTap-bot​(留言 | 贡献)
导入自求闻百科
 
第8行: 第8行:


local cfg; -- table of configuration tables that are defined in Module:Citation/CS1/Configuration
local cfg; -- table of configuration tables that are defined in Module:Citation/CS1/Configuration
local wd_int_lang = (mw.site.server:match ('wikidata') and mw.getCurrentFrame():preprocess('{{int:lang}}')) or '';


--============================<< H E L P E R  F U N C T I O N S >>============================================
--============================<< H E L P E R  F U N C T I O N S >>============================================
第964行: 第961行:


local function pmc(id, embargo)
local function pmc(id, embargo)
local test_limit = 13000000; -- update this value as PMCs approach
local test_limit = 120000000; -- update this value as PMCs approach
local handler = cfg.id_handlers['PMC'];
local handler = cfg.id_handlers['PMC'];
local err_cat = ''; -- presume that PMC is valid
local err_cat = ''; -- presume that PMC is valid
第1,014行: 第1,011行:


local function pmid(id)
local function pmid(id)
local test_limit = 50000000; -- update this value as PMIDs approach
local test_limit = 40000000; -- update this value as PMIDs approach
local handler = cfg.id_handlers['PMID'];
local handler = cfg.id_handlers['PMID'];
local err_cat = ''; -- presume that PMID is valid
local err_cat = ''; -- presume that PMID is valid