Module:Citation/CS1/Identifiers and Module:Citation/CS1/Identifiers/sandbox: Difference between pages
(Difference between pages)
imported>Trappist the monk ignore |year=n.d. or |year=nd when looking for a date/isbn mismatch; |
imported>Trappist the monk No edit summary |
||
| Line 1: | Line 1: | ||
--[[ | |||
History of changes since last sync: 2025-08-30 | |||
2025-11-24: increase 5-digit doi registrant; see Help_talk:Citation_Style_1#DOI_value | |||
]] | |||
--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- | --[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- | ||
]] | ]] | ||
| Line 592: | Line 600: | ||
set_message ('maint_doi_inactive'); | set_message ('maint_doi_inactive'); | ||
end | end | ||
inactive = | inactive = substitute (cfg.messages['inactive'], inactive ); | ||
end | end | ||
| Line 599: | Line 607: | ||
local registrant_err_patterns = { -- these patterns are for code ranges that are not supported | local registrant_err_patterns = { -- these patterns are for code ranges that are not supported | ||
'^[^1-3]%d%d%d%d%.%d+$', -- 5 digits with subcode (0xxxx, 40000+); accepts: 10000–39999 | '^[^1-3]%d%d%d%d%.%d+$', -- 5 digits with subcode (reject 0xxxx, 40000+); accepts: 10000–39999 | ||
'^[^1- | '^[^1-8]%d%d%d%d$', -- 5 digits without subcode (reject 0xxxx, 90000+); accepts: 10000–89999 | ||
'^[^1-9]%d%d%d%.%d+$', | '^[^1-9]%d%d%d%.%d+$', -- 4 digits with subcode (reject 0xxx); accepts: 1000–9999 | ||
'^[^1-9]%d%d%d$', -- 4 digits without subcode (0xxx); accepts: 1000–9999 | '^[^1-9]%d%d%d$', -- 4 digits without subcode (reject 0xxx); accepts: 1000–9999 | ||
'^%d%d%d%d%d%d+', -- 6 or more digits | '^%d%d%d%d%d%d+', -- 6 or more digits | ||
'^%d%d?%d?$', -- less than 4 digits without subcode (3 digits with subcode is legitimate) | '^%d%d?%d?$', -- less than 4 digits without subcode (3 digits with subcode is legitimate) | ||