Modul:LinkISBN: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 47: | Zeile 47: | ||
args.demo = yn( args.demo or '', false ) | args.demo = yn( args.demo or '', false ) | ||
local result = '', j, s | |||
local result = '' | |||
if args.isbn ~= '' then | if args.isbn ~= '' then | ||
Zeile 55: | Zeile 54: | ||
-- analyse ISBNs | -- analyse ISBNs | ||
for | for j = 1, #items, 1 do | ||
s = li.linkISBN( items[ | s = li.linkISBN( items[ j ], args.noerror, args.demo ) | ||
if s ~= '' then | if s ~= '' then | ||
if result == '' then result = s | if result == '' then | ||
else result = result .. ', ' .. s | result = s | ||
else | |||
result = result .. ', ' .. s | |||
end | end | ||
end | end |