Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Documentation: Difference between revisions

Content added Content deleted
(remove sort key comment from p.addTrackingCategories, as it isn't being used any more)
(don't check that we are not in the file namespace before adding the subpage blurb, as we already know we're either in the user, template or module namespace)
Line 671: Line 671:
text = text .. p.makeExperimentBlurb(args, env)
text = text .. p.makeExperimentBlurb(args, env)
text = text .. '<br />'
text = text .. '<br />'
-- Show the categories text, but not if we have the content on the template page itself,
-- or if the documentation page has been specified explicitly, since then it is unclear
-- where to add the categories.
if not args.content and not args[1] then
if not args.content and not args[1] then
-- Show the categories text, but not if we have the content on the template page itself,
-- or if the documentation page has been specified explicitly, since then it is unclear
-- where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '')
-- Show the "subpages" link if we are not in the File namespace.
if subjectSpace ~= 6 then
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '')
end
-- Show the "print" link if it exists.
local printBlurb = p.makePrintBlurb(args, env)
local printBlurb = p.makePrintBlurb(args, env)
if printBlurb then
if printBlurb then
Cookies help us deliver our services. By using our services, you agree to our use of cookies.