Module:Documentation: Difference between revisions

Jump to navigation Jump to search
m>Mr. Stradivarius
only generate the URL for the compare link in the env table - the rest is now done elsewhere so that the display can be different in different places
m>Mr. Stradivarius
oops, looks like I issued a command that put everything in lower case somewhere along the line
Line 320: Line 320:
else
else
-- 'This is the [[Wikipedia:Template test cases|template sandbox]] page for $1 ($2).'
-- 'This is the [[Wikipedia:Template test cases|template sandbox]] page for $1 ($2).'
local comparedisplay = message('sandboxnoticecomparelinkdisplay', 'string')
local compareDisplay = message('sandboxNoticeCompareLinkDisplay', 'string')
local comparelink = makeurllink(compareurl, comparedisplay)
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandboxNoticeDiffBlurb', 'string', {templateLink, compareLink})
text = text .. message('sandboxNoticeDiffBlurb', 'string', {templateLink, compareLink})
end
end