Module:FreeBSD: Difference between revisions
From Nasqueron Agora
m (One condition) |
(freshports.org now has HTTPS support) |
||
Line 4: | Line 4: | ||
function p.GetsPortLink(frame) | function p.GetsPortLink(frame) | ||
if (frame.args.url == nil or frame.args.url == '') then | if (frame.args.url == nil or frame.args.url == '') then | ||
link = " | link = "https://www.freshports.org/" .. frame.args.port | ||
else | else | ||
link = frame.args.url | link = frame.args.url |
Latest revision as of 15:13, 13 February 2017
Documentation for this module may be created at Module:FreeBSD/doc