Module:Documentation: Difference between revisions

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