Jump to content

Module:Citation/CS1/Identifiers: Difference between revisions

m
oclc to 10 digit max;
m>Trappist the monk
(sy)
m>Trappist the monk
m (oclc to 10 digit max;)
Line 654: Line 654:
elseif id:match('^%d+$') then -- no prefix
elseif id:match('^%d+$') then -- no prefix
number = id; -- get the number
number = id; -- get the number
if 9 < number:len() then
if 10 < number:len() then
number = nil; -- contrain to 1 to 9 digits; change this when oclc issues 10-digit numbers
number = nil; -- contrain to 1 to 10 digits; change this when oclc issues 11-digit numbers
end
end
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.