Changes

Module:Documentation

144 bytes removed, 04:29, 27 January 2014
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
text = text .. p.makeExperimentBlurb(args, env)
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
-- 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 '')
end
-- 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)
if printBlurb then
Anonymous user