Module:Citation/CS1/Identifiers/sandbox: Difference between revisions

no edit summary
m (1 revision imported: Templates and CSS files)
imported>Trappist the monk
No edit summary
 
Line 1: Line 1:
--[[
--[[
History of changes since last sync: 2022-01-22
History of changes since last sync: 2023-01-14


2022-09-23: catch 1 & 2 digit doi registrants with subcode; see Help_talk:Citation_Style_1#Fails_to_throw_a_DOI_error
2023-02-20: maint cat for temp bibcodes; see Help_talk:Citation_Style_1#New_maintenance_category%3A_Category%3ACS1_maint%3A_bibcode


]]
]]
Line 429: Line 429:
if id:find('&%.') then
if id:find('&%.') then
err_type = cfg.err_msg_supl.journal; -- journal abbreviation must not have '&.' (if it does it's missing a letter)
err_type = cfg.err_msg_supl.journal; -- journal abbreviation must not have '&.' (if it does it's missing a letter)
end
if id:match ('.........%.tmp%.') then -- temporary bibcodes when positions 10–14 are '.tmp.'
set_message ('maint_bibcode');
end
end
end
end