မေႃႇၵျူး:etymology languages/doc
This is the documentation page for မေႃႇၵျူး:etymology languages
This module provides etymology-only languages. It has a separate data module, Module:etymology languages/data, which stores information for etymology-only language codes.
It exports several functions that behave similarly to the ones in Module:languages: getByCode, getByCanonicalName, and makeObject. Etymology language objects returned by getByCode, getByCanonicalName, or makeObject also have many methods that behave like the methods of a language object from Module:languages:
getAllNames, getAncestors, getAncestorChain, hasAncestor, getCanonicalName, getDisplayForm, getCategoryName, getCode, getOtherNames, getRawData, getType, getWikidataItem, getWikipediaArticle, makeWikipediaLink, and toJSON.
getCategoryName differs from the corresponding regular-language method in that it does not append the word "language" to the return value, since etymology language categories don't have the word "language" in them.
getParentCode is a unique method (distinct from getAncestors) that returns the parent value from Module:etymology languages/data.