Difference between revisions of "Module:Documentation"
Jump to navigation
Jump to search
Undo revision 4731418 by Shirayuki (talk): templates on mediawiki.org use page language, not UI language, and it’s perfectly okay that way
>Tacsipacsi (pass mw.title object to expandTemplate to avoid script errors on mainspace pages like m:Wikimedia LGBT/Barnstar) |
>Tacsipacsi (Undo revision 4731418 by Shirayuki (talk): templates on mediawiki.org use page language, not UI language, and it’s perfectly okay that way) |
||
(2 intermediate revisions by 2 users not shown) | |||
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 | ||