मोड्युल:ConvertDateToEng
लुआ त्रुटि मोड्युल:Documentation में पंक्ति 144 पर: message: type error in message cfg.container (string expected, got nil)।
-- This Module converts Date Strings from Devnagari to Roman
-- Created for Bhojpuri Wikipedia (bh.wikipedia) by adopting codes from [[en:user:Mr. Stradivarius]] by [[:bh:User:SM7]]
local conversionTable = mw.loadData('Module:ConvertDateToEng/ConversionTable')
local p = {}
function p._main(s)
for bh, en in pairs(conversionTable) do
s = s:gsub(bh, en)
end
return s
end
function p.main(frame)
local s = frame:getParent().args[1]
return p._main(s)
end
return p