Module:VersionInfobox: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 31: Line 31:
if args.hgtag ~= nil then
if args.hgtag ~= nil then
retval:addRow( 'Mercurial tag', args.nextversion )
retval:addRow( 'Mercurial tag', string.format( '[https://osdn.net/projects/zandronum/scm/hg/zandronum-stable/commits/%s %s]', args.hgtag, args.hgtag) )
end
end
Line 39: Line 39:
if args.nextversion ~= nil then
if args.nextversion ~= nil then
retval:addRow( 'Next', string.format( '[https://osdn.net/projects/zandronum/scm/hg/zandronum-stable/commits/%s %s]', args.hgtag, args.hgtag) )
retval:addRow( 'Next', args.nextversion )
end
end