Module:User:Theknightwho/writing systems

Hello, you have come here looking for the meaning of the word Module:User:Theknightwho/writing systems. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Theknightwho/writing systems, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Theknightwho/writing systems in singular and plural. Everything you need to know about the word Module:User:Theknightwho/writing systems you have here. The definition of the word Module:User:Theknightwho/writing systems will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Theknightwho/writing systems, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

local System = {}

--function System:getAllNames()
--	return self._rawData.names
--end

function System:getCategoryName()
	return self._rawData.category or mw.getContentLanguage():ucfirst(self:getCanonicalName() .. "s")
end

require("Module:User:Theknightwho/objects").makePrototype(System, "writing system")

function export.makeObject(code, data)
	return data and setmetatable({_rawData = data, _code = code}, System) or nil
end

function export.getByCode(code)
	return export.makeObject(code, mw.loadData("Module:writing systems/data"))
end

return export