Modul:Citace: Porovnání verzí

Smazaný obsah Přidaný obsah
Jvs (diskuse | příspěvky)
lepší (obecnější) řešení
oprava Bibcode a arXiv
Řádek 231:
p.citIssn(c)
p.citIsbn(c)
p.citArxiv(c)
p.citDoi(c)
p.citBibcode(c)
p.citPmid(c)
p.citId(c)
Řádek 1 103 ⟶ 1 105:
if c.trace then p.trace(c, debug.getinfo(1, "n")) end
if not p.empty(c.args["bibcode"]) then
table.insert(c.r, " [[Bibcode]]: [http://adsabs.harvard.edu/abs/" .. mw.uri.encode(c.args["bibcode"]) .. " " .. c.args["bibcode"] .. "].")
end;
end
Řádek 1 110 ⟶ 1 112:
if c.trace then p.trace(c, debug.getinfo(1, "n")) end
if not p.empty(c.args["arxiv"]) then
table.insert(c.r, " [[arXiv]]: [http://arxiv.org/abs/" .. mw.uri.encode(c.args["arxiv"]) .. " " .. c.args["arxiv"] .. "].")
end;
end