Module:High-use: Difference between revisions
Undid revision 1015797527 by JsfasdF252 (talk)
(direct links to prevent redlinks) |
(Undid revision 1015797527 by JsfasdF252 (talk)) |
||
Line 76: | Line 76: | ||
) | ) | ||
local sandbox_text = string.format("%s's | local sandbox_text = string.format("%s's [[%s/sandbox|/sandbox]] or [[%s/testcases|/testcases]] subpages%s ", | ||
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"), | (mw.title.getCurrentTitle().namespace == 828 and "module" or "template"), | ||
title.fullText, title.fullText, | title.fullText, title.fullText, | ||
(mw.title.getCurrentTitle().namespace == 828 and "." or ", or in your own | (mw.title.getCurrentTitle().namespace == 828 and "." or ", or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].") | ||
) | ) | ||
Line 98: | Line 98: | ||
local discussion_text = "Consider discussing changes " | local discussion_text = "Consider discussing changes " | ||
if frame.args["2"] and frame.args["2"] ~= "" and frame.args["2"] ~= "yes" then | if frame.args["2"] and frame.args["2"] ~= "" and frame.args["2"] ~= "yes" then | ||
discussion_text = string.format("%sat | discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"]) | ||
else | else | ||
discussion_text = string.format("%son the | discussion_text = string.format("%son the [[%s|talk page]]", discussion_text, title.talkPageTitle.fullText ) | ||
end | end | ||