Module:High-use: Difference between revisions

no edit summary
imported>GKFX
(Link to https://linkcount.toolforge.org/ which is more detailed and mobile-friendly)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 99: Line 99:
local sandbox_text =  ("%s's [[%s/sandbox|/sandbox]] or [[%s/testcases|/testcases]] subpages, or in your own [[%s]]. "):format(
local sandbox_text =  ("%s's /sandbox or /testcases subpages, or in your own [[%s]]. "):format(
(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,
Line 125: Line 125:
discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"])
discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"])
else
else
discussion_text = string.format("%son the [[%s|talk page]]", discussion_text, title.talkPageTitle.fullText )
discussion_text = string.format("%son the talk page", discussion_text, title.talkPageTitle.fullText )
end
end