Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
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
en>Tacsipacsi
(pass mw.title object to expandTemplate to avoid script errors on mainspace pages like m:Wikimedia LGBT/Barnstar)
en>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


Anonymous user

Navigation menu