Content deleted Content added
Why does the content of the imported Module:i18n need to be commented out? |
auto detect module_title |
||
Line 80:
}
--require("Module:i18n").loadI18n("Module:Wikidata/i18n", i18n)
-- got idea from [[:w:Module:Wd]]
local module_title; if ... == nil then
module_title = mw.getCurrentFrame():getTitle()
else
module_title = ...
end
require('Module:i18n').loadI18n(module_title..'/i18n', i18n)
-- this function needs to be internationalised along with the above:
|