Modul:Citation: Unterschied zwischen den Versionen
pattern doi
(check numbers) |
(pattern doi) |
||
| Zeile 2: | Zeile 2: | ||
local citation = { | local citation = { | ||
suite = 'Citation', | suite = 'Citation', | ||
serial = '2022-08- | serial = '2022-08-11', | ||
item = 56159597 | item = 56159597 | ||
} | } | ||
| Zeile 161: | Zeile 161: | ||
end | end | ||
if cu.isSet( args.doi ) and not mw.ustring.match( args.doi, '^10%.[1-9]%d | if cu.isSet( args.doi ) and not mw.ustring.match( args.doi, '^10%.[1-9]%d%d%d%d?/.+$' ) then | ||
args.doi = '' | args.doi = '' | ||
table.insert( wrong, 'doi' ) | table.insert( wrong, 'doi' ) | ||