Open main menu

Changes

Module:Citation

334 bytes added, 18:33, 25 August 2012
Implemented better DOI function.
end
function doihideinprint(frame, icontent) return contentend function doi(frame:preprocess, id) local text = hideinprint("[[Digital object identifier|doi]]:[http://dx.doi.org/{{doi|urlencode:" .. i id .. "}}".. tag(frame, {name="nowiki",contents=id,params={}}) .. "]") if ( string.sub(id,1,3) ~= "10." ) then text = text .. "[[Category:Pages with DOI errors]]" end return frame:preprocess(text)
end
Anonymous user