Changes
Jump to navigation
Jump to search
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