Difference between revisions of "Module:Documentation"
oops, looks like I issued a command that put everything in lower case somewhere along the line
>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) |
>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 | local compareDisplay = message('sandboxNoticeCompareLinkDisplay', 'string') | ||
local | local compareLink = makeUrlLink(compareUrl, compareDisplay) | ||
text = text .. message('sandboxNoticeDiffBlurb', 'string', {templateLink, compareLink}) | text = text .. message('sandboxNoticeDiffBlurb', 'string', {templateLink, compareLink}) | ||
end | end |