Module:Citation/CS1/Identifiers: Difference between revisions

    (sync doi() from sandbox to fix minor error because same time fixed lua script error in ~/Date validation;)
    (willing to deploy out of cycle given these were just updated)
    Line 920: Line 920:


    local function pmid(id)
    local function pmid(id)
    local test_limit = 32000000; -- update this value as PMIDs approach
    local test_limit = 33000000; -- 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