Module:Documentation: Difference between revisions

Jump to navigation Jump to search
metawikimedia>Tacsipacsi
move remaining inline CSS to TemplateStyles
metawikimedia>Tacsipacsi
don’t preprocess the result—everything should already have been preprocessed by that point, and the yet another preprocessing makes the section edit links point to this module instead of the respective documentation subpage
Line 118: Line 118:
local parent = frame.getParent(frame)
local parent = frame.getParent(frame)
local output = p._main(parent.args)
local output = p._main(parent.args)
return frame:extensionTag{ name='templatestyles', args = { src= message('templatestyles-scr') } } .. frame:preprocess(output)
return frame:extensionTag{ name='templatestyles', args = { src= message('templatestyles-scr') } } .. output
end
end