Module:Util and Module:Util/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
(util.string.strip_html - added option to keep specified tags)
 
No edit summary
 
Line 11: Line 11:
-- The cfg table contains all localisable strings and configuration, to make it
-- The cfg table contains all localisable strings and configuration, to make it
-- easier to port this module to another wiki.
-- easier to port this module to another wiki.
local cfg = mw.loadData('Module:Util/config')
local cfg = mw.loadData('Module:Util/config/sandbox')


local i18n = cfg.i18n
local i18n = cfg.i18n