Changes

Jump to navigation Jump to search
6 bytes removed ,  20:16, 24 February 2014
m
1 revision: importing citation templates
Line 635: Line 635:  
if not content and docTitle and docTitle.exists then
 
if not content and docTitle and docTitle.exists then
 
local frame = mw.getCurrentFrame()
 
local frame = mw.getCurrentFrame()
content = frame:preprocess('{{ ' .. docTitle.prefixedText .. ' }}')
+
content = frame:expandTemplate{title = docTitle.prefixedText}
 
end
 
end
 
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
 
-- The line breaks below are necessary so that "=== Headings ===" at the start and end

Navigation menu