Module:Lang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(tweak error message rendering;) |
(remove deprecated entry point;) |
||
Line 883: | Line 883: | ||
function p.lang_xx_inherit (frame) |
function p.lang_xx_inherit (frame) |
||
initial_style_state = 'inherit'; |
initial_style_state = 'inherit'; |
||
return _lang_xx (frame); |
|||
end |
|||
--[[--------------------------< L A N G _ X X _ N O R M A L >-------------------------------------------------- |
|||
DEPRECATED |
|||
TODO: change the {{lang-??}} templates that call lang_xx_normal() to call lang_xx_inherit() |
|||
Entry point for those {{lang-xx}} templates that have been converted to call lang_xx_normal(). Sets the initial |
|||
style state to normal. |
|||
]] |
|||
function p.lang_xx_normal (frame) |
|||
initial_style_state = 'inherit'; -- inherit here instead of 'normal' because no need to ignore external wiki markup |
|||
return _lang_xx (frame); |
return _lang_xx (frame); |
||
end |
end |