Module:Documentation: Difference between revisions

ignore _content if it wouldn't have tried expanding the template
m (reflect changes to our config)
(ignore _content if it wouldn't have tried expanding the template)
Line 646:
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content or args._content
if not content and docTitle and docTitle.exists then
local framecontent = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
content = frame:expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
Anonymous user