Module:Documentation: Difference between revisions
Jump to navigation
Jump to search
m>Mr. Stradivarius remove sort key comment from p.addTrackingCategories, as it isn't being used any more |
m>Mr. Stradivarius 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 />' | ||
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 '') | |||
local printBlurb = p.makePrintBlurb(args, env) | local printBlurb = p.makePrintBlurb(args, env) | ||
if printBlurb then | if printBlurb then |