Difference between revisions of "Module:Documentation"
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
>Tacsipacsi (pass mw.title object to expandTemplate to avoid script errors on mainspace pages like m:Wikimedia LGBT/Barnstar) |
>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') } } .. | return frame:extensionTag{ name='templatestyles', args = { src= message('templatestyles-scr') } } .. output | ||
end | end | ||