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 | if 10 < number:len() then | ||
number = nil; -- contrain to 1 to | number = nil; -- contrain to 1 to 10 digits; change this when oclc issues 11-digit numbers | ||
end | end | ||
end | end |