Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
only return contentTitle if it will be used
en>Jackmcbarn
(ugly hack so that expanding of the /doc subpage doesn't count against Lua's time limit)
en>Jackmcbarn
(only return contentTitle if it will be used)
Line 661: Line 661:
env = env or p.getEnvironment(args)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local docTitle = env.docTitle
if docTitle and docTitle.exists then
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
return docTitle.prefixedText
else
else
Anonymous user

Navigation menu