Open main menu

Changes

Module:Documentation

6 bytes removed, 22:49, 3 February 2014
p.content: use frame:expandTemplate instead of frame:preprocess to improve performance
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
Anonymous user