Module:Documentation: Difference between revisions

Jump to navigation Jump to search
p.content: use frame:expandTemplate instead of frame:preprocess to improve performance
(make [create] links look like [view] [edit] etc. links)
(p.content: use frame:expandTemplate instead of frame:preprocess to improve performance)
Line 635:
if not content and docTitle and docTitle.exists then
local frame = mw.getCurrentFrame()
content = frame:preprocess('{expandTemplate{title ' ..= docTitle.prefixedText .. ' }}')
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu