Wiktionary
thwiktionary
https://th.wiktionary.org/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%81%E0%B8%B4%E0%B8%9E%E0%B8%88%E0%B8%99%E0%B8%B2%E0%B8%99%E0%B8%B8%E0%B8%81%E0%B8%A3%E0%B8%A1:%E0%B8%AB%E0%B8%99%E0%B9%89%E0%B8%B2%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%81
MediaWiki 1.47.0-wmf.3
case-sensitive
สื่อ
พิเศษ
พูดคุย
ผู้ใช้
คุยกับผู้ใช้
วิกิพจนานุกรม
คุยเรื่องวิกิพจนานุกรม
ไฟล์
คุยเรื่องไฟล์
มีเดียวิกิ
คุยเรื่องมีเดียวิกิ
แม่แบบ
คุยเรื่องแม่แบบ
วิธีใช้
คุยเรื่องวิธีใช้
หมวดหมู่
คุยเรื่องหมวดหมู่
ภาคผนวก
คุยเรื่องภาคผนวก
ดัชนี
คุยเรื่องดัชนี
สัมผัส
คุยเรื่องสัมผัส
อรรถาภิธาน
คุยเรื่องอรรถาภิธาน
TimedText
TimedText talk
มอดูล
คุยเรื่องมอดูล
Event
Event talk
มอดูล:languages
828
36388
5723327
5720749
2026-05-22T01:27:03Z
OctraBot
3198
5723327
Scribunto
text/plain
--[==[ intro:
This module implements fetching of language-specific information and processing text in a given language.
===Types of languages===
There are two types of languages: full languages and etymology-only languages. The essential difference is that only
full languages appear in L2 headings in vocabulary entries, and hence categories like [[:Category:French nouns]] exist
only for full languages. Etymology-only languages have either a full language or another etymology-only language as
their parent (in the parent-child inheritance sense), and for etymology-only languages with another etymology-only
language as their parent, a full language can always be derived by following the parent links upwards. For example,
"Canadian French", code `fr-CA`, is an etymology-only language whose parent is the full language "French", code `fr`.
An example of an etymology-only language with another etymology-only parent is "Northumbrian Old English", code
`ang-nor`, which has "Anglian Old English", code `ang-ang` as its parent; this is an etymology-only language whose
parent is "Old English", code `ang`, which is a full language. (This is because Northumbrian Old English is considered
a variety of Anglian Old English.) Sometimes the parent is the "Undetermined" language, code `und`; this is the case,
for example, for "substrate" languages such as "Pre-Greek", code `qsb-grc`, and "the BMAC substrate", code `qsb-bma`.
It is important to distinguish language ''parents'' from language ''ancestors''. The parent-child relationship is one
of containment, i.e. if X is a child of Y, X is considered a variety of Y. On the other hand, the ancestor-descendant
relationship is one of descent in time. For example, "Classical Latin", code `la-cla`, and "Late Latin", code `la-lat`,
are both etymology-only languages with "Latin", code `la`, as their parents, because both of the former are varieties
of Latin. However, Late Latin does *NOT* have Classical Latin as its parent because Late Latin is *not* a variety of
Classical Latin; rather, it is a descendant. There is in fact a separate `ancestors` field that is used to express the
ancestor-descendant relationship, and Late Latin's ancestor is given as Classical Latin. It is also important to note
that sometimes an etymology-only language is actually the conceptual ancestor of its parent language. This happens,
for example, with "Old Italian" (code `roa-oit`), which is an etymology-only variant of full language "Italian" (code
`it`), and with "Old Latin" (code `itc-ola`), which is an etymology-only variant of Latin. In both cases, the full
language has the etymology-only variant listed as an ancestor. This allows a Latin term to inherit from Old Latin
using the {{tl|inh}} template (where in this template, "inheritance" refers to ancestral inheritance, i.e. inheritance
in time, rather than in the parent-child sense); likewise for Italian and Old Italian.
Full languages come in three subtypes:
* {regular}: This indicates a full language that is attested according to [[WT:CFI]] and therefore permitted in the
main namespace. There may also be reconstructed terms for the language, which are placed in the
{Reconstruction} namespace and must be prefixed with * to indicate a reconstruction. Most full languages
are natural (not constructed) languages, but a few constructed languages (e.g. Esperanto and Volapük,
among others) are also allowed in the mainspace and considered regular languages.
* {reconstructed}: This language is not attested according to [[WT:CFI]], and therefore is allowed only in the
{Reconstruction} namespace. All terms in this language are reconstructed, and must be prefixed with
*. Languages such as Proto-Indo-European and Proto-Germanic are in this category.
* {appendix-constructed}: This language is attested but does not meet the additional requirements set out for
constructed languages ([[WT:CFI#Constructed languages]]). Its entries must therefore be in
the Appendix namespace, but they are not reconstructed and therefore should not have *
prefixed in links. Most constructed languages are of this subtype.
Both full languages and etymology-only languages have a {Language} object associated with them, which is fetched using
the {getByCode} function in [[Module:languages]] to convert a language code to a {Language} object. Depending on the
options supplied to this function, etymology-only languages may or may not be accepted, and family codes may be
accepted (returning a {Family} object as described in [[Module:families]]). There are also separate {getByCanonicalName}
functions in [[Module:languages]] and [[Module:etymology languages]] to convert a language's canonical name to a
{Language} object (depending on whether the canonical name refers to a full or etymology-only language).
===Textual representations===
Textual strings belonging to a given language come in several different ''text variants'':
# The ''input text'' is what the user supplies in wikitext, in the parameters to {{tl|m}}, {{tl|l}}, {{tl|ux}},
{{tl|t}}, {{tl|lang}} and the like.
# The ''corrected input text'' is the input text with some corrections and/or normalizations applied, such as
bad-character replacements for certain languages, like replacing `l` or `1` to [[palochka]] in some languages written
in Cyrillic. (FIXME: This currently goes under the name ''display text'' but that will be repurposed below. Also,
[[User:Surjection]] suggests renaming this to ''normalized input text'', but "normalized" is used in a different sense
in [[Module:usex]].)
# The ''display text'' is the text in the form as it will be displayed to the user. This is what appears in headwords,
in usexes, in displayed internal links, etc. This can include accent marks that are removed to form the stripped
display text (see below), as well as embedded bracketed links that are variously processed further. The display text
is generated from the corrected input text by applying language-specific transformations; for most languages, there
will be no such transformations. The general reason for having a difference between input and display text is to allow
for extra information in the input text that is not displayed to the user but is sent to the transliteration module.
Note that having different display and input text is only supported currently through special-casing but will be
generalized. Examples of transformations are: (1) Removing the {{cd|^}} that is used in certain East Asian (and
possibly other unicameral) languages to indicate capitalization of the transliteration (which is currently
special-cased); (2) for Korean, removing or otherwise processing hyphens (which is currently special-cased); (3) for
Arabic, removing a ''sukūn'' diacritic placed over a ''tāʔ marbūṭa'' (like this: ةْ) to indicate that the
''tāʔ marbūṭa'' is pronounced and transliterated as /t/ instead of being silent [NOTE, NOT IMPLEMENTED YET]; (4) for
Thai and Khmer, converting space-separated words to bracketed words and resolving respelling substitutions such as
`[กรีน/กฺรีน]`, which indicate how to transliterate given words [NOTE, NOT IMPLEMENTED YET except in language-specific
templates like {{tl|th-usex}}].
## The ''right-resolved display text'' is the result of removing brackets around one-part embedded links and resolving
two-part embedded links into their right-hand components (i.e. converting two-part links into the displayed form).
The process of right-resolution is what happens when you call {{cd|remove_links()}} in [[Module:links]] on some text.
When applied to the display text, it produces exactly what the user sees, without any link markup.
# The ''stripped display text'' is the result of applying diacritic-stripping to the display text.
## The ''left-resolved stripped display text'' [NEED BETTER NAME] is the result of applying left-resolution to the
stripped display text, i.e. similar to right-resolution but resolving two-part embedded links into their left-hand
components (i.e. the linked-to page). If the display text refers to a single page, the resulting of applying
diacritic stripping and left-resolution produces the ''logical pagename''.
# The ''physical pagename text'' is the result of converting the stripped display text into physical page links. If the
stripped display text contains embedded links, the left side of those links is converted into physical page links;
otherwise, the entire text is considered a pagename and converted in the same fashion. The conversion does three
things: (1) converts characters not allowed in pagenames into their "unsupported title" representation, e.g.
{{cd|Unsupported titles/`gt`}} in place of the logical name {{cd|>}}; (2) handles certain special-cased
unsupported-title logical pagenames, such as {{cd|Unsupported titles/Space}} in place of {{cd|[space]}} and
{{cd|Unsupported titles/Ancient Greek dish}} in place of a very long Greek name for a gourmet dish as found in
Aristophanes; (3) converts "mammoth" pagenames such as [[a]] into their appropriate split component, e.g.
[[a/languages A to L]].
# The ''source translit text'' is the text as supplied to the language-specific {{cd|transliterate()}} method. The form
of the source translit text may need to be language-specific, e.g Thai and Khmer will need the corrected input text,
whereas other languages may need to work off the display text. [FIXME: It's still unclear to me how embedded bracketed
links are handled in the existing code.] In general, embedded links need to be right-resolved (see above), but when
this happens is unclear to me [FIXME]. Some languages have a chop-up-and-paste-together scheme that sends parts of the
text through the transliterate mechanism, and for others (those listed with "cont" in {{cd|substitution}} in
[[Module:languages/data]]) they receive the full input text, but preprocessed in certain ways. (The wisdom of this is
still unclear to me.)
# The ''transliterated text'' (or ''transliteration'') is the result of transliterating the source translit text. Unlike
for all the other text variants except the transcribed text, it is always in the Latin script.
# The ''transcribed text'' (or ''transcription'') is the result of transcribing the source translit text, where
"transcription" here means a close approximation to the phonetic form of the language in languages (e.g. Akkadian,
Sumerian, Ancient Egyptian, maybe Tibetan) that have a wide difference between the written letters and spoken form.
Unlike for all the other text variants other than the transliterated text, it is always in the Latin script.
Currently, the transcribed text is always supplied manually be the user; there is no such thing as a
{{cd|transcribe()}} method on language objects.
# The ''sort key'' is the text used in sort keys for determining the placing of pages in categories they belong to. The
sort key is generated from the pagename or a specified ''sort base'' by lowercasing, doing language-specific
transformations and then uppercasing the result. If the sort base is supplied and is generated from input text, it
needs to be converted to display text, have embedded links removed through right-resolution and have
diacritic-stripping applied.
# There are other text variants that occur in usexes (specifically, there are normalized variants of several of the
above text variants), but we can skip them for now.
The following methods exist on {Language} objects to convert between different text variants:
# {correctInputText} (currently called {makeDisplayText}): This converts input text to corrected input text.
# {stripDiacritics}: This converts to stripped display text. [FIXME: This needs some rethinking. In particular,
{stripDiacritics} is sometimes called on input text, corrected input text or display text (in various paths inside of
[[Module:links]], and, in the case of input text, usually from other modules). We need to make sure we don't try to
convert input text to display text twice, but at the same time we need to support calling it directly on input text
since so many modules do this. This means we need to add a parameter indicating whether the passed-in text is input,
corrected input, or display text; if the former two, we call {correctInputText} ourselves.]
# {logicalToPhysical}: This converts logical pagenames to physical pagenames.
# {transliterate}: This appears to convert input text with embedded brackets removed into a transliteration.
[FIXME: This needs some rethinking. In particular, it calls {processDisplayText} on its input, which won't work
for Thai and Khmer, so we may need language-specific flags indicating whether to pass the input text directly to the
language transliterate method. In addition, I'm not sure how embedded links are handled in the existing translit code;
a lot of callers remove the links themselves before calling {transliterate()}, which I assume is wrong.]
# {makeSortKey}: This converts display text (?) to a sort key. [FIXME: Clarify this.]
]==]
local export = {}
local debug_track_module = "Module:debug/track"
local etymology_languages_data_module = "Module:etymology languages/data"
local families_module = "Module:families"
local headword_page_module = "Module:headword/page"
local json_module = "Module:JSON"
local language_like_module = "Module:language-like"
local languages_data_module = "Module:languages/data"
local languages_data_patterns_module = "Module:languages/data/patterns"
local links_data_module = "Module:links/data"
local load_module = "Module:load"
local scripts_module = "Module:scripts"
local scripts_data_module = "Module:scripts/data"
local string_encode_entities_module = "Module:string/encode entities"
local string_pattern_escape_module = "Module:string/patternEscape"
local string_replacement_escape_module = "Module:string/replacementEscape"
local string_utilities_module = "Module:string utilities"
local table_module = "Module:table"
local utilities_module = "Module:utilities"
local wikimedia_languages_module = "Module:wikimedia languages"
local mw = mw
local string = string
local table = table
local char = string.char
local concat = table.concat
local find = string.find
local floor = math.floor
local get_by_code -- Defined below.
local get_data_module_name -- Defined below.
local get_extra_data_module_name -- Defined below.
local getmetatable = getmetatable
local gmatch = string.gmatch
local gsub = string.gsub
local insert = table.insert
local ipairs = ipairs
local is_known_language_tag = mw.language.isKnownLanguageTag
local make_object -- Defined below.
local match = string.match
local next = next
local pairs = pairs
local remove = table.remove
local require = require
local select = select
local setmetatable = setmetatable
local sub = string.sub
local type = type
local unstrip = mw.text.unstrip
-- Loaded as needed by findBestScript.
local Hans_chars
local Hant_chars
local function check_object(...)
check_object = require(utilities_module).check_object
return check_object(...)
end
local function debug_track(...)
debug_track = require(debug_track_module)
return debug_track(...)
end
local function decode_entities(...)
decode_entities = require(string_utilities_module).decode_entities
return decode_entities(...)
end
local function decode_uri(...)
decode_uri = require(string_utilities_module).decode_uri
return decode_uri(...)
end
local function deep_copy(...)
deep_copy = require(table_module).deepCopy
return deep_copy(...)
end
local function encode_entities(...)
encode_entities = require(string_encode_entities_module)
return encode_entities(...)
end
local function get_L2_sort_key(...)
get_L2_sort_key = require(headword_page_module).get_L2_sort_key
return get_L2_sort_key(...)
end
local function get_script(...)
get_script = require(scripts_module).getByCode
return get_script(...)
end
local function find_best_script_without_lang(...)
find_best_script_without_lang = require(scripts_module).findBestScriptWithoutLang
return find_best_script_without_lang(...)
end
local function get_family(...)
get_family = require(families_module).getByCode
return get_family(...)
end
local function get_plaintext(...)
get_plaintext = require(utilities_module).get_plaintext
return get_plaintext(...)
end
local function get_wikimedia_lang(...)
get_wikimedia_lang = require(wikimedia_languages_module).getByCode
return get_wikimedia_lang(...)
end
local function keys_to_list(...)
keys_to_list = require(table_module).keysToList
return keys_to_list(...)
end
local function list_to_set(...)
list_to_set = require(table_module).listToSet
return list_to_set(...)
end
local function load_data(...)
load_data = require(load_module).load_data
return load_data(...)
end
local function make_family_object(...)
make_family_object = require(families_module).makeObject
return make_family_object(...)
end
local function pattern_escape(...)
pattern_escape = require(string_pattern_escape_module)
return pattern_escape(...)
end
local function replacement_escape(...)
replacement_escape = require(string_replacement_escape_module)
return replacement_escape(...)
end
local function safe_require(...)
safe_require = require(load_module).safe_require
return safe_require(...)
end
local function shallow_copy(...)
shallow_copy = require(table_module).shallowCopy
return shallow_copy(...)
end
local function split(...)
split = require(string_utilities_module).split
return split(...)
end
local function to_json(...)
to_json = require(json_module).toJSON
return to_json(...)
end
local function u(...)
u = require(string_utilities_module).char
return u(...)
end
local function ugsub(...)
ugsub = require(string_utilities_module).gsub
return ugsub(...)
end
local function ulen(...)
ulen = require(string_utilities_module).len
return ulen(...)
end
local function ulower(...)
ulower = require(string_utilities_module).lower
return ulower(...)
end
local function umatch(...)
umatch = require(string_utilities_module).match
return umatch(...)
end
local function uupper(...)
uupper = require(string_utilities_module).upper
return uupper(...)
end
local function track(page)
debug_track("languages/" .. page)
return true
end
local function normalize_code(code)
return load_data(languages_data_module).aliases[code] or code
end
local function check_inputs(self, check, default, ...)
local n = select("#", ...)
if n == 0 then
return false
end
local ret = check(self, (...))
if ret ~= nil then
return ret
elseif n > 1 then
local inputs = {...}
for i = 2, n do
ret = check(self, inputs[i])
if ret ~= nil then
return ret
end
end
end
return default
end
local function make_link(self, target, display)
local prefix, main
if self:getFamilyCode() == "qfa-sub" then
prefix, main = display:match("^(the )(.*)")
if not prefix then
prefix, main = display:match("^(a )(.*)")
end
end
return (prefix or "") .. "[[" .. target .. "|" .. (main or display) .. "]]"
end
-- Convert risky characters to HTML entities, which minimizes interference once returned (e.g. for "sms:a", "<!-- -->" etc.).
local function escape_risky_characters(text)
-- Spacing characters in isolation generally need to be escaped in order to be properly processed by the MediaWiki software.
if umatch(text, "^%s*$") then
return encode_entities(text, text)
end
return encode_entities(text, "!#%&*+/:;<=>?@[\\]_{|}")
end
-- Temporarily convert various formatting characters to PUA to prevent them from being disrupted by the substitution process.
local function doTempSubstitutions(text, subbedChars, keepCarets, noTrim)
-- Clone so that we don't insert any extra patterns into the table in package.loaded. For some reason, using require seems to keep memory use down; probably because the table is always cloned.
local patterns = shallow_copy(require(languages_data_patterns_module))
if keepCarets then
insert(patterns, "((\\+)%^)")
insert(patterns, "((%^))")
end
-- Ensure any whitespace at the beginning and end is temp substituted, to prevent it from being accidentally trimmed. We only want to trim any final spaces added during the substitution process (e.g. by a module), which means we only do this during the first round of temp substitutions.
if not noTrim then
insert(patterns, "^([\128-\191\244]*(%s+))")
insert(patterns, "((%s+)[\128-\191\244]*)$")
end
-- Pre-substitution, of "[[" and "]]", which makes pattern matching more accurate.
text = gsub(text, "%f[%[]%[%[", "\1"):gsub("%f[%]]%]%]", "\2")
local i = #subbedChars
for _, pattern in ipairs(patterns) do
-- Patterns ending in \0 stand are for things like "[[" or "]]"), so the inserted PUA are treated as breaks between terms by modules that scrape info from pages.
local term_divider
pattern = gsub(pattern, "%z$", function(divider)
term_divider = divider == "\0"
return ""
end)
text = gsub(text, pattern, function(...)
local m = {...}
local m1New = m[1]
for k = 2, #m do
local n = i + k - 1
subbedChars[n] = m[k]
local byte2 = floor(n / 4096) % 64 + (term_divider and 128 or 136)
local byte3 = floor(n / 64) % 64 + 128
local byte4 = n % 64 + 128
m1New = gsub(m1New, pattern_escape(m[k]), "\244" .. char(byte2) .. char(byte3) .. char(byte4), 1)
end
i = i + #m - 1
return m1New
end)
end
text = gsub(text, "\1", "%[%["):gsub("\2", "%]%]")
return text, subbedChars
end
-- Reinsert any formatting that was temporarily substituted.
local function undoTempSubstitutions(text, subbedChars)
for i = 1, #subbedChars do
local byte2 = floor(i / 4096) % 64 + 128
local byte3 = floor(i / 64) % 64 + 128
local byte4 = i % 64 + 128
text = gsub(text, "\244[" .. char(byte2) .. char(byte2+8) .. "]" .. char(byte3) .. char(byte4),
replacement_escape(subbedChars[i]))
end
text = gsub(text, "\1", "%[%["):gsub("\2", "%]%]")
return text
end
-- Check if the raw text is an unsupported title, and if so return that. Otherwise, remove HTML entities. We do the pre-conversion to avoid loading the unsupported title list unnecessarily.
local function checkNoEntities(self, text)
local textNoEnc = decode_entities(text)
if textNoEnc ~= text and load_data(links_data_module).unsupported_titles[text] then
return text
else
return textNoEnc
end
end
-- If no script object is provided (or if it's invalid or None), get one.
local function checkScript(text, self, sc)
if not check_object("script", true, sc) or sc:getCode() == "None" then
return self:findBestScript(text)
end
return sc
end
local function normalize(text, sc)
text = sc:fixDiscouragedSequences(text)
return sc:toFixedNFD(text)
end
-- Subfunction of iterateSectionSubstitutions(). Process an individual chunk of text according to the specifications in
-- `substitution_data`. The input parameters are all as in the documentation of iterateSectionSubstitutions() except for
-- `recursed`, which is set to true if we called ourselves recursively to process a script-specific setting or
-- script-wide fallback. Returns two values: the processed text and the actual substitution data used to do the
-- substitutions (same as the `actual_substitution_data` return value to iterateSectionSubstitutions()).
local function doSubstitutions(self, text, sc, substitution_data, data_field, function_name, recursed)
-- BE CAREFUL in this function because the value at any level can be `false`, which causes no processing to be done
-- and blocks any further fallback processing.
local actual_substitution_data = substitution_data
-- If there are language-specific substitutes given in the data module, use those.
if type(substitution_data) == "table" then
-- If a script is specified, run this function with the script-specific data before continuing.
local sc_code = sc:getCode()
local has_substitution_data = false
if substitution_data[sc_code] ~= nil then
has_substitution_data = true
if substitution_data[sc_code] then
text, actual_substitution_data = doSubstitutions(self, text, sc, substitution_data[sc_code], data_field,
function_name, true)
end
-- Hant, Hans and Hani are usually treated the same, so add a special case to avoid having to specify each one
-- separately.
elseif sc_code:match("^Han") and substitution_data.Hani ~= nil then
has_substitution_data = true
if substitution_data.Hani then
text, actual_substitution_data = doSubstitutions(self, text, sc, substitution_data.Hani, data_field,
function_name, true)
end
-- Substitution data with key 1 in the outer table may be given as a fallback.
elseif substitution_data[1] ~= nil then
has_substitution_data = true
if substitution_data[1] then
text, actual_substitution_data = doSubstitutions(self, text, sc, substitution_data[1], data_field,
function_name, true)
end
end
-- Iterate over all strings in the "from" subtable, and gsub with the corresponding string in "to". We work with
-- the NFD decomposed forms, as this simplifies many substitutions.
if substitution_data.from then
has_substitution_data = true
for i, from in ipairs(substitution_data.from) do
-- Normalize each loop, to ensure multi-stage substitutions work correctly.
text = sc:toFixedNFD(text)
text = ugsub(text, sc:toFixedNFD(from), substitution_data.to[i] or "")
end
end
if substitution_data.remove_diacritics then
has_substitution_data = true
text = sc:toFixedNFD(text)
-- Convert exceptions to PUA.
local remove_exceptions, substitutes = substitution_data.remove_exceptions
if remove_exceptions then
substitutes = {}
local i = 0
for _, exception in ipairs(remove_exceptions) do
exception = sc:toFixedNFD(exception)
text = ugsub(text, exception, function(m)
i = i + 1
local subst = u(0x80000 + i)
substitutes[subst] = m
return subst
end)
end
end
-- Strip diacritics.
text = ugsub(text, "[" .. substitution_data.remove_diacritics .. "]", "")
-- Convert exceptions back.
if remove_exceptions then
text = text:gsub("\242[\128-\191]*", substitutes)
end
end
if not has_substitution_data and sc._data[data_field] then
-- If language-specific sort key (etc.) is nil, fall back to script-wide sort key (etc.).
text, actual_substitution_data = doSubstitutions(self, text, sc, sc._data[data_field], data_field,
function_name, true)
end
elseif type(substitution_data) == "string" then
-- If there is a dedicated function module, use that.
local module = safe_require("Module:" .. substitution_data)
if module then
-- TODO: translit functions should take objects, not codes.
-- TODO: translit functions should be called with form NFD.
if function_name == "tr" then
if not module[function_name] then
error(("Internal error: Module [[%s]] has no function named 'tr'"):format(substitution_data))
end
text = module[function_name](text, self._code, sc:getCode())
elseif function_name == "stripDiacritics" then
-- FIXME, get rid of this arm after renaming makeEntryName -> stripDiacritics.
if module[function_name] then
text = module[function_name](sc:toFixedNFD(text), self, sc)
elseif module.makeEntryName then
text = module.makeEntryName(sc:toFixedNFD(text), self, sc)
else
error(("Internal error: Module [[%s]] has no function named 'stripDiacritics' or 'makeEntryName'"
):format(substitution_data))
end
else
if not module[function_name] then
error(("Internal error: Module [[%s]] has no function named '%s'"):format(
substitution_data, function_name))
end
text = module[function_name](sc:toFixedNFD(text), self, sc)
end
else
error("Substitution data '" .. substitution_data .. "' does not match an existing module.")
end
elseif substitution_data == nil and sc._data[data_field] then
-- If language-specific sort key (etc.) is nil, fall back to script-wide sort key (etc.).
text, actual_substitution_data = doSubstitutions(self, text, sc, sc._data[data_field], data_field,
function_name, true)
end
-- Don't normalize to NFC if this is the inner loop or if a module returned nil.
if recursed or not text then
return text, actual_substitution_data
end
-- Fix any discouraged sequences created during the substitution process, and normalize into the final form.
return sc:toFixedNFC(sc:fixDiscouragedSequences(text)), actual_substitution_data
end
-- Split the text into sections, based on the presence of temporarily substituted formatting characters, then iterate
-- over each section to apply substitutions (e.g. transliteration or diacritic stripping). This avoids putting PUA
-- characters through language-specific modules, which may be unequipped for them. This function is passed the following
-- values:
-- * `self` (the Language object);
-- * `text` (the text to process);
-- * `sc` (the script of the text, which must be specified; callers should call checkScript() as needed to autodetect the
-- script of the text if not given explicitly by the user);
-- * `subbedChars` (an array of the same length as the text, indicating which characters have been substituted and by
-- what, or {nil} if no substitutions are to happen);
-- * `keepCarets` (DOCUMENT ME);
-- * `substitution_data` (the data indicating which substitutions to apply, taken directly from `data_field` in the
-- language's data structure in a submodule of [[Module:languages/data]]);
-- * `data_field` (the data field from which `substitution_data` was fetched, such as "sort_key" or "strip_diacritics");
-- * `function_name` (the name of the function to call to do the substitution, in case `substitution_data` specifies a
-- module to do the substitution);
-- * `notrim` (don't trim whitespace at the edges of `text`; set when computing the sort key, because whitespace at the
-- beginning of a sort key is significant and causes the resulting page to be sorted at the beginning of the category
-- it's in).
-- Returns three values:
-- (1) the processed text;
-- (2) the value of `subbedChars` that was passed in, possibly modified with additional character substitutions; will be
-- {nil} if {nil} was passed in;
-- (3) the actual substitution data that was used to apply substitutions to `text`; this may be different from the value
-- of `substitution_data` passed in if that value recursively specified script-specific substitutions or if no
-- substitution data could be found in the language-specific data (e.g. {nil} was passed in or a structure was passed
-- in that had no setting for the script given in `sc`), but a script-wide fallback value was set; currently it is
-- only used by makeSortKey().
local function iterateSectionSubstitutions(self, text, sc, subbedChars, keepCarets, substitution_data, data_field,
function_name, notrim)
local sections
-- See [[Module:languages/data]].
if not find(text, "\244") or load_data(languages_data_module).substitution[self._code] == "cont" then
sections = {text}
else
sections = split(text, "\244[\128-\143][\128-\191]*", true)
end
local actual_substitution_data
for _, section in ipairs(sections) do
-- Don't bother processing empty strings or whitespace (which may also not be handled well by dedicated
-- modules).
if gsub(section, "%s+", "") ~= "" then
local sub, this_actual_substitution_data = doSubstitutions(self, section, sc, substitution_data, data_field,
function_name)
actual_substitution_data = this_actual_substitution_data
-- Second round of temporary substitutions, in case any formatting was added by the main substitution
-- process. However, don't do this if the section contains formatting already (as it would have had to have
-- been escaped to reach this stage, and therefore should be given as raw text).
if sub and subbedChars then
local noSub
for _, pattern in ipairs(require(languages_data_patterns_module)) do
if match(section, pattern .. "%z?") then
noSub = true
end
end
if not noSub then
sub, subbedChars = doTempSubstitutions(sub, subbedChars, keepCarets, true)
end
end
if not sub then
text = sub
break
end
text = sub and gsub(text, pattern_escape(section), replacement_escape(sub), 1) or text
end
end
if not notrim then
-- Trim, unless there are only spacing characters, while ignoring any final formatting characters.
-- Do not trim sort keys because spaces at the beginning are significant.
text = text and text:gsub("^([\128-\191\244]*)%s+(%S)", "%1%2"):gsub("(%S)%s+([\128-\191\244]*)$", "%1%2") or
nil
end
return text, subbedChars, actual_substitution_data
end
-- Process carets (and any escapes). Default to simple removal, if no pattern/replacement is given.
local function processCarets(text, pattern, repl)
local rep
repeat
text, rep = gsub(text, "\\\\(\\*^)", "\3%1")
until rep == 0
return (text:gsub("\\^", "\4")
:gsub(pattern or "%^", repl or "")
:gsub("\3", "\\")
:gsub("\4", "^"))
end
-- Remove carets if they are used to capitalize parts of transliterations (unless they have been escaped).
local function removeCarets(text, sc)
if not sc:hasCapitalization() and sc:isTransliterated() and text:find("^", 1, true) then
return processCarets(text)
else
return text
end
end
local Language = {}
--[==[Returns the language code of the language. Example: {{code|lua|"fr"}} for French.]==]
function Language:getCode()
return self._code
end
--[==[Returns the canonical name of the language. This is the name used to represent that language on Wiktionary, and is guaranteed to be unique to that language alone. Example: {{code|lua|"French"}} for French.]==]
function Language:getCanonicalName()
local name = self._name
if name == nil then
name = self._data[1]
self._name = name
end
return name
end
--[==[
Return the display form of the language. The display form of a language, family or script is the form it takes when
appearing as the <code><var>source</var></code> in categories such as <code>English terms derived from
<var>source</var></code> or <code>English given names from <var>source</var></code>, and is also the displayed text
in {makeCategoryLink()} links. For full and etymology-only languages, this is the same as the canonical name, but
for families, it reads <code>"<var>name</var> languages"</code> (e.g. {"Indo-Iranian languages"}), and for scripts,
it reads <code>"<var>name</var> script"</code> (e.g. {"Arabic script"}).
]==]
function Language:getDisplayForm()
local form = self._displayForm
if form == nil then
form = self:getCanonicalName()
-- Add article and " substrate" to substrates that lack them.
if self:getFamilyCode() == "qfa-sub" then
if not (sub(form, 1, 4) == "the " or sub(form, 1, 2) == "a ") then
form = "a " .. form
end
if not match(form, " [Ss]ubstrate") then
form = form .. " substrate"
end
end
self._displayForm = form
end
return form
end
--[==[Returns the value which should be used in the HTML lang= attribute for tagged text in the language.]==]
function Language:getHTMLAttribute(sc, region)
local code = self._code
if not find(code, "-", 1, true) then
return code .. "-" .. sc:getCode() .. (region and "-" .. region or "")
end
local parent = self:getParent()
region = region or match(code, "%f[%u][%u-]+%f[%U]")
if parent then
return parent:getHTMLAttribute(sc, region)
end
-- TODO: ISO family codes can also be used.
return "mis-" .. sc:getCode() .. (region and "-" .. region or "")
end
--[==[Returns a table of the aliases that the language is known by, excluding the canonical name. Aliases are synonyms for the language in question. The names are not guaranteed to be unique, in that sometimes more than one language is known by the same name. Example: {{code|lua|{"High German", "New High German", "Deutsch"} }} for [[:Category:German language|German]].]==]
function Language:getAliases()
self:loadInExtraData()
return require(language_like_module).getAliases(self)
end
--[==[
Return a table of the known subvarieties of a given language, excluding subvarieties that have been given
explicit etymology-only language codes. The names are not guaranteed to be unique, in that sometimes a given name
refers to a subvariety of more than one language. Example: {{code|lua|{"Southern Aymara", "Central Aymara"} }} for
[[:Category:Aymara language|Aymara]]. Note that the returned value can have nested tables in it, when a subvariety
goes by more than one name. Example: {{code|lua|{"North Azerbaijani", "South Azerbaijani", {"Afshar", "Afshari",
"Afshar Azerbaijani", "Afchar"}, {"Qashqa'i", "Qashqai", "Kashkay"}, "Sonqor"} }} for
[[:Category:Azerbaijani language|Azerbaijani]]. Here, for example, Afshar, Afshari, Afshar Azerbaijani and Afchar
all refer to the same subvariety, whose preferred name is Afshar (the one listed first). To avoid a return value
with nested tables in it, specify a non-{{code|lua|nil}} value for the <code>flatten</code> parameter; in that case,
the return value would be {{code|lua|{"North Azerbaijani", "South Azerbaijani", "Afshar", "Afshari",
"Afshar Azerbaijani", "Afchar", "Qashqa'i", "Qashqai", "Kashkay", "Sonqor"} }}.
]==]
function Language:getVarieties(flatten)
self:loadInExtraData()
return require(language_like_module).getVarieties(self, flatten)
end
--[==[Returns a table of the "other names" that the language is known by, which are listed in the <code>otherNames</code> field. It should be noted that the <code>otherNames</code> field itself is deprecated, and entries listed there should eventually be moved to either <code>aliases</code> or <code>varieties</code>.]==]
function Language:getOtherNames() -- To be eventually removed, once there are no more uses of the `otherNames` field.
self:loadInExtraData()
return require(language_like_module).getOtherNames(self)
end
--[==[
Return a combined table of the canonical name, aliases, varieties and other names of a given language.]==]
function Language:getAllNames()
self:loadInExtraData()
return require(language_like_module).getAllNames(self)
end
--[==[Returns a table of types as a lookup table (with the types as keys).
The possible types are
* {language}: This is a language, either full or etymology-only.
* {full}: This is a "full" (not etymology-only) language, i.e. the union of {regular}, {reconstructed} and
{appendix-constructed}. Note that the types {full} and {etymology-only} also exist for families, so if you
want to check specifically for a full language and you have an object that might be a family, you should
use {{lua|hasType("language", "full")}} and not simply {{lua|hasType("full")}}.
* {etymology-only}: This is an etymology-only (not full) language, whose parent is another etymology-only
language or a full language. Note that the types {full} and {etymology-only} also exist for
families, so if you want to check specifically for an etymology-only language and you have an
object that might be a family, you should use {{lua|hasType("language", "etymology-only")}}
and not simply {{lua|hasType("etymology-only")}}.
* {regular}: This indicates a full language that is attested according to [[WT:CFI]] and therefore permitted
in the main namespace. There may also be reconstructed terms for the language, which are placed in
the {Reconstruction} namespace and must be prefixed with * to indicate a reconstruction. Most full
languages are natural (not constructed) languages, but a few constructed languages (e.g. Esperanto
and Volapük, among others) are also allowed in the mainspace and considered regular languages.
* {reconstructed}: This language is not attested according to [[WT:CFI]], and therefore is allowed only in the
{Reconstruction} namespace. All terms in this language are reconstructed, and must be prefixed
with *. Languages such as Proto-Indo-European and Proto-Germanic are in this category.
* {appendix-constructed}: This language is attested but does not meet the additional requirements set out for
constructed languages ([[WT:CFI#Constructed languages]]). Its entries must therefore
be in the Appendix namespace, but they are not reconstructed and therefore should
not have * prefixed in links.
]==]
function Language:getTypes()
local types = self._types
if types == nil then
types = {language = true}
if self:getFullCode() == self._code then
types.full = true
else
types["etymology-only"] = true
end
for t in gmatch(self._data.type, "[^,]+") do
types[t] = true
end
self._types = types
end
return types
end
--[==[Given a list of types as strings, returns true if the language has all of them.]==]
function Language:hasType(...)
Language.hasType = require(language_like_module).hasType
return self:hasType(...)
end
--[==[Returns a table containing <code>WikimediaLanguage</code> objects (see [[Module:wikimedia languages]]), which represent languages and their codes as they are used in Wikimedia projects for interwiki linking and such. More than one object may be returned, as a single Wiktionary language may correspond to multiple Wikimedia languages. For example, Wiktionary's single code <code>sh</code> (Serbo-Croatian) maps to four Wikimedia codes: <code>sh</code> (Serbo-Croatian), <code>bs</code> (Bosnian), <code>hr</code> (Croatian) and <code>sr</code> (Serbian).
The code for the Wikimedia language is retrieved from the <code>wikimedia_codes</code> property in the data modules. If that property is not present, the code of the current language is used. If none of the available codes is actually a valid Wikimedia code, an empty table is returned.]==]
function Language:getWikimediaLanguages()
local wm_langs = self._wikimediaLanguageObjects
if wm_langs == nil then
local codes = self:getWikimediaLanguageCodes()
wm_langs = {}
for i = 1, #codes do
wm_langs[i] = get_wikimedia_lang(codes[i])
end
self._wikimediaLanguageObjects = wm_langs
end
return wm_langs
end
function Language:getWikimediaLanguageCodes()
local wm_langs = self._wikimediaLanguageCodes
if wm_langs == nil then
wm_langs = self._data.wikimedia_codes
if wm_langs then
wm_langs = split(wm_langs, ",", true, true)
else
local code = self._code
if is_known_language_tag(code) then
wm_langs = {code}
else
-- Inherit, but only if no codes are specified in the data *and*
-- the language code isn't a valid Wikimedia language code.
local parent = self:getParent()
wm_langs = parent and parent:getWikimediaLanguageCodes() or {}
end
end
self._wikimediaLanguageCodes = wm_langs
end
return wm_langs
end
--[==[
Returns the name of the Wikipedia article for the language. `project` specifies the language and project to retrieve
the article from, defaulting to {"enwiki"} for the English Wikipedia. Normally if specified it should be the project
code for a specific-language Wikipedia e.g. "zhwiki" for the Chinese Wikipedia, but it can be any project, including
non-Wikipedia ones. If the project is the English Wikipedia and the property {wikipedia_article} is present in the data
module it will be used first. In all other cases, a sitelink will be generated from {:getWikidataItem} (if set). The
resulting value (or lack of value) is cached so that subsequent calls are fast. If no value could be determined, and
`noCategoryFallback` is {false}, {:getCategoryName} is used as fallback; otherwise, {nil} is returned. Note that if
`noCategoryFallback` is {nil} or omitted, it defaults to {false} if the project is the English Wikipedia, otherwise
to {true}. In other words, under normal circumstances, if the English Wikipedia article couldn't be retrieved, the
return value will fall back to a link to the language's category, but this won't normally happen for any other project.
]==]
function Language:getWikipediaArticle(noCategoryFallback, project)
Language.getWikipediaArticle = require(language_like_module).getWikipediaArticle
return self:getWikipediaArticle(noCategoryFallback, project)
end
function Language:makeWikipediaLink()
return make_link(self, "w:" .. self:getWikipediaArticle(), self:getCanonicalName())
end
--[==[Returns the name of the Wikimedia Commons category page for the language.]==]
function Language:getCommonsCategory()
Language.getCommonsCategory = require(language_like_module).getCommonsCategory
return self:getCommonsCategory()
end
--[==[Returns the Wikidata item id for the language or <code>nil</code>. This corresponds to the the second field in the data modules.]==]
function Language:getWikidataItem()
Language.getWikidataItem = require(language_like_module).getWikidataItem
return self:getWikidataItem()
end
--[==[Returns a table of <code>Script</code> objects for all scripts that the language is written in. See [[Module:scripts]].]==]
function Language:getScripts()
local scripts = self._scriptObjects
if scripts == nil then
local codes = self:getScriptCodes()
if codes[1] == "All" then
scripts = load_data(scripts_data_module)
else
scripts = {}
for i = 1, #codes do
scripts[i] = get_script(codes[i])
end
end
self._scriptObjects = scripts
end
return scripts
end
--[==[Returns the table of script codes in the language's data file.]==]
function Language:getScriptCodes()
local scripts = self._scriptCodes
if scripts == nil then
scripts = self._data[4]
if scripts then
local codes, n = {}, 0
for code in gmatch(scripts, "[^,]+") do
n = n + 1
-- Special handling of "Hants", which represents "Hani", "Hant" and "Hans" collectively.
if code == "Hants" then
codes[n] = "Hani"
codes[n + 1] = "Hant"
codes[n + 2] = "Hans"
n = n + 2
else
codes[n] = code
end
end
scripts = codes
else
scripts = {"None"}
end
self._scriptCodes = scripts
end
return scripts
end
--[==[Given some text, this function iterates through the scripts of a given language and tries to find the script that best matches the text. It returns a {{code|lua|Script}} object representing the script. If no match is found at all, it returns the {{code|lua|None}} script object.]==]
function Language:findBestScript(text, forceDetect)
if not text or text == "" or text == "-" then
return get_script("None")
end
-- Differs from table returned by getScriptCodes, as Hants is not normalized into its constituents.
local codes = self._bestScriptCodes
if codes == nil then
codes = self._data[4]
codes = codes and split(codes, ",", true, true) or {"None"}
self._bestScriptCodes = codes
end
local first_sc = codes[1]
if first_sc == "All" then
return find_best_script_without_lang(text)
end
local codes_len = #codes
if not (forceDetect or first_sc == "Hants" or codes_len > 1) then
first_sc = get_script(first_sc)
local charset = first_sc.characters
return charset and umatch(text, "[" .. charset .. "]") and first_sc or get_script("None")
end
-- Remove all formatting characters.
text = get_plaintext(text)
-- Remove all spaces and any ASCII punctuation. Some non-ASCII punctuation is script-specific, so can't be removed.
text = ugsub(text, "[%s!\"#%%&'()*,%-./:;?@[\\%]_{}]+", "")
if #text == 0 then
return get_script("None")
end
-- Try to match every script against the text,
-- and return the one with the most matching characters.
local bestcount, bestscript, length = 0
for i = 1, codes_len do
local sc = codes[i]
-- Special case for "Hants", which is a special code that represents whichever of "Hant" or "Hans" best matches, or "Hani" if they match equally. This avoids having to list all three. In addition, "Hants" will be treated as the best match if there is at least one matching character, under the assumption that a Han script is desirable in terms that contain a mix of Han and other scripts (not counting those which use Jpan or Kore).
if sc == "Hants" then
local Hani = get_script("Hani")
if not Hant_chars then
Hant_chars = load_data("Module:zh/data/ts")
Hans_chars = load_data("Module:zh/data/st")
end
local t, s, found = 0, 0
-- This is faster than using mw.ustring.gmatch directly.
for ch in gmatch((ugsub(text, "[" .. Hani.characters .. "]", "\255%0")), "\255(.[\128-\191]*)") do
found = true
if Hant_chars[ch] then
t = t + 1
if Hans_chars[ch] then
s = s + 1
end
elseif Hans_chars[ch] then
s = s + 1
else
t, s = t + 1, s + 1
end
end
if found then
if t == s then
return Hani
end
return get_script(t > s and "Hant" or "Hans")
end
else
sc = get_script(sc)
if not length then
length = ulen(text)
end
-- Count characters by removing everything in the script's charset and comparing to the original length.
local charset = sc.characters
local count = charset and length - ulen((ugsub(text, "[" .. charset .. "]+", ""))) or 0
if count >= length then
return sc
elseif count > bestcount then
bestcount = count
bestscript = sc
end
end
end
-- Return best matching script, or otherwise None.
return bestscript or get_script("None")
end
--[==[Returns a <code>Family</code> object for the language family that the language belongs to. See [[Module:families]].]==]
function Language:getFamily()
local family = self._familyObject
if family == nil then
family = self:getFamilyCode()
-- If the value is nil, it's cached as false.
family = family and get_family(family) or false
self._familyObject = family
end
return family or nil
end
--[==[Returns the family code in the language's data file.]==]
function Language:getFamilyCode()
local family = self._familyCode
if family == nil then
-- If the value is nil, it's cached as false.
family = self._data[3] or false
self._familyCode = family
end
return family or nil
end
function Language:getFamilyName()
local family = self._familyName
if family == nil then
family = self:getFamily()
-- If the value is nil, it's cached as false.
family = family and family:getCanonicalName() or false
self._familyName = family
end
return family or nil
end
do
local function check_family(self, family)
if type(family) == "table" then
family = family:getCode()
end
if self:getFamilyCode() == family then
return true
end
local self_family = self:getFamily()
if self_family:inFamily(family) then
return true
-- If the family isn't a real family (e.g. creoles) check any ancestors.
elseif self_family:inFamily("qfa-not") then
local ancestors = self:getAncestors()
for _, ancestor in ipairs(ancestors) do
if ancestor:inFamily(family) then
return true
end
end
end
end
--[==[Check whether the language belongs to `family` (which can be a family code or object). A list of objects can be given in place of `family`; in that case, return true if the language belongs to any of the specified families. Note that some languages (in particular, certain creoles) can have multiple immediate ancestors potentially belonging to different families; in that case, return true if the language belongs to any of the specified families.]==]
function Language:inFamily(...)
if self:getFamilyCode() == nil then
return false
end
return check_inputs(self, check_family, false, ...)
end
end
function Language:getParent()
local parent = self._parentObject
if parent == nil then
parent = self:getParentCode()
-- If the value is nil, it's cached as false.
parent = parent and get_by_code(parent, nil, true, true) or false
self._parentObject = parent
end
return parent or nil
end
function Language:getParentCode()
local parent = self._parentCode
if parent == nil then
-- If the value is nil, it's cached as false.
parent = self._data.parent or false
self._parentCode = parent
end
return parent or nil
end
function Language:getParentName()
local parent = self._parentName
if parent == nil then
parent = self:getParent()
-- If the value is nil, it's cached as false.
parent = parent and parent:getCanonicalName() or false
self._parentName = parent
end
return parent or nil
end
function Language:getParentChain()
local chain = self._parentChain
if chain == nil then
chain = {}
local parent, n = self:getParent(), 0
while parent do
n = n + 1
chain[n] = parent
parent = parent:getParent()
end
self._parentChain = chain
end
return chain
end
do
local function check_lang(self, lang)
for _, parent in ipairs(self:getParentChain()) do
if (type(lang) == "string" and lang or lang:getCode()) == parent:getCode() then
return true
end
end
end
function Language:hasParent(...)
return check_inputs(self, check_lang, false, ...)
end
end
--[==[
If the language is etymology-only, this iterates through parents until a full language or family is found, and the
corresponding object is returned. If the language is a full language, then it simply returns itself.
]==]
function Language:getFull()
local full = self._fullObject
if full == nil then
full = self:getFullCode()
full = full == self._code and self or get_by_code(full)
self._fullObject = full
end
return full
end
--[==[
If the language is an etymology-only language, this iterates through parents until a full language or family is
found, and the corresponding code is returned. If the language is a full language, then it simply returns the
language code.
]==]
function Language:getFullCode()
return self._fullCode or self._code
end
--[==[
If the language is an etymology-only language, this iterates through parents until a full language or family is
found, and the corresponding canonical name is returned. If the language is a full language, then it simply returns
the canonical name of the language.
]==]
function Language:getFullName()
local full = self._fullName
if full == nil then
full = self:getFull():getCanonicalName()
self._fullName = full
end
return full
end
--[==[Returns a table of <code class="nf">Language</code> objects for all languages that this language is directly descended from. Generally this is only a single language, but creoles, pidgins and mixed languages can have multiple ancestors.]==]
function Language:getAncestors()
local ancestors = self._ancestorObjects
if ancestors == nil then
ancestors = {}
local ancestor_codes = self:getAncestorCodes()
if #ancestor_codes > 0 then
for _, ancestor in ipairs(ancestor_codes) do
insert(ancestors, get_by_code(ancestor, nil, true))
end
else
local fam = self:getFamily()
local protoLang = fam and fam:getProtoLanguage() or nil
-- For the cases where the current language is the proto-language
-- of its family, or an etymology-only language that is ancestral to that
-- proto-language, we need to step up a level higher right from the
-- start.
if protoLang and (
protoLang:getCode() == self._code or
(self:hasType("etymology-only") and protoLang:hasAncestor(self))
) then
fam = fam:getFamily()
protoLang = fam and fam:getProtoLanguage() or nil
end
while not protoLang and not (not fam or fam:getCode() == "qfa-not") do
fam = fam:getFamily()
protoLang = fam and fam:getProtoLanguage() or nil
end
insert(ancestors, protoLang)
end
self._ancestorObjects = ancestors
end
return ancestors
end
do
-- Avoid a language being its own ancestor via class inheritance. We only need to check for this if the language has inherited an ancestor table from its parent, because we never want to drop ancestors that have been explicitly set in the data.
-- Recursively iterate over ancestors until we either find self or run out. If self is found, return true.
local function check_ancestor(self, lang)
local codes = lang:getAncestorCodes()
if not codes then
return nil
end
for i = 1, #codes do
local code = codes[i]
if code == self._code then
return true
end
local anc = get_by_code(code, nil, true)
if check_ancestor(self, anc) then
return true
end
end
end
--[==[Returns a table of <code class="nf">Language</code> codes for all languages that this language is directly descended from. Generally this is only a single language, but creoles, pidgins and mixed languages can have multiple ancestors.]==]
function Language:getAncestorCodes()
if self._ancestorCodes then
return self._ancestorCodes
end
local data = self._data
local codes = data.ancestors
if codes == nil then
codes = {}
self._ancestorCodes = codes
return codes
end
codes = split(codes, ",", true, true)
self._ancestorCodes = codes
-- If there are no codes or the ancestors weren't inherited data, there's nothing left to check.
if #codes == 0 or self:getData(false, "raw").ancestors ~= nil then
return codes
end
local i, code = 1
while i <= #codes do
code = codes[i]
if check_ancestor(self, self) then
remove(codes, i)
else
i = i + 1
end
end
return codes
end
end
--[==[Given a list of language objects or codes, returns true if at least one of them is an ancestor. This includes any etymology-only children of that ancestor. If the language's ancestor(s) are etymology-only languages, it will also return true for those language parent(s) (e.g. if Vulgar Latin is the ancestor, it will also return true for its parent, Latin). However, a parent is excluded from this if the ancestor is also ancestral to that parent (e.g. if Classical Persian is the ancestor, Persian would return false, because Classical Persian is also ancestral to Persian).]==]
function Language:hasAncestor(...)
local function iterateOverAncestorTree(node, func, parent_check)
local ancestors = node:getAncestors()
local ancestorsParents = {}
for _, ancestor in ipairs(ancestors) do
-- When checking the parents of the other language, and the ancestor is also a parent, skip to the next ancestor, so that we exclude any etymology-only children of that parent that are not directly related (see below).
local ret = (parent_check or not node:hasParent(ancestor)) and
func(ancestor) or iterateOverAncestorTree(ancestor, func, parent_check)
if ret then
return ret
end
end
-- Check the parents of any ancestors. We don't do this if checking the parents of the other language, so that we exclude any etymology-only children of those parents that are not directly related (e.g. if the ancestor is Vulgar Latin and we are checking New Latin, we want it to return false because they are on different ancestral branches. As such, if we're already checking the parent of New Latin (Latin) we don't want to compare it to the parent of the ancestor (Latin), as this would be a false positive; it should be one or the other).
if not parent_check then
return nil
end
for _, ancestor in ipairs(ancestors) do
local ancestorParents = ancestor:getParentChain()
for _, ancestorParent in ipairs(ancestorParents) do
if ancestorParent:getCode() == self._code or ancestorParent:hasAncestor(ancestor) then
break
else
insert(ancestorsParents, ancestorParent)
end
end
end
for _, ancestorParent in ipairs(ancestorsParents) do
local ret = func(ancestorParent)
if ret then
return ret
end
end
end
local function do_iteration(otherlang, parent_check)
-- otherlang can't be self
if (type(otherlang) == "string" and otherlang or otherlang:getCode()) == self._code then
return false
end
repeat
if iterateOverAncestorTree(
self,
function(ancestor)
return ancestor:getCode() == (type(otherlang) == "string" and otherlang or otherlang:getCode())
end,
parent_check
) then
return true
elseif type(otherlang) == "string" then
otherlang = get_by_code(otherlang, nil, true)
end
otherlang = otherlang:getParent()
parent_check = false
until not otherlang
end
local parent_check = true
for _, otherlang in ipairs{...} do
local ret = do_iteration(otherlang, parent_check)
if ret then
return true
end
end
return false
end
do
local function construct_node(lang, memo)
local branch, ancestors = {lang = lang:getCode()}
memo[lang:getCode()] = branch
for _, ancestor in ipairs(lang:getAncestors()) do
if ancestors == nil then
ancestors = {}
end
insert(ancestors, memo[ancestor:getCode()] or construct_node(ancestor, memo))
end
branch.ancestors = ancestors
return branch
end
function Language:getAncestorChain()
local chain = self._ancestorChain
if chain == nil then
chain = construct_node(self, {})
self._ancestorChain = chain
end
return chain
end
end
function Language:getAncestorChainOld()
local chain = self._ancestorChain
if chain == nil then
chain = {}
local step = self
while true do
local ancestors = step:getAncestors()
step = #ancestors == 1 and ancestors[1] or nil
if not step then
break
end
insert(chain, step)
end
self._ancestorChain = chain
end
return chain
end
local function fetch_descendants(self, fmt)
local descendants, family = {}, self:getFamily()
-- Iterate over all three datasets.
for _, data in ipairs{
require("Module:languages/code to canonical name"),
require("Module:etymology languages/code to canonical name"),
require("Module:families/code to canonical name"),
} do
for code in pairs(data) do
local lang = get_by_code(code, nil, true, true)
-- Test for a descendant. Earlier tests weed out most candidates, while the more intensive tests are only used sparingly.
if (
code ~= self._code and -- Not self.
lang:inFamily(family) and -- In the same family.
(
family:getProtoLanguageCode() == self._code or -- Self is the protolanguage.
self:hasDescendant(lang) or -- Full hasDescendant check.
(lang:getFullCode() == self._code and not self:hasAncestor(lang)) -- Etymology-only child which isn't an ancestor.
)
) then
if fmt == "object" then
insert(descendants, lang)
elseif fmt == "code" then
insert(descendants, code)
elseif fmt == "name" then
insert(descendants, lang:getCanonicalName())
end
end
end
end
return descendants
end
function Language:getDescendants()
local descendants = self._descendantObjects
if descendants == nil then
descendants = fetch_descendants(self, "object")
self._descendantObjects = descendants
end
return descendants
end
function Language:getDescendantCodes()
local descendants = self._descendantCodes
if descendants == nil then
descendants = fetch_descendants(self, "code")
self._descendantCodes = descendants
end
return descendants
end
function Language:getDescendantNames()
local descendants = self._descendantNames
if descendants == nil then
descendants = fetch_descendants(self, "name")
self._descendantNames = descendants
end
return descendants
end
do
local function check_lang(self, lang)
if type(lang) == "string" then
lang = get_by_code(lang, nil, true)
end
if lang:hasAncestor(self) then
return true
end
end
function Language:hasDescendant(...)
return check_inputs(self, check_lang, false, ...)
end
end
local function fetch_children(self, fmt)
local m_etym_data = require(etymology_languages_data_module)
local self_code, children = self._code, {}
for code, lang in pairs(m_etym_data) do
local _lang = lang
repeat
local parent = _lang.parent
if parent == self_code then
if fmt == "object" then
insert(children, get_by_code(code, nil, true))
elseif fmt == "code" then
insert(children, code)
elseif fmt == "name" then
insert(children, lang[1])
end
break
end
_lang = m_etym_data[parent]
until not _lang
end
return children
end
function Language:getChildren()
local children = self._childObjects
if children == nil then
children = fetch_children(self, "object")
self._childObjects = children
end
return children
end
function Language:getChildrenCodes()
local children = self._childCodes
if children == nil then
children = fetch_children(self, "code")
self._childCodes = children
end
return children
end
function Language:getChildrenNames()
local children = self._childNames
if children == nil then
children = fetch_children(self, "name")
self._childNames = children
end
return children
end
function Language:hasChild(...)
local lang = ...
if not lang then
return false
elseif type(lang) == "string" then
lang = get_by_code(lang, nil, true)
end
if lang:hasParent(self) then
return true
end
return self:hasChild(select(2, ...))
end
--[==[Returns the name of the main category of that language. Example: {{code|lua|"French language"}} for French, whose category is at [[:Category:French language]]. Unless optional argument <code>nocap</code> is given, the language name at the beginning of the returned value will be capitalized. This capitalization is correct for category names, but not if the language name is lowercase and the returned value of this function is used in the middle of a sentence.]==]
function Language:getCategoryName(nocap)
local name = self._categoryName
if name == nil then
name = self:getCanonicalName()
-- If a substrate, omit any leading article.
if self:getFamilyCode() == "qfa-sub" then
name = name:gsub("^the ", ""):gsub("^a ", "")
end
-- Only add " language" if a full language.
if self:hasType("full") then
-- Unless the canonical name already ends with "language", "lect" or their derivatives, add " language".
--if not (match(name, "[Ll]anguage$") or match(name, "[Ll]ect$")) then
if not (match(name, "^ภาษา") or match(name, "^ภาษณ์")) then
name = "ภาษา" .. name
end
end
self._categoryName = name
end
if nocap then
return name
end
return mw.getContentLanguage():ucfirst(name)
end
--[==[Creates a link to the category; the link text is the canonical name.]==]
function Language:makeCategoryLink()
return make_link(self, ":Category:" .. self:getCategoryName(), self:getDisplayForm())
end
function Language:getStandardCharacters(sc)
local standard_chars = self._data.standard_chars
if type(standard_chars) ~= "table" then
return standard_chars
elseif sc and type(sc) ~= "string" then
check_object("script", nil, sc)
sc = sc:getCode()
end
if (not sc) or sc == "None" then
local scripts = {}
for _, script in pairs(standard_chars) do
insert(scripts, script)
end
return concat(scripts)
end
if standard_chars[sc] then
return standard_chars[sc] .. (standard_chars[1] or "")
end
end
--[==[
Strip diacritics from display text `text` (in a language-specific fashion), which is in the script `sc`. If `sc` is
omitted or {nil}, the script is autodetected. This also strips certain punctuation characters from the end and (in the
case of Spanish upside-down question mark and exclamation points) from the beginning; strips any whitespace at the
end of the text or between the text and final stripped punctuation characters; and applies some language-specific
Unicode normalizations to replace discouraged characters with their prescribed alternatives. Return the stripped text.
]==]
function Language:stripDiacritics(text, sc)
if (not text) or text == "" then
return text
end
sc = checkScript(text, self, sc)
text = normalize(text, sc)
-- FIXME, rename makeEntryName to stripDiacritics and get rid of second and third return values
-- everywhere
text, _, _ = iterateSectionSubstitutions(self, text, sc, nil, nil,
self._data.strip_diacritics or self._data.entry_name, "strip_diacritics", "stripDiacritics")
text = umatch(text, "^[¿¡]?(.-[^%s%p].-)%s*[؟?!;՛՜ ՞ ՟?!︖︕।॥။၊་།]?$") or text
return text
end
--[==[
Convert a ''logical'' pagename (the pagename as it appears to the user, after diacritics and punctuation have been
stripped) to a ''physical'' pagename (the pagename as it appears in the MediaWiki database). Reasons for a difference
between the two are (a) unsupported titles such as `[ ]` (with square brackets in them), `#` (pound/hash sign) and
`¯\_(ツ)_/¯` (with underscores), as well as overly long titles of various sorts; (b) "mammoth" pages that are split into
parts (e.g. `a`, which is split into physical pagenames `a/languages A to L` and `a/languages M to Z`). For almost all
purposes, you should work with logical and not physical pagenames. But there are certain use cases that require physical
pagenames, such as checking the existence of a page or retrieving a page's contents.
`pagename` is the logical pagename to be converted. `is_reconstructed_or_appendix` indicates whether the page is in the
`Reconstruction` or `Appendix` namespaces. If it is omitted or has the value {nil}, the pagename is checked for an
initial asterisk, and if found, the page is assumed to be a `Reconstruction` page. Setting a value of `false` or `true`
to `is_reconstructed_or_appendix` disables this check and allows for mainspace pagenames that begin with an asterisk.
]==]
function Language:logicalToPhysical(pagename, is_reconstructed_or_appendix)
-- FIXME: This probably shouldn't happen but it happens when makeEntryName() receives nil.
if pagename == nil then
track("nil-passed-to-logicalToPhysical")
return nil
end
local initial_asterisk
if is_reconstructed_or_appendix == nil then
local pagename_minus_initial_asterisk
initial_asterisk, pagename_minus_initial_asterisk = pagename:match("^(%*)(.*)$")
if pagename_minus_initial_asterisk then
is_reconstructed_or_appendix = true
pagename = pagename_minus_initial_asterisk
elseif self:hasType("appendix-constructed") then
is_reconstructed_or_appendix = true
end
end
if not is_reconstructed_or_appendix then
-- Check if the pagename is a listed unsupported title.
local unsupportedTitles = load_data(links_data_module).unsupported_titles
if unsupportedTitles[pagename] then
return "Unsupported titles/" .. unsupportedTitles[pagename]
end
end
-- Set `unsupported` as true if certain conditions are met.
local unsupported
-- Check if there's an unsupported character. \239\191\189 is the replacement character U+FFFD, which can't be typed
-- directly here due to an abuse filter. Unix-style dot-slash notation is also unsupported, as it is used for
-- relative paths in links, as are 3 or more consecutive tildes. Note: match is faster with magic
-- characters/charsets; find is faster with plaintext.
if (
match(pagename, "[#<>%[%]_{|}]") or
find(pagename, "\239\191\189") or
match(pagename, "%f[^%z/]%.%.?%f[%z/]") or
find(pagename, "~~~")
) then
unsupported = true
-- If it looks like an interwiki link.
elseif find(pagename, ":") then
local prefix = gsub(pagename, "^:*(.-):.*", ulower)
if (
load_data("Module:data/namespaces")[prefix] or
load_data("Module:data/interwikis")[prefix]
) then
unsupported = true
end
end
-- Escape unsupported characters so they can be used in titles. ` is used as a delimiter for this, so a raw use of
-- it in an unsupported title is also escaped here to prevent interference; this is only done with unsupported
-- titles, though, so inclusion won't in itself mean a title is treated as unsupported (which is why it's excluded
-- from the earlier test).
if unsupported then
-- FIXME: This conversion needs to be different for reconstructed pages with unsupported characters. There
-- aren't any currently, but if there ever are, we need to fix this e.g. to put them in something like
-- Reconstruction:Proto-Indo-European/Unsupported titles/`lowbar``num`.
local unsupported_characters = load_data(links_data_module).unsupported_characters
pagename = pagename:gsub("[#<>%[%]_`{|}\239]\191?\189?", unsupported_characters)
:gsub("%f[^%z/]%.%.?%f[%z/]", function(m)
return (gsub(m, "%.", "`period`"))
end)
:gsub("~~~+", function(m)
return (gsub(m, "~", "`tilde`"))
end)
pagename = "ชื่อไม่รองรับ/" .. pagename
elseif not is_reconstructed_or_appendix then
-- Check if this is a mammoth page. If so, which subpage should we link to?
local m_links_data = load_data(links_data_module)
local mammoth_page_type = m_links_data.mammoth_pages[pagename]
if mammoth_page_type then
local canonical_name = self:getFullName()
if canonical_name ~= "ร่วม" and canonical_name ~= "ไทย" then -- ร่วม>ไทย>อื่นๆ
local this_subpage
local L2_sort_key = get_L2_sort_key(canonical_name)
for _, subpage_spec in ipairs(m_links_data.mammoth_page_subpage_types[mammoth_page_type]) do
-- unpack() fails utterly on data loaded using mw.loadData() even if offsets are given
local subpage, pattern = subpage_spec[1], subpage_spec[2]
if pattern == true or L2_sort_key:match(pattern) then
this_subpage = subpage
break
end
end
if not this_subpage then
error(("Internal error: Bad data in mammoth_page_subpage_pages in [[Module:links/data]] for mammoth page %s, type %s; last entry didn't have 'true' in it"):format(
pagename, mammoth_page_type))
end
pagename = pagename .. "/" .. this_subpage
end
end
end
return (initial_asterisk or "") .. pagename
end
--[==[
Strip the diacritics from a display pagename and convert the resulting logical pagename into a physical pagename.
This allows you, for example, to retrieve the contents of the page or check its existence. WARNING: This is deprecated
and will be going away. It is a simple composition of `self:stripDiacritics` and `self:logicalToPhysical`; most callers
only want the former, and if you need both, call them both yourself.
`text` and `sc` are as in `self:stripDiacritics`, and `is_reconstructed_or_appendix` is as in `self:logicalToPhysical`.
]==]
function Language:makeEntryName(text, sc, is_reconstructed_or_appendix)
return self:logicalToPhysical(self:stripDiacritics(text, sc), is_reconstructed_or_appendix)
end
--[==[Generates alternative forms using a specified method, and returns them as a table. If no method is specified, returns a table containing only the input term.]==]
function Language:generateForms(text, sc)
local generate_forms = self._data.generate_forms
if generate_forms == nil then
return {text}
end
sc = checkScript(text, self, sc)
return require("Module:" .. self._data.generate_forms).generateForms(text, self, sc)
end
--[==[Creates a sort key for the given stripped text, following the rules appropriate for the language. This removes
diacritical marks from the stripped text if they are not considered significant for sorting, and may perform some other
changes. Any initial hyphen is also removed, and anything in parentheses is removed as well.
The <code>sort_key</code> setting for each language in the data modules defines the replacements made by this function, or it gives the name of the module that takes the stripped text and returns a sortkey.]==]
function Language:makeSortKey(text, sc)
if (not text) or text == "" then
return text
end
if match(text, "<[^<>]+>") then
track("track HTML tag")
end
-- Remove directional characters, bold, italics, soft hyphens, strip markers and HTML tags.
-- FIXME: Partly duplicated with remove_formatting() in [[Module:links]].
text = ugsub(text, "[\194\173\226\128\170-\226\128\174\226\129\166-\226\129\169]", "")
text = text:gsub("('*)'''(.-'*)'''", "%1%2"):gsub("('*)''(.-'*)''", "%1%2")
text = gsub(unstrip(text), "<[^<>]+>", "")
text = decode_uri(text, "PATH")
text = checkNoEntities(self, text)
-- Remove initial hyphens and * unless the term only consists of spacing + punctuation characters.
text = ugsub(text, "^([-]*)[-־ـ᠊*]+([-]*)(.*[^%s%p].*)", "%1%2%3")
sc = checkScript(text, self, sc)
text = normalize(text, sc)
text = removeCarets(text, sc)
-- For languages with dotted dotless i, ensure that "İ" is sorted as "i", and "I" is sorted as "ı".
if self:hasDottedDotlessI() then
text = gsub(text, "I\204\135", "i") -- decomposed "İ"
:gsub("I", "ı")
text = sc:toFixedNFD(text)
end
-- Convert to lowercase, make the sortkey, then convert to uppercase. Where the language has dotted dotless i, it is
-- usually not necessary to convert "i" to "İ" and "ı" to "I" first, because "I" will always be interpreted as
-- conventional "I" (not dotless "İ") by any sorting algorithms, which will have been taken into account by the
-- sortkey substitutions themselves. However, if no sortkey substitutions have been specified, then conversion is
-- necessary so as to prevent "i" and "ı" both being sorted as "I".
--
-- An exception is made for scripts that (sometimes) sort by scraping page content, as that means they are sensitive
-- to changes in capitalization (as it changes the target page).
if not sc:sortByScraping() then
text = ulower(text)
end
local actual_substitution_data
-- Don't trim whitespace here because it's significant at the beginning of a sort key or sort base.
text, _, actual_substitution_data = iterateSectionSubstitutions(self, text, sc, nil, nil, self._data.sort_key,
"sort_key", "makeSortKey", "notrim")
if not sc:sortByScraping() then
if self:hasDottedDotlessI() and not actual_substitution_data then
text = text:gsub("ı", "I"):gsub("i", "İ")
text = sc:toFixedNFC(text)
end
text = uupper(text)
end
-- Remove parentheses, as long as they are either preceded or followed by something.
text = gsub(text, "(.)[()]+", "%1"):gsub("[()]+(.)", "%1")
text = escape_risky_characters(text)
return text
end
--[==[Create the form used as as a basis for display text and transliteration. FIXME: Rename to correctInputText().]==]
local function processDisplayText(text, self, sc, keepCarets, keepPrefixes)
local subbedChars = {}
text, subbedChars = doTempSubstitutions(text, subbedChars, keepCarets)
text = decode_uri(text, "PATH")
text = checkNoEntities(self, text)
sc = checkScript(text, self, sc)
text = normalize(text, sc)
text, subbedChars = iterateSectionSubstitutions(self, text, sc, subbedChars, keepCarets, self._data.display_text,
"display_text", "makeDisplayText")
text = removeCarets(text, sc)
-- Remove any interwiki link prefixes (unless they have been escaped or this has been disabled).
if find(text, ":") and not keepPrefixes then
local rep
repeat
text, rep = gsub(text, "\\\\(\\*:)", "\3%1")
until rep == 0
text = gsub(text, "\\:", "\4")
while true do
local prefix = gsub(text, "^(.-):.+", function(m1)
return (gsub(m1, "\244[\128-\191]*", ""))
end)
-- Check if the prefix is an interwiki, though ignore capitalised Wiktionary:, which is a namespace.
if not prefix or prefix == text or prefix == "Wiktionary"
or not (load_data("Module:data/interwikis")[ulower(prefix)] or prefix == "") then
break
end
text = gsub(text, "^(.-):(.*)", function(m1, m2)
local ret = {}
for subbedChar in gmatch(m1, "\244[\128-\191]*") do
insert(ret, subbedChar)
end
return concat(ret) .. m2
end)
end
text = gsub(text, "\3", "\\"):gsub("\4", ":")
end
return text, subbedChars
end
--[==[Make the display text (i.e. what is displayed on the page).]==]
function Language:makeDisplayText(text, sc, keepPrefixes)
if not text or text == "" then
return text
end
local subbedChars
text, subbedChars = processDisplayText(text, self, sc, nil, keepPrefixes)
text = escape_risky_characters(text)
return undoTempSubstitutions(text, subbedChars)
end
--[==[Transliterates the text from the given script into the Latin script (see
[[Wiktionary:Transliteration and romanization]]). The language must have the <code>translit</code> property for this to
work; if it is not present, {{code|lua|nil}} is returned.
The <code>sc</code> parameter is handled by the transliteration module, and how it is handled is specific to that
module. Some transliteration modules may tolerate {{code|lua|nil}} as the script, others require it to be one of the
possible scripts that the module can transliterate, and will throw an error if it's not one of them. For this reason,
the <code>sc</code> parameter should always be provided when writing non-language-specific code.
The <code>module_override</code> parameter is used to override the default module that is used to provide the
transliteration. This is useful in cases where you need to demonstrate a particular module in use, but there is no
default module yet, or you want to demonstrate an alternative version of a transliteration module before making it
official. It should not be used in real modules or templates, only for testing. All uses of this parameter are tracked
by [[Wiktionary:Tracking/languages/module_override]].
'''Known bugs''':
* This function assumes {tr(s1) .. tr(s2) == tr(s1 .. s2)}. When this assertion fails, wikitext markups like <nowiki>'''</nowiki> can cause wrong transliterations.
* HTML entities like <code>&apos;</code>, often used to escape wikitext markups, do not work.
]==]
function Language:transliterate(text, sc, module_override)
-- If there is no text, or the language doesn't have transliteration data and there's no override, return nil.
if not text or text == "" or text == "-" then
return text
end
-- If the script is not transliteratable (and no override is given), return nil.
sc = checkScript(text, self, sc)
if not (sc:isTransliterated() or module_override) then
-- temporary tracking to see if/when this gets triggered
track("non-transliterable")
track("non-transliterable/" .. self._code)
track("non-transliterable/" .. sc:getCode())
track("non-transliterable/" .. sc:getCode() .. "/" .. self._code)
return nil
end
-- Remove any strip markers.
text = unstrip(text)
-- Do not process the formatting into PUA characters for certain languages.
local processed = load_data(languages_data_module).substitution[self._code] ~= "none"
-- Get the display text with the keepCarets flag set.
local subbedChars
if processed then
text, subbedChars = processDisplayText(text, self, sc, true)
end
-- Transliterate (using the module override if applicable).
text, subbedChars = iterateSectionSubstitutions(self, text, sc, subbedChars, true, module_override or
self._data.translit, "translit", "tr")
if not text then
return nil
end
-- Incomplete transliterations return nil.
local charset = sc.characters
if charset and umatch(text, "[" .. charset .. "]") then
-- Remove any characters in Latin, which includes Latin characters also included in other scripts (as these are
-- false positives), as well as any PUA substitutions. Anything remaining should only be script code "None"
-- (e.g. numerals).
local check_text = ugsub(text, "[" .. get_script("Latn").characters .. "-]+", "")
-- Set none_is_last_resort_only flag, so that any non-None chars will cause a script other than "None" to be
-- returned.
if find_best_script_without_lang(check_text, true):getCode() ~= "None" then
return nil
end
end
if processed then
text = escape_risky_characters(text)
text = undoTempSubstitutions(text, subbedChars)
end
-- If the script does not use capitalization, then capitalize any letters of the transliteration which are
-- immediately preceded by a caret (and remove the caret).
if text and not sc:hasCapitalization() and text:find("^", 1, true) then
text = processCarets(text, "%^([\128-\191\244]*%*?)([^\128-\191\244][\128-\191]*)", function(m1, m2)
return m1 .. uupper(m2)
end)
end
-- Track module overrides.
if module_override ~= nil then
track("module_override")
end
return text
end
do
local function handle_language_spec(self, spec, sc)
local ret = self["_" .. spec]
if ret == nil then
ret = self._data[spec]
if type(ret) == "string" then
ret = list_to_set(split(ret, ",", true, true))
end
self["_" .. spec] = ret
end
if type(ret) == "table" then
ret = ret[sc:getCode()]
end
return not not ret
end
function Language:overrideManualTranslit(sc)
return handle_language_spec(self, "override_translit", sc)
end
function Language:link_tr(sc)
return handle_language_spec(self, "link_tr", sc)
end
end
--[==[Returns {{code|lua|true}} if the language has a transliteration module, or {{code|lua|false}} if it doesn't.]==]
function Language:hasTranslit()
return not not self._data.translit
end
--[==[Returns {{code|lua|true}} if the language uses the letters I/ı and İ/i, or {{code|lua|false}} if it doesn't.]==]
function Language:hasDottedDotlessI()
return not not self._data.dotted_dotless_i
end
function Language:toJSON(opts)
local strip_diacritics, strip_diacritics_patterns, strip_diacritics_remove_diacritics = self._data.strip_diacritics
if strip_diacritics then
if strip_diacritics.from then
strip_diacritics_patterns = {}
for i, from in ipairs(strip_diacritics.from) do
insert(strip_diacritics_patterns, {from = from, to = strip_diacritics.to[i] or ""})
end
end
strip_diacritics_remove_diacritics = strip_diacritics.remove_diacritics
end
-- mainCode should only end up non-nil if dontCanonicalizeAliases is passed to make_object().
-- props should either contain zero-argument functions to compute the value, or the value itself.
local props = {
ancestors = function() return self:getAncestorCodes() end,
canonicalName = function() return self:getCanonicalName() end,
categoryName = function() return self:getCategoryName("nocap") end,
code = self._code,
mainCode = self._mainCode,
parent = function() return self:getParentCode() end,
full = function() return self:getFullCode() end,
stripDiacriticsPatterns = strip_diacritics_patterns,
stripDiacriticsRemoveDiacritics = strip_diacritics_remove_diacritics,
family = function() return self:getFamilyCode() end,
aliases = function() return self:getAliases() end,
varieties = function() return self:getVarieties() end,
otherNames = function() return self:getOtherNames() end,
scripts = function() return self:getScriptCodes() end,
type = function() return keys_to_list(self:getTypes()) end,
wikimediaLanguages = function() return self:getWikimediaLanguageCodes() end,
wikidataItem = function() return self:getWikidataItem() end,
wikipediaArticle = function() return self:getWikipediaArticle(true) end,
}
local ret = {}
for prop, val in pairs(props) do
if not opts.skip_fields or not opts.skip_fields[prop] then
if type(val) == "function" then
ret[prop] = val()
else
ret[prop] = val
end
end
end
-- Use `deep_copy` when returning a table, so that there are no editing restrictions imposed by `mw.loadData`.
return opts and opts.lua_table and deep_copy(ret) or to_json(ret, opts)
end
function export.getDataModuleName(code)
local letter = match(code, "^(%l)%l%l?$")
return "Module:" .. (
letter == nil and "languages/data/exceptional" or
#code == 2 and "languages/data/2" or
"languages/data/3/" .. letter
)
end
get_data_module_name = export.getDataModuleName
function export.getExtraDataModuleName(code)
return get_data_module_name(code) .. "/extra"
end
get_extra_data_module_name = export.getExtraDataModuleName
do
local function make_stack(data)
local key_types = {
[2] = "unique",
aliases = "unique",
otherNames = "unique",
type = "append",
varieties = "unique",
wikipedia_article = "unique",
wikimedia_codes = "unique"
}
local function __index(self, k)
local stack, key_type = getmetatable(self), key_types[k]
-- Data that isn't inherited from the parent.
if key_type == "unique" then
local v = stack[stack[make_stack]][k]
if v == nil then
local layer = stack[0]
if layer then -- Could be false if there's no extra data.
v = layer[k]
end
end
return v
-- Data that is appended by each generation.
elseif key_type == "append" then
local parts, offset, n = {}, 0, stack[make_stack]
for i = 1, n do
local part = stack[i][k]
if part == nil then
offset = offset + 1
else
parts[i - offset] = part
end
end
return offset ~= n and concat(parts, ",") or nil
end
local n = stack[make_stack]
while true do
local layer = stack[n]
if not layer then -- Could be false if there's no extra data.
return nil
end
local v = layer[k]
if v ~= nil then
return v
end
n = n - 1
end
end
local function __newindex()
error("table is read-only")
end
local function __pairs(self)
-- Iterate down the stack, caching keys to avoid duplicate returns.
local stack, seen = getmetatable(self), {}
local n = stack[make_stack]
local iter, state, k, v = pairs(stack[n])
return function()
repeat
repeat
k = iter(state, k)
if k == nil then
n = n - 1
local layer = stack[n]
if not layer then -- Could be false if there's no extra data.
return nil
end
iter, state, k = pairs(layer)
end
until not (k == nil or seen[k])
-- Get the value via a lookup, as the one returned by the
-- iterator will be the raw value from the current layer,
-- which may not be the one __index will return for that
-- key. Also memoize the key in `seen` (even if the lookup
-- returns nil) so that it doesn't get looked up again.
-- TODO: store values in `self`, avoiding the need to create
-- the `seen` table. The iterator will need to iterate over
-- `self` with `next` first to find these on future loops.
v, seen[k] = self[k], true
until v ~= nil
return k, v
end
end
local __ipairs = require(table_module).indexIpairs
function make_stack(data)
local stack = {
data,
[make_stack] = 1, -- stores the length and acts as a sentinel to confirm a given metatable is a stack.
__index = __index,
__newindex = __newindex,
__pairs = __pairs,
__ipairs = __ipairs,
}
stack.__metatable = stack
return setmetatable({}, stack), stack
end
return make_stack(data)
end
local function get_stack(data)
local stack = getmetatable(data)
return stack and type(stack) == "table" and stack[make_stack] and stack or nil
end
--[==[
<span style="color: var(--wikt-palette-red,#BA0000)">This function is not for use in entries or other content pages.</span>
Returns a blob of data about the language. The format of this blob is undocumented, and perhaps unstable; it's intended for things like the module's own unit-tests, which are "close friends" with the module and will be kept up-to-date as the format changes. If `extra` is set, any extra data in the relevant `/extra` module will be included. (Note that it will be included anyway if it has already been loaded into the language object.) If `raw` is set, then the returned data will not contain any data inherited from parent objects.
-- Do NOT use these methods!
-- All uses should be pre-approved on the talk page!
]==]
function Language:getData(extra, raw)
if extra then
self:loadInExtraData()
end
local data = self._data
-- If raw is not set, just return the data.
if not raw then
return data
end
local stack = get_stack(data)
-- If there isn't a stack or its length is 1, return the data. Extra data (if any) will be included, as it's stored at key 0 and doesn't affect the reported length.
if stack == nil then
return data
end
local n = stack[make_stack]
if n == 1 then
return data
end
local extra = stack[0]
-- If there isn't any extra data, return the top layer of the stack.
if extra == nil then
return stack[n]
end
-- If there is, return a new stack which has the top layer at key 1 and the extra data at key 0.
data, stack = make_stack(stack[n])
stack[0] = extra
return data
end
function Language:loadInExtraData()
-- Only full languages have extra data.
if not self:hasType("language", "full") then
return
end
local data = self._data
-- If there's no stack, create one.
local stack = get_stack(self._data)
if stack == nil then
data, stack = make_stack(data)
-- If already loaded, return.
elseif stack[0] ~= nil then
return
end
self._data = data
-- Load extra data from the relevant module and add it to the stack at key 0, so that the __index and __pairs metamethods will pick it up, since they iterate down the stack until they run out of layers.
local code = self._code
local modulename = get_extra_data_module_name(code)
-- No data cached as false.
stack[0] = modulename and load_data(modulename)[code] or false
end
--[==[Returns the name of the module containing the language's data. Currently, this is always [[Module:scripts/data]].]==]
function Language:getDataModuleName()
local name = self._dataModuleName
if name == nil then
name = self:hasType("etymology-only") and etymology_languages_data_module or
get_data_module_name(self._mainCode or self._code)
self._dataModuleName = name
end
return name
end
--[==[Returns the name of the module containing the language's data. Currently, this is always [[Module:scripts/data]].]==]
function Language:getExtraDataModuleName()
local name = self._extraDataModuleName
if name == nil then
name = not self:hasType("etymology-only") and get_extra_data_module_name(self._mainCode or self._code) or false
self._extraDataModuleName = name
end
return name or nil
end
function export.makeObject(code, data, dontCanonicalizeAliases)
local data_type = type(data)
if data_type ~= "table" then
error(("bad argument #2 to 'makeObject' (table expected, got %s)"):format(data_type))
end
-- Convert any aliases.
local input_code = code
code = normalize_code(code)
input_code = dontCanonicalizeAliases and input_code or code
local parent
if data.parent then
parent = get_by_code(data.parent, nil, true, true)
else
parent = Language
end
parent.__index = parent
local lang = {_code = input_code}
-- This can only happen if dontCanonicalizeAliases is passed to make_object().
if code ~= input_code then
lang._mainCode = code
end
local parent_data = parent._data
if parent_data == nil then
-- Full code is the same as the code.
lang._fullCode = parent._code or code
else
-- Copy full code.
lang._fullCode = parent._fullCode
local stack = get_stack(parent_data)
if stack == nil then
parent_data, stack = make_stack(parent_data)
end
-- Insert the input data as the new top layer of the stack.
local n = stack[make_stack] + 1
data, stack[n], stack[make_stack] = parent_data, data, n
end
lang._data = data
return setmetatable(lang, parent)
end
make_object = export.makeObject
end
--[==[Finds the language whose code matches the one provided. If it exists, it returns a <code class="nf">Language</code> object representing the language. Otherwise, it returns {{code|lua|nil}}, unless <code class="n">paramForError</code> is given, in which case an error is generated. If <code class="n">paramForError</code> is {{code|lua|true}}, a generic error message mentioning the bad code is generated; otherwise <code class="n">paramForError</code> should be a string or number specifying the parameter that the code came from, and this parameter will be mentioned in the error message along with the bad code. If <code class="n">allowEtymLang</code> is specified, etymology-only language codes are allowed and looked up along with normal language codes. If <code class="n">allowFamily</code> is specified, language family codes are allowed and looked up along with normal language codes.]==]
function export.getByCode(code, paramForError, allowEtymLang, allowFamily)
-- Track uses of paramForError, ultimately so it can be removed, as error-handling should be done by [[Module:parameters]], not here.
if paramForError ~= nil then
track("paramForError")
end
if type(code) ~= "string" then
local typ
if not code then
typ = "nil"
elseif check_object("language", true, code) then
typ = "a language object"
elseif check_object("family", true, code) then
typ = "a family object"
else
typ = "a " .. type(code)
end
error("The function getByCode expects a string as its first argument, but received " .. typ .. ".")
end
local m_data = load_data(languages_data_module)
if m_data.aliases[code] or m_data.track[code] then
track(code)
end
local norm_code = normalize_code(code)
-- Get the data, checking for etymology-only languages if allowEtymLang is set.
local data = load_data(get_data_module_name(norm_code))[norm_code] or
allowEtymLang and load_data(etymology_languages_data_module)[norm_code]
-- If no data was found and allowFamily is set, check the family data. If the main family data was found, make the object with [[Module:families]] instead, as family objects have different methods. However, if it's an etymology-only family, use make_object in this module (which handles object inheritance), and the family-specific methods will be inherited from the parent object.
if data == nil and allowFamily then
data = load_data("Module:families/data")[norm_code]
if data ~= nil then
if data.parent == nil then
return make_family_object(norm_code, data)
elseif not allowEtymLang then
data = nil
end
end
end
local retval = code and data and make_object(code, data)
if not retval and paramForError then
require("Module:languages/errorGetBy").code(code, paramForError, allowEtymLang, allowFamily)
end
return retval
end
get_by_code = export.getByCode
--[==[Finds the language whose canonical name (the name used to represent that language on Wiktionary) or other name matches the one provided. If it exists, it returns a <code class="nf">Language</code> object representing the language. Otherwise, it returns {{code|lua|nil}}, unless <code class="n">paramForError</code> is given, in which case an error is generated. If <code class="n">allowEtymLang</code> is specified, etymology-only language codes are allowed and looked up along with normal language codes. If <code class="n">allowFamily</code> is specified, language family codes are allowed and looked up along with normal language codes.
The canonical name of languages should always be unique (it is an error for two languages on Wiktionary to share the same canonical name), so this is guaranteed to give at most one result.
This function is powered by [[Module:languages/canonical names]], which contains a pre-generated mapping of full-language canonical names to codes. It is generated by going through the [[:Category:Language data modules]] for full languages. When <code class="n">allowEtymLang</code> is specified for the above function, [[Module:etymology languages/canonical names]] may also be used, and when <code class="n">allowFamily</code> is specified for the above function, [[Module:families/canonical names]] may also be used.]==]
function export.getByCanonicalName(name, errorIfInvalid, allowEtymLang, allowFamily)
local byName = load_data("Module:languages/canonical names")
local code = byName and byName[name]
if not code and allowEtymLang then
byName = load_data("Module:etymology languages/canonical names")
code = byName and byName[name] or
byName[gsub(name, " [Ss]ubstrate$", "")] or
byName[gsub(name, "^a ", "")] or
byName[gsub(name, "^a ", ""):gsub(" [Ss]ubstrate$", "")] or
-- For etymology families like "ira-pro".
-- FIXME: This is not ideal, as it allows " languages" to be appended to any etymology-only language, too.
byName[match(name, "^กลุ่มภาษา(.*)$")]
end
if not code and allowFamily then
byName = load_data("Module:families/canonical names")
code = byName[name] or byName[match(name, "^กลุ่มภาษา(.*)$")]
end
local retval = code and get_by_code(code, errorIfInvalid, allowEtymLang, allowFamily)
if not retval and errorIfInvalid then
require("Module:languages/errorGetBy").canonicalName(name, allowEtymLang, allowFamily)
end
return retval
end
--[==[Used by [[Module:languages/data/2]] (et al.) and [[Module:etymology languages/data]], [[Module:families/data]], [[Module:scripts/data]] and [[Module:writing systems/data]] to finalize the data into the format that is actually returned.]==]
function export.finalizeData(data, main_type, variety)
local fields = {"type"}
if main_type == "language" then
insert(fields, 4) -- script codes
insert(fields, "ancestors")
insert(fields, "link_tr")
insert(fields, "override_translit")
insert(fields, "wikimedia_codes")
elseif main_type == "script" then
insert(fields, 3) -- writing system codes
end -- Families and writing systems have no extra fields to process.
local fields_len = #fields
for _, entity in next, data do
if variety then
-- Move parent from 3 to "parent" and family from "family" to 3. These are different for the sake of convenience, since very few varieties have the family specified, whereas all of them have a parent.
entity.parent, entity[3], entity.family = entity[3], entity.family
-- Give the type "regular" iff not a variety and no other types are assigned.
elseif not (entity.type or entity.parent) then
entity.type = "regular"
end
for i = 1, fields_len do
local key = fields[i]
local field = entity[key]
if field and type(field) == "string" then
entity[key] = gsub(field, "%s*,%s*", ",")
end
end
end
return data
end
--[==[For backwards compatibility only; modules should require the error themselves.]==]
function export.err(lang_code, param, code_desc, template_tag, not_real_lang)
return require("Module:languages/error")(lang_code, param, code_desc, template_tag, not_real_lang)
end
return export
lbbqkku07qwa30v6nhh6wr7zok72fx9
attacks
0
43171
5723324
5039062
2026-05-21T14:27:50Z
~2026-30470-20
19019
*/
5723324
wikitext
text/x-wiki
ของภาษา HTML เช่น จาวาสคริปต์ และ Cascading Style Sheet ได้โดยตรง ทำให้ได้ประโยชน์คือรูปลักษณ์และความรู้สึก (Look and Feel) ในการใช้งานวิกิมีความสอดคล้องกัน
== ภาษาอังกฤษ ==
=== การออกเสียง ===
* {{IPA|en|/əˈtæks/}}
* {{audio|en|en-us-attacks.ogg|a=US}}
* {{rhymes|en|æks|s=2}}
=== คำนาม ===
{{head|en|รูปนาม}}
# {{plural of|en|attack}}
=== คำกริยา ===
{{head|en|รูปกริยา}}
# {{inflection of|en|attack||s-verb-form}}
cqu9haks3ktwp6ojbvle88mgycrlbpn
5723325
5723324
2026-05-22T00:59:46Z
OctraBot
3198
ย้อนรุ่นแก้ไข [[Special:Diff/5723324|5723324]] ของ [[Special:Contributions/~2026-30470-20|~2026-30470-20]] ([[User talk:~2026-30470-20|คุย]])
5723325
wikitext
text/x-wiki
== ภาษาสวีเดน ==
=== คำนาม ===
{{head|sv|รูปนาม}}
# {{noun form of|sv|attack||indef|gen|s}}
=== คำสลับอักษร ===
* {{anagrams|sv|a=aackstt|tackats}}
== ภาษาอังกฤษ ==
=== การออกเสียง ===
* {{IPA|en|/əˈtæks/}}
* {{audio|en|en-us-attacks.ogg|a=US}}
* {{rhymes|en|æks|s=2}}
=== คำนาม ===
{{head|en|รูปนาม}}
# {{plural of|en|attack}}
=== คำกริยา ===
{{head|en|รูปกริยา}}
# {{inflection of|en|attack||s-verb-form}}
iiazcn334oq9xx2jozkfwnwgym8pyj1
esporte
0
150170
5723333
1332430
2026-05-22T01:48:29Z
OctraBot
3198
/* ภาษาโปรตุเกส */ เก็บกวาด
5723333
wikitext
text/x-wiki
== ภาษาโปรตุเกส ==
{{wp|pt:}}
=== รากศัพท์ ===
{{ety|pt|:bor|en:sport|text=+|tree=1}} {{dbt|pt|deportar|desporte|desporto}}
=== การออกเสียง ===
{{pt-IPA|espórte}}
* {{audio|pt|LL-Q5146 (por)-MedK1-esporte.wav|a=<<Brazil>> (<<Caipira>>)}}
* {{hyph|pt|es|por|te}}
=== คำนาม ===
{{pt-noun|m}}
# {{lb|pt|Brazil}} [[กีฬา]]
#: {{syn|pt|desporto<q:Portugal>}}
==== ลูกคำ ====
{{col|pt
|esportismo
|esportista
|esportivo
|* antiesportivo
}}
=== ดูเพิ่ม ===
* {{l|pt|esporta}} {{q|etymologically unrelated}}
=== อ่านเพิ่ม ===
* {{R:pt:Aulete}}
* {{R:pt:Houaiss}}
* {{R:pt:Infopédia}}
* {{R:pt:Michaelis}}
* {{R:pt:Priberam}}
{{C|pt|กีฬา}}
s86mrmqkwc3voe9awg5a4a6720we5ft
5723334
5723333
2026-05-22T01:48:58Z
OctraBot
3198
/* คำนาม */
5723334
wikitext
text/x-wiki
== ภาษาโปรตุเกส ==
{{wp|pt:}}
=== รากศัพท์ ===
{{ety|pt|:bor|en:sport|text=+|tree=1}} {{dbt|pt|deportar|desporte|desporto}}
=== การออกเสียง ===
{{pt-IPA|espórte}}
* {{audio|pt|LL-Q5146 (por)-MedK1-esporte.wav|a=<<Brazil>> (<<Caipira>>)}}
* {{hyph|pt|es|por|te}}
=== คำนาม ===
{{pt-noun|m}}
# {{lb|pt|Brazil}} [[กีฬา]]
#: {{syn|pt|desporto<q:โปรตุเกส>}}
==== ลูกคำ ====
{{col|pt
|esportismo
|esportista
|esportivo
|* antiesportivo
}}
=== ดูเพิ่ม ===
* {{l|pt|esporta}} {{q|etymologically unrelated}}
=== อ่านเพิ่ม ===
* {{R:pt:Aulete}}
* {{R:pt:Houaiss}}
* {{R:pt:Infopédia}}
* {{R:pt:Michaelis}}
* {{R:pt:Priberam}}
{{C|pt|กีฬา}}
janz0pwfksjiwyn8c1zd5rjbf40iyfk
คุยกับผู้ใช้:Octahedron80
3
245286
5723335
5723101
2026-05-22T11:50:11Z
咽頭べさ
11687
5723335
wikitext
text/x-wiki
== การแสดงผลพินอินในแม่แบบตัวอย่าง ==
สวัสดีครับ เพิ่งสังเกตว่า[[แม่แบบ:zh-x]] ของวิกิไทยกับอังกฤษแสดงพินอินไม่เหมือนกัน เช่น 了 หรือ 的 ใน [[找]] ผมเข้าไปดูในโมดูลแล้ว แต่ก็ยังหาต้นตอไม่เจอ พอจะช่วยแก้ให้ตรงกันได้ไหมครับ [[ผู้ใช้:Ponpan|Ponpan]] ([[คุยกับผู้ใช้:Ponpan|คุย]]) 12:03, 19 มีนาคม 2567 (+07)
::ตัวอักษรจีนบางตัวมันอ่านได้มากกว่า 1 แบบ มันจะมีการทำงานที่แยกออกไปต่างหาก --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 12:26, 19 มีนาคม 2567 (+07)
::: ผมคิดว่ามันน่าจะมีโมดูลหลังบ้านสักตัวที่ใช้กำหนดพินอินหลักที่จะแสดงในแม่แบบตัวอย่าง อาจจะเป็นพินอินที่ใช้บ่อยสุดของตัวอักษรจีนนั้น ๆ แต่ผมก็ยังหาไม่เจอ --[[ผู้ใช้:Ponpan|Ponpan]] ([[คุยกับผู้ใช้:Ponpan|คุย]]) 12:39, 19 มีนาคม 2567 (+07)
:::: อยู่ในนี้ [[มอดูล:zh/data/cmn-pron]] ไม่ได้อัปเดตมานานแล้ว น่าจะหายแล้ว --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 12:49, 19 มีนาคม 2567 (+07)
::::: หายแล้วครับ ขอบคุณครับ --[[ผู้ใช้:Ponpan|Ponpan]] ([[คุยกับผู้ใช้:Ponpan|คุย]]) 12:54, 19 มีนาคม 2567 (+07)
==อยากจะขอความช่วยเหลือบางอย่าง==
สวัสดีคุณพี่ {{ping|Octahedron80}} คุณช่วยสอนวิธีใช้งาน bot ได้ไหม ฉันอยากจะขอเรื่องนี้ แล้วฉันเองก็ไม่เช่นเคยใช้งาน แล้วก็ในคอมพิวเตอร์ของเราต้อง Install ยังไง แนะนำให้หน่อยได้ไหม ในวิกิพจนานุกรมภาษามอญงานทุกอย่างฉันคนเดียวต้องทำอยู่ ไม่มีใครช่วยฉันด้วย ฉันเองก็อยากจะลองดู [[ผู้ใช้:Intobesa.bot|bot]] หรือว่าฉันจะมาหาคุณที่บ้านหรือ ถ้าแบบนั้นฉันดีที่สุด เพราะว่าฉันไม่ค่อยเข้าใจเรื่องเทคโนโลยี เรื่องนี้คุณก็รู้อยู่ดี ถ้าคุณลองทำให้ฉันมองเห็น สำหรับฉันจะพอเข้าใจ คุณช่วยให้ฉันหน่อยได้ไหม ฉันอยากจะขอความกรุณาเรื่องนี้ โปรดช่วยด้วย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 17:15, 3 เมษายน 2567 (+07)
----
:ผมใช้งาน pywikibot โดยสามารถใช้งานผ่านเว็บไซต์ https://hub-paws.wmcloud.org <u>ซึ่งได้ติดตั้ง pywikibot ไว้แล้ว</u> ไม่ต้องติดตั้งอะไรลงในคอมพิวเตอร์ -- เป็นวิธีที่ง่ายที่สุด ที่ไม่ต้องเขียนโปรแกรมเอง แต่ต้องสั่งงานใน <u>Terminal</u> ให้ถูกไวยากรณ์ -- ในเบื้องต้น คุณต้องมีความรู้ภาษา <u>python</u> และ <u>bash</u> ของ Linux ที่จะใช้งานมัน
:pywikibot เป็นสคริปต์อัตโนมัติ ไม่ถึงกับเป็นบอต แต่ถึงกระนั้น นโยบายของวิกิทั้งหมด กำหนดให้ตั้งชื่อ user name ที่สามารถระบุได้ว่าเป็นบอต (เช่นมีคำว่า bot อยู่ในชื่อ และระบุข้อมูลเจ้าของ) ซึ่งจะต้องสมัครบัญชีใหม่ให้บอตโดยเฉพาะ (Intobesa.bot) และให้ระมัดระวังว่าคุณกำลังใช้บัญชีใดอยู่
:ก่อนใช้งาน ต้องสร้างไฟล์ <u>user-config.py</u> ขึ้นแล้วเก็บไว้ที่นั่น ซึ่งเป็นตัวตั้งค่าว่า จะใช้ pywikibot กับโครงการใด และใช้บัญชีอะไร ผมเขียนให้ไปเลย ดูรายละเอียดเต็มที่ [https://www.mediawiki.org/wiki/Manual:Pywikibot/user-config.py]
<pre>
# -*- coding: utf-8 -*-
mylang = 'mnw'
family = 'wiktionary'
usernames['wiktionary']['mnw'] = 'Intobesa.bot'
console_encoding = 'utf-8'
</pre>
:เปิด <u>Terminal</u> เพื่อสั่งงานผ่าน bash ก็ใช้งานได้เลย
:ขั้นตอนแรกต้องล็อกอิน (ทำครั้งแรกครั้งเดียวเท่านั้น)
<pre>pwb.py login</pre>
:ตัวอย่าง จะแสดงรายการหน้าที่อยู่ในหมวดหมู่ "အက္ခရ် သေံ"
<pre>pwb.py listpages -cat:"အက္ခရ် သေံ"</pre>
:ตัวอย่าง จะแทนที่คำ จาก "သေံ" เป็น "မန်" ในหน้าที่ใช้งานแม่แบบ "IPA Mon" อยู่ (อย่ากด all เดี๋ยวจะเหนื่อยย้อนกลับ)
<pre>pwb.py replace "သေံ" "မန်" -transcludes:"IPA Mon"</pre>
:ยังมีคำสั่งและตัวเลือกอีกมากมายที่มีประโยชน์ ดูคำสั่งทั้งหมดได้ที่ [https://www.mediawiki.org/wiki/Manual:Pywikibot/Scripts]
:อนึ่ง การแก้ไขด้วยบอต อาจทำให้เกิดความผิดพลาดจำนวนมหาศาลได้ในเวลาอันรวดเร็ว ดังนั้นควรใช้อย่างระมัดระวัง -- ถ้าคุณมีความรู้ระดับสูง คุณสามารถเขียนโปรแกรม python โดยใช้ไลบรารีของ pywikibot ให้ทำงานซับซ้อนมากกว่านี้ได้ และเมื่อคุณชำนาญแล้ว ก็สามารถขอ bot flag กับ metawiki ได้ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 17:54, 3 เมษายน 2567 (+07)
::เพิ่มเติม Ctrl X/C/V จะใช้ไม่ได้ใน Terminal ต้องกดปุ่ม Shift Delete = Cut; Ctrl Insert = Copy; Shift Insert = Paste --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 18:54, 3 เมษายน 2567 (+07)
----
:::ขอบคุณมากครับ ตอนนี้ฉันกำลังพยายามอยู่ <span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:40, 4 เมษายน 2567 (+07)
::::ฉันพยายามแค่ไหนก็ยังไม่ได้ ก็ฉันไม่ค่อยเข้าใจ คุณทำให้ฉันมองเห็นได้ไหม เรื่องนี้ฉันก็ไม่เช่นเคย พยายามอยู่สองสามชั่วโมงแล้ว ยังไงก็ไม่ได้เสียเวลาอีกมาก งานอื่นก็ยังไม่ได้ทำเลย คุณทำวีดีโอแล้วก็ให้ฉันมองเห็นได้ไหม ฉันต้องการ ๒ อย่าง ก็คือ ๑. ในวิกิพีเดียภาษามอญ คำ ( ္ရ) นี้ ฉันต้องการเปลี่ยน เป็น (္ၚ ) เพราะว่าวิธีการเขียนผิด ๒. ในวิกิพจนานุกรมภาษามอญ ตัวอย่างคำ ဒါတ္တ นี้ ต้องการอยากจะสร้างเพจ ทั้งหมดคุณเขียนให้ code ได้ไหม ถ้าเป็นไปได้ฉันอยากจะมาที่บ้านคุณ ฉันมีบัตรประชาชนเป็นคนไทยอยู่แล้ว ประเทศไทยที่ไหนก็ฉันไปได้ คุณช่วยให้ฉันได้ไหม ฉันอยากจะขออีกขอบคุณครับ <span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 17:43, 4 เมษายน 2567 (+07)
----
:::::ถ้าจะใช้กับวิกิพีเดีย เพิ่มอันนี้ลงใน user-config.py ด้วย
<pre>
usernames['wikipedia']['mnw'] = 'Intobesa.bot'
</pre>
:::::ข้อแรก สามารถสั่งแบบนี้
:::::<pre>pwb.py replace "္ရ" "္ၚ" -cat:"ชื่อหมวดหมู่" -family:wikipedia</pre>
:::::หรือไม่ก็
:::::<pre>pwb.py replace "္ရ" "္ၚ" -search:"คำที่ค้นหา" -family:wikipedia</pre>
:::::ออปชั่น cat search หรืออื่น ๆ มันจำเป็นมากที่ต้องกำหนดขอบเขตว่า ให้สคริปต์ทำงานในหน้าใดบ้าง
:::::ส่วนข้อสอง pywikibot ไม่สามารถทำงานแบบนี้ได้ ทำได้แต่เก็บกวาดเล็ก ๆ น้อย ๆ -- ถ้าจะสร้างรายการพจนานุกรมที่สวยงามและไม่ผิดพลาด ต้องเขียนสคริปต์ python ขึ้นมาเอง มันข้ามขั้นเกินไป อยากให้คุณศึกษาการเขียนโปรแกรม python ก่อน ขนาดผมก็ยังใช้เวลาเป็นปี กว่าจะเขียนได้ ลองผิดลองถูก เขียนไปพลางและอ่าน documentation ไปพลาง --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:51, 4 เมษายน 2567 (+07)
:::::ส่วนคำต่าง ๆ ที่ผมสร้างขึ้นในวิกิพจนานุกรมได้อย่างรวดเร็วนั้น ไม่ได้ใช้บอตข้างบน ผมลอกมาจาก en แล้วใช้สคริปต์ช่วยเก็บกวาด สร้างจาก JavaScript, jQuery ซึ่งเป็นความรู้ที่ผมใช้ทำงานในอาชีพ และ Lua ซึ่งเป็นภาษาที่ใช้เขียนมอดูล ก็ศึกษาเอาจากโค้ดที่คนอื่นเขียน ไม่มีใครสอน (เพราะเขาไม่นิยมเขียนกัน) --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:59, 4 เมษายน 2567 (+07)
::::::ผมเองก็งงอยู่เรื่องนี้นานแล้ว ตอนที่ผมใช้วิกิครั้งแรก มีความผิดพลาดมาก ไม่มีใครสอนให้ ไม่มีใครแนะนำให้ มีแต่คนที่รอล็อคบัญชีของเรา ฉันเองก็โกรธมาก สิ่งที่ฉันโกรธที่สุดก็คือหน้าเพจที่ฉันสร้างเอาไว้ ไม่ได้แจ้งให้ฉันทราบ ลบออกเฉื่อยเลย ตอนนี้ฉันใช้วิกิ ไม่ใช่มีความรู้ เฉพาะไปเปิดดูของผู้อื่น แล้วก็ Copy มา ขณะนี้ต้องศึกษาอยู่ประมาณ ๓ ปีกว่า ตอนใช้วิกิครั้งแรกแย่มาก ไม่ใช่ฉันอ่านหนังสือไม่ออก แค่ฉันไม่เช่นคือก็เทคโนโลยีเท่านั้น สายตาเองก็ไม่ค่อยดีบางครั้งคำสะกดผิดมั้ง ปัญหานี้แหละในวิกิพีเดียภาษาไทยก็ภาษาญี่ปุ่น Admin บางคน เข้าใจผิดหรือเปล่าผมก็ไม่ทราบ หน้าเพจฉันสร้างเอาไว้ พวกเขาไม่ให้พูดคุยเรื่องสาเหตุปัญหาลบเฉยเลย นั่นแหละทำให้ฉันโกรธที่สุด เพราะว่าสำหรับหน้าเพจนั้น ฉันต้องเขียนเอาไว้เหนื่อยแค่ไหน พวกเขาก็ไม่สนใจ สิ่งที่ฉันพยายามเอาไว้ทั้งหมดไม่ใช่การละเมิด ฉันแค่อยากจะช่วยเหลือเท่านั้น ตอนนี้วิกิพีเดียภาษาไทยแล้วก็วิกิพีเดียภาษาญี่ปุ่นฉันไม่ยุ่งแล้ว แล้วก็ไม่ได้ช่วยอะไรแล้ว เพราะว่าฉันรู้สึกเหมือนไม่มีความยุติธรรม ความจริงแล้วหน้าเพจผู้อื่นสร้างเอาไว้ถ้ามีปัญหาบางอย่างให้พูดคุยก่อนที่หลังค่อยลบออก เราต้องการอย่างนี้ ตอนนี้ใน วิกิพีเดีย ภาษาไทยก็ภาษาญี่ปุ่นไม่มีแบบนี้ การกระทำแบบนั้นเหมือนไม่มีความเคารพผู้อื่น ในวิกิฉันพยายามแค่ไหนเมื่อไหร่ดูผลงานของฉันได้ บางคนไม่เข้าใจการกระทำของฉัน เรื่องนั้นสำหรับฉันน้อยใจด้วยแล้วก็โกรธมาก สิ่งที่ฉันโกรธมากก็มีอย่างหนึ่งอีก อันนั้นคือ ตัวเองก็อ่านภาษามอญไม่ออก เกี่ยวข้องกับภาษามอญก็ไม่คล่องแคล่ว เกี่ยวข้องกับคำศัพท์ผู้อื่นเขียนเอาไว้ถูกหรือผิดแยกย้ายไม่เป็นจะมาเถียงฉันอีก แบบนี้ฉันนิดเดียวก็ไม่ชอบ เอาละฉันพูดแค่นี้แหละ สำหรับคำแนะนำขอบคุณมากๆนะ แต่ฉันยังไม่เข้าใจ ฉันพยายามแค่ไหนสมองของฉันไม่ยอมรับ ถ้ามีโรงเรียนการสอนวิกิอย่าลืมบอกฉันด้วย ฉันต้องการอยากจะไปเรียน ฉันทิ้งเบอร์โทรเอาไว้ ๐๘๓๑๖๔๔๖๕๙ อย่าลืมโทรหาฉันด้วย ฉันจะรอคอยขอบคุณครับ <span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 13:03, 5 เมษายน 2567 (+07)
== เตือนให้ลงคะแนนตอนนี้เพื่อเลือกสมาชิกของคณะกรรมการประสานงานหลักจรรยาบรรณสากลกลุ่มแรก ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Election/2024/Announcement – vote reminder|คุณสามารถค้นหาข้อความนี้แปลเป็นภาษาอื่นเพิ่มเติมได้ในเมตาวิกิ]] [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Coordinating Committee/Election/2024/Announcement – vote reminder}}&language=&action=page&filter= {{int:please-translate}}]''
ถึงชาววิกิมีเดีย
คุณได้รับข้อความนี้เนื่องจากคุณเคยเข้าร่วมในกระบวนการหลักจรรยาบรรณสากลมาก่อน
นี่เป็นการเตือนว่าระยะเวลาการลงคะแนนเสียงสำหรับคณะกรรมการประสานงานหลักปฏิบัติสากล (U4C) จะสิ้นสุดในวันที่ จะสิ้นสุดในวันที่ 9 พฤษภาคม พ.ศ. 2567 อ่านข้อมูลใน [[หลักปฏิบัติสากล/คณะกรรมการประสานงาน/การเลือกตั้ง/2024|หน้าการลงคะแนนเสียงในเมทาวิกิ]] เพื่อเรียนรู้เพิ่มเติมเกี่ยวกับการลงคะแนนเสียงและสิทธิ์ของผู้มีสิทธิเลือกตั้ง
คณะกรรมการประสานงานหลักปฏิบัติสากล(U4C) เป็นกลุ่มระดับโลกที่อุทิศตนเพื่อให้การดำเนินงานหลักจรรยาบรรณสากล เป็นไปอย่างเท่าเทียมกันและสม่ำเสมอ สมาชิกชุมชนได้รับเชิญให้ส่งใบสมัครสำหรับคณะกรรมการประสานงานหลักปฏิบัติสากล สำหรับข้อมูลเพิ่มเติมและความรับผิดชอบของคณะกรรมการประสานงานหลักปฏิบัติสากล โปรดไปที่ [[หลักจรรยาบรรณสากล/คณะกรรมการประสานงาน/กฎบัตร]]
กรุณาแบ่งปันข้อความนี้กับสมาชิกในชุมชนของคุณ เพื่อให้พวกเขาสามารถมีส่วนร่วมได้เช่นกัน
ในนามของทีมโครงการหลักจรรยาบรรณสากล<section end="announcement-content" />
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 05:54, 3 พฤษภาคม 2567 (+07)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Universal_Code_of_Conduct/Coordinating_Committee/Election/2024/Previous_voters_list_3&oldid=26721208 -->
==การสอบถามสิ่งที่ไม่เข้าใจเกี่ยวข้องก็ IPA ภาษามอญ==
สวัสดีคุณพี่ {{ping|Octahedron80}} ใน [[လကံ]] คุณใส่ IPA ว่า tᵊkɔm นั้น တ္ကံ၊ တကံ၊ တကီု แต่ความหมายไม่เหมือนนะ และ อีกด้วย လကံ၊ လ္ကံ นี้เราต้องระวังที่สุดก็คือมันออกได้สองเสียง ถ้าเราออกเสียงว่า lᵊkɔm มันออกไปความหมายอื่น ถ้าเราออกเสียงว่า lᵊkɔʔ มันออกไปความหมายอื่นเช่นกัน ผมเห็นการที่คุณใส่เอาไว้นั่นแหละผมก็งงอยู่ ผมเองก็สายตาไม่ค่อยดีถ้าผมไม่เปิดตาชัดๆผิดพลาดไปหมด เดี๋ยวผมแก้ไขให้--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 13:20, 23 ตุลาคม 2567 (+07)
ขออภัยที่แก้หลายครั้งเพราะไม่ได้ฟังเสียงก่อน อนึ่งผมรู้เฉพาะมอญในไทย တ္ကံ ตะเกาะ ที่แปลว่า island ซึ่งบางพวกบางทีก็น่าจะอ่านว่า เกาะ เหมือนกัน คล้ายภาษาไทย // เรื่องเสียงพยัญชนะไม่ตรงกับรูปเขียน เป็นปัญหาใหญ่สำหรับคนเรียนภาษามอญ ต้องระบุให้ชัดว่า เสียงของประเทศไหน และเสียงไหนแปลว่าอะไร -[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 13:37, 23 ตุลาคม 2567 (+07)
:: ลองเปิดดูในวิกิพจนานุกรมภาษามอญ การอัพเดทของฉันล่าสุด ถ้าต้องออกเสียง kɔʔ ကံ၊ ကအ် เกาะ ไม่ใช่แล้วล่ะ เพราะว่าเป็นการออกเสียงคล้ายคลึงเท่านั้น ความหมายนิดเดียวก็ไม่เหมือนนะครับ ในภาษามอญของเราการออกเสียงคล้ายคลึงแบบนี้มีเยอะมากครับ เรื่องนี้คนมอญทุกคนไม่ทราบหรอก เพราะว่าคนมอญในประเทศพม่า แล้ว ในประเทศไทยส่วนใหญ่ การพูดคุยภาษามอญไม่มีการอนุรักษ์ พวกเขาก็ใช้มั่วซั่ว ภาษามอญของเราก็มีการเปลี่ยนแปลงตามวรรณยุกต์ ถ้าเอาแบบมอญประเทศไทย ส่วนใหญ่ใช้ไม่ได้ เพราะว่าการเขียนพวกเขาส่วนใหญ่ เป็นการเขียนภาษามอญยุคสมัยกลาง ฉันเองก็ไปทั่วประเทศไทยตามหาเก็บข้อมูลเกี่ยวข้องกับภาษามอญแล้ว ถ้าต้องแสดงตัวอย่างเช่น ကတ် แล้ว ကိုတ် การออกเสียงเหมือนกันแต่ ความหมายนิดเดียวก็ไม่เหมือน ဍိုက်၊ ဍာ် ก็เช่นกัน การเขียนภาษามอญหรือ การศึกษา ภาษามอญ ต้องมีการระวังเยอะมาก ถ้ามีความรู้ภาษามอญเล็กน้อย แยกย้ายไม่ออกหรอกอันไหนจริงอันไหนไม่จริง ฉันเองก็ตอนเรียนภาษามอญอยู่คือมีความประสบผิดพลาดเยอะมาก ฉันจะได้เขียนภาษามอญขนาดนี้ ฉันก็ผ่านการศึกษามาเยอะมากแล้ว--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:58, 23 ตุลาคม 2567 (+07)
::: ฉันแก้ไขให้แล้วนะลองอ่านดู--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:27, 23 ตุลาคม 2567 (+07)
:::: ทั้งวิกิพจนานุกรมภาษาไทยฉันตรวจสอบและแก้ไขเป็นเรียบร้อยหมดแล้ว คุณทั้งวิกิพจนานุกรมภาษาอังกฤษช่วยแก้ไขให้หน่อย เพราะว่าฉันแก้ไขไม่ได้ฉันไม่มีสิทธิ์ ถ้าคุณต้องการแปลภาษาอังกฤษฉันจะให้--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 17:06, 23 ตุลาคม 2567 (+07)
==คำขอความช่วยเหลือบางอย่าง==
สวัสดีคุณพี่ {{ping|Octahedron80}} พี่ครับหน้านี้ [[:wikt:mnw:wai]] ลองเปิดดู มี Error อะไรก็ไม่ทราบ ถ้าเกี่ยวข้องกับภาษาไทยมีปัญหาอย่างนี้แหละ ผมก็พยายามแก้ไขแต่ยังไงก็ไม่ทราบมันหมายถึงอะไร พี่ช่วยหน่อยได้ป่ะ ฉันขอนะขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:10, 6 พฤศจิกายน 2567 (+07)
:ผมแก้ไขจุดที่มีปัญหาให้แล้วครับ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 14:19, 6 พฤศจิกายน 2567 (+07)
==คำขอเคลื่อนย้ายเอกสาร==
* [[teiku auto]] → [[teikuauto]]
คุณไม่สามารถย้ายหรือแก้ไขเอกสารด้วยเหตุผลดังต่อไปนี้: "ผู้ใช้ใหม่ห้ามลบป้ายแจ้งลบ" --[[ผู้ใช้:YeBoy371|YeBoy371]] ([[คุยกับผู้ใช้:YeBoy371|คุย]]) 15:30, 8 พฤศจิกายน 2567 (+07)
ผมก็ไม่ทราบว่า คุณจะเปลี่ยนไปเปลี่ยนมาทำไม ผมจะยึดตามภาษาอังกฤษปัจจุบันนะครับ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 17:03, 8 พฤศจิกายน 2567 (+07)
==ขอความช่วยเหลือ==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ช่วยแก้ไขให้หน้า [[:wikt:mnw:မဝ်ဂျူ:rsk-IPA]] นี้หน่อย ผมพยายามแค่ไหนก็ไม่สำเร็จ มี Error อะไรก็ผมไม่ทราบและไม่เข้าใจด้วย ลองดูหน้า [[:wikt:mnw:вецейгодзинови]] นี้ ถ้ามีเวลาว่างช่วยหน่อยนะ สมองผมเองเกี่ยวข้องก็เทคโนโลยีมันไม่ยอมรับ สมองผมจำได้แค่หนังสือเท่านั้น การแปลภาษาสำหรับผมมันไม่ยากแต่มันยากที่สุดก็ code CSS นั่นแหละ พยายามจะศึกษาอยู่ก็มันไม่เข้าใจ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:13, 9 พฤศจิกายน 2567 (+07)
:มอดูลของภาษาอังกฤษนั้น เปลี่ยนแปลงตลอดเวลา ถ้าไม่อัปเดต เราก็จะล้าหลัง และมอดูลใหม่ ๆ ที่เกิดทีหลัง จะใช้งานกับของเก่าที่มีอยู่ไม่ได้ครับ ต้องหมั่นอัปเดตครับ // ให้เวลาผมแก้ไขก่อน ต้องทำหลายหน้า --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 14:43, 9 พฤศจิกายน 2567 (+07)
:อัปเดตมอดูลต่าง ๆ ให้พอใช้งานได้แล้ว แต่ยังเหลืออีกหลายจุดที่ยังมีปัญหา เช่นแม่แบบยังไม่ได้อัปเดต ถ้าพบก็ค่อยตามไปแก้ วันนี้แก้วิกิภาษามอญตั้งแต่บ่าย จนเกือบเที่ยงคืน พอก่อน --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 23:36, 9 พฤศจิกายน 2567 (+07)
:: ครับผม ขอบคุณมากครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:34, 10 พฤศจิกายน 2567 (+07)
:::: พี่ครับ ผมพยายามหาตัว s นี้ไม่เจอ ถ้าต้องแปลภาษามอญมันเรียกว่า ဂမၠိုင် ตัวอย่างเช่น Noun ⏩ နာမ် Nouns ⏩ နာမ်ဂမၠိုင် พี่ลองดู [[:wikt:mnw:veren]] นี้ ผมชอบในคำศัพท์ภาษาไทยคือ ([[:หมวดหมู่:คำหลักภาษาไทย|คำหลักภาษาไทย]]) คำศัพท์นี้ถ้าไปใช้ในภาษามอญน่าจะเหมาะสม เพราะว่ามันสั้น ถ้าต้องแปลภาษามอญเรียกว่า คำ ⏩ ဝေါဟာ หลัก ⏩ အဓိက ภาษา ⏩ ဘာသာ ไทย ⏩ သေံ (คำหลักภาษาไทย ဝေါဟာအဓိကဘာသာသေံ) ถ้าเอาแบบสไตล์มอญตามวรรณกรรม (ဝေါဟာအဓိကသေံဂမၠိုင်) และอีกด้วย คำ (รูปผัน) นี้ ถ้าแปลภาษามอญมันกลายเหมือนตลก เพราะว่า รูป ⏩ ရုပ် ผัน ⏩ ကၠောံ (รูปผัน ရုပ်ကၠောံ) ถ้าต้องแปลให้เหมาะสมที่สุดเรียกว่า (ဗီုပြင်အပြံင်အလှာဲ) ผมอยากได้แบบนั้นครับ พี่ช่วยเพิ่มให้หน่อย ผมต้องเพิ่มยังไงยังไม่ทราบเลย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:26, 10 พฤศจิกายน 2567 (+07)
::::: เอาเรื่องแรกก่อน ผมสร้าง [[:mnw:မဝ်ဂျူ:mnw-utilities]] ขึ้นมาโดยเฉพาะ แล้วแก้ไข categories ใน headword นิดหน่อย // เราจะไม่แก้ en-utilities เพราะมันใช้งานร่วมกับคำในภาษาอังกฤษ // ในอนาคตสามารถเพิ่มอย่างอื่นได้อีกลงใน mnw-utilities --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 16:02, 10 พฤศจิกายน 2567 (+07)
::::: เรื่องชื่อหมวดหมู่ก็ควรจะใช้แบบวรรณกรรมดีที่สุดครับ ผมลองทำแล้วไม่รู้ถูกหรือเปล่า [[:mnw:เด็กชาย]] // หมวดหมู่ไหนไม่ใช้งาน ช่วยลบด้วย ตาลายไปหมด (ถ้าลบไม่ได้ก็เปลี่ยนชื่อแทน) --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 16:22, 10 พฤศจิกายน 2567 (+07)
::::: มีอีกเรื่องที่ต้องระวังคือ อย่าตั้งชื่อแต่ละภาษา เป็นภาษามอญที่<u>สะกดซ้ำกัน</u> เพราะระบบอาจจะเลือกรหัสมาผิด และการจัดหมวดหมู่ก็จะผิด ดูภาพรวมได้ใน [[:mnw:ညးလွပ်:Octahedron80/update languages]] --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 16:34, 10 พฤศจิกายน 2567 (+07)
:::::: ขอบคุณมากๆ ครับสำหรับให้เวลาช่วยเหลือวิกิพจนานุกรมภาษามอญ เกี่ยวข้องกับวิกิ สิ่งที่ผมไม่เข้าใจมีเยอะมาก เคยมีสาเหตุปัญหานั่นแหละ ผมก็อยากจะศึกษาเกี่ยวข้องกับวิกิ แต่ไม่มีใครแนะนำ ไม่มีใครสอนให้ มีวิธีไหนก็ตามถ้าผมมองไม่เห็นกับตาตามทำไม่ถูกหรอก ตอนนี้ผมใช้วิกิอยู่ ไม่ใช่มีความรู้ ไปตามทำแบบผู้อื่นใช้งานเอาไว้ ผมก็พยายามให้มันดีที่สุดแต่บังเอิญมันก็ผิดพลาดโดยไม่ได้ตั้งใจ ตอนนี้ผมก็อยากจะสอบถามพี่มีอีกแต่ผมก็เกรงใจแล้ว ไม่อยากดึงเวลาพี่อีก ผมอยากรู้ว่าใน [[:mnw:မဝ်ဂျူ:module_categorization#L-312|#L-312]] ต้องใส่ ဂမၠိုၚ် อย่างไร ผมพยายามซ้ำแล้วซ้ำอีกก็มันไม่สำเร็จ ลองดูตัวอย่างอัน [[:en:Category:Thai modules]] และ [[:mnw:ကဏ္ဍ:မဝ်ဂျူသေံဂမၠိုၚ်]] นี้ พี่ก็ช่วยให้เราเยอะมากแล้วเราก็เกรงใจ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:33, 11 พฤศจิกายน 2567 (+07)
:::พี่ครับ ถ้ามีเวลาว่างช่วยแก้ไขให้ [[:mnw:မဝ်ဂျူ:ca-verb]] นี้หน่อย ผมพยายามแค่ไหนกับมันไม่สำเร็จ ลองดูในหน้า [[:mnw:veren]] นี้ ขอบคุณมากๆ ครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 21:15, 11 พฤศจิกายน 2567 (+07)
::: สวัสดีตอนเช้าครับคุณพี่ ถ้ามีเวลาว่างช่วยแก้ไขให้อัน [[:mnw:မဝ်ဂျူ:ru-noun]] นี้หน่อยนะ มีปัญหา Error ในหน้า [[:mnw:интервьюер]] อยู่ครับ ขอบคุณพี่นะสำหรับช่วยให้เรา--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 06:43, 12 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับ ลองดูหน้า [[:mnw:बृहस्पति|बृहस्पति]] นี้หน่อยครับ มี Error อะไรก็ผมไม่ทราบครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 17:00, 13 พฤศจิกายน 2567 (+07)
::: สวัสดีครับคุณพี่ {{ping|Octahedron80}} หมายเลขอังกฤษเปลี่ยนให้เป็นหมายเลขมอญได้ไหม ความที่ผมต้องการก็คือภาษามอญต้องเป็นเฉพาะภาษามอญไม่อยากไปผสมกับอักษรอื่น ถ้าอย่างนั้นไม่ใช่ในอนาคตก็มีความเข้าใจผิดได้ ผมเองก็ตอนมีชีวิตอยู่ อยากปกป้องภาษามอญเอาไว้เต็มที่เท่าที่มีชีวิตอยู่ คุณพี่ลองดู ဝေါဟာသပုင်ဝဏ္ဏ 3 မ-ဂမၠိုင် นี้ในหน้า [[:mnw:alemán|alemán]] ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:21, 18 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับ [[:mnw:မဝ်ဂျူ:de-headword]] นี้จำเป็นต้องอัพเดทไหม ผมลองอัพเดทแล้วแต่มันไม่ทำงาน ดังนั้นผมก็ต้องยอมกลับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 11:06, 19 พฤศจิกายน 2567 (+07)
:::: de-headword มันใช้ได้อยู่แล้วครับ แต่ที่เห็นบางหน้า error ต้องแก้ในหน้าคำศัพท์ เพราะมันเป็นเรียกใช้งานแบบเก่า ก็ให้ไปลอกมาใหม่ เช่น [[:mnw:Mensch]], [[:mnw:Traummann]] ผมลองแก้ไปแล้ว ให้คุณดู // อย่างไรก็ตาม ควรอัปเดตทุกอย่าง เพราะมิฉะนั้นจะตามเขาไม่ทัน --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 11:16, 19 พฤศจิกายน 2567 (+07)
::: ครับผม ขอบคุณมากครับ สำหรับจะต้องแก้ไขมีเยอะมาก ผมเองก็ไม่ค่อยจะว่าง เท่าที่มีเวลาก็ค่อยๆ แก้ไขไป แต่ผมมีข้ออย่าสอบถามพี่อีก {lb|th|slang}} นี้มันไม่ทำงาน จะต้องทำยังไงต่อบ้างครับ พี่ลองดูในหน้า [[:mnw:องค์]] นี้ เมื่อก่อนก็ใช้ได้อยู่--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 11:54, 19 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไขให้ [[:mnw:မဝ်ဂျူ:labels]] นี้หน่อย สาเหตุหมวดหมู่ไม่ตรง เพื่อตัวอย่างลองดู [[:en:Category:Thai slang|Thai slang]] นี้ อยากได้เป็นแบบ ဝေါဟာ(slang)(Thai)ဂမၠိုင် ➡ ဝေါဟာအရေဝ်ဗေဗာန်သေံဂမၠိုင် นี้ครับ ผมพยายามแค่ไหนก็ไม่สำเร็จ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:30, 19 พฤศจิกายน 2567 (+07)
:::: สาเหตุก็คือ မဝ်ဂျူ:labels/data มันเก่าไปแล้ว ผมก็อัปเดตทั้งหมดให้แล้ว // จุดที่ผมแก้อีกคือ [[mnw:မဝ်ဂျူ:labels]] ผมสลับ pos กับชื่อภาษา แล้วเติม ဂမၠိုင် ซึ่ง မဝ်ဂျူ:labels จะไม่เติม ဝေါဟာ เพราะคาดว่า น่าจะมีหมวดหมู่อื่นที่ไม่ต้องเติม ဝေါဟာ โดยผมแก้ชื่อหมวดหมู่ใน pos_categories ใน [[mnw:မဝ်ဂျူ:labels/data]] แทน // ถ้าอยากได้หมวดหมู่เขียนอย่างอื่น ไปแก้เอาใน မဝ်ဂျူ:labels/data ใน pos_categories <u>โดยไม่ต้องเติม ဂမၠိုင် เพราะเติมให้อัตโนมัติ</u> ที่ต้องทำแบบนี้ เพื่อให้ชื่อภาษา แทรกลงไปอยู่ตรงกลางได้ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:30, 20 พฤศจิกายน 2567 (+07)
:: ครับผมขอบคุณมากครับ เกี่ยวข้องกับวิกิ ผมต้องเรียนรู้มีเยอะมาก ผมเองก็ไม่ค่อยมีเวลาจะว่างแล้ว และไม่มีใครให้กำลังใจด้วย ผมเองก็ต้องค่อยๆไป--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 16:49, 21 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับลองตรวจสอบหน้า [[mnw:निम्न]] นี้หน่อย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 16:44, 21 พฤศจิกายน 2567 (+07)
:: สวัสดีครับ คุณพี่ครับ ช่วยตรวจสอบให้หน้า [[mnw:ဗီုပြင်သိုင်တၟိ:အိန်ဒဝ်-အဳရာန်-အခိုက်ကၞာ/warāȷ́ʰás]] นี้หน่อย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 10:31, 22 พฤศจิกายน 2567 (+07)
::: ก็ตามนั้นเลยครับ รหัส qfa-sub-bma ไม่มี เขาเปลี่ยนเป็น qsb-bma --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 10:44, 22 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับ class 5 นี้ต้องแปลอย่างไร [[:en:Category:Chamalal class 5 nouns|Chamalal class 5 nouns]] นี้ผมต้องการว่า '''နာမ်ချာမာလာန်၅ တန်ဂမၠိုင်''' ลองดูในหน้า [[mnw:аᵸз]] คุณพี่เท่าเวลาว่าง ช่วยเพิ่มให้หน่อยนะ ผมหมดเวลาต้องหยุดงานแล้วล่ะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:07, 22 พฤศจิกายน 2567 (+07)
::: ผมแก้ไขได้แล้วนะคุณพี่ครับ ขออภัยสำหรับที่ต้องรบกวนสาเหตุความที่ไม่รู้ ตอนนี้ลองดูมั่วๆ สำเร็จแล้วล่ะ ขอบคุณจริงๆนะสำหรับช่วยเหลือเรา ถ้าไม่รู้ไม่ทราบมีเพิ่มเติมอีกแล้วก็ขออนุญาตสอบถามเพิ่มเติมด้วยนะ เราต้องการความช่วยเหลือจากคุณพี่มาก เพราะว่าคุณพี่มีความประสบเกี่ยวข้องกับวิกิแต่เรายังไม่มีความเข้าใจ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 19:16, 22 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับถ้ามีเวลาว่างช่วยจัดการให้สำหรับหน้า [[mnw:ဗီုပြင်သိုင်တၟိ:အဝါရဝ်-အာန်ဒဳယာန်-အခိုက်ကၞာ/ɬ:ɨn]] นี้หน่อย เรื่องนี้ผมเคยไปบอกแล้ว แต่ผมคิดว่าน่าจะเพราะเขาไม่เชื่อ อันที่จริง จะภาษาอังกฤษต้องแปลภาษามอญแล้วก็เขียนสั้นๆยังไงก็ไม่ได้หรอก ถ้าเขียนไปแล้วก็ไม่มีความหมายแล้วไม่มีใครอ่านออกด้วย สำหรับคนอื่นจะได้อ่านออกต้องเขียนยาวๆ ตัวอย่างเช่นลองดูวีดีโอคำแปล[https://web.facebook.com/share/r/FjSqpiatGpz1D4Q4/ ภาษามอญนี้] ถ้ามีคำศัพท์ลึกซึ้งมาก ต้องเขียนยาวกว่านี้อีก อย่างนั้นไม่ใช่แล้วก็คนที่อ่านไม่เข้าใจอธิบายหรอก เรื่องนี้ผมต้องอธิบายอย่างไรก็ไม่ทราบเพื่อเขาเข้าใจ ผมเองก็คุยกับผู้อื่นไม่ค่อยเก่งหรอก เก่งเฉพาะท่องหนังสือ ถ้าพี่ช่วยได้ช่วยให้หน่อยนะ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:36, 23 พฤศจิกายน 2567 (+07)
::: อันนี้ไม่สามารถแก้ได้ครับ ชื่อหน้ายาวเกินไปที่จะตั้ง มันเป็นข้อจำกัด (limit) ของซอฟต์แวร์ Mediawiki แล้ว "ชื่อเรื่องหน้าที่ขอยาวเกินไป ไม่สามารถยาวกว่า 255 ไบต์ในการเข้ารหัส UTF-8" ภาษาไทยของเราก็มีข้อจำกัดเหมือนกัน ภาษาอังกฤษของเขาใส่ a-z ได้เต็มที่เลย 255 ตัว เพราะเขาตัวละ 1 ไบต์ แต่พอเป็นภาษาไทยหรือมอญแล้ว ตัวอักษรหนึ่งตัวตามรหัส UTF-8 จะกินไป 3 ไบต์ ดังนั้นภาษาไทยหรือมอญล้วน ๆ จะตั้งชื่อยาวสุดได้แค่ประมาณ 255 ÷ 3 = 85 ตัว ไม่สามารถเพิ่มได้มากกว่านี้ เปรียบเหมือนคุณมีกล่องใส่ของได้ 255 ชิ้น คุณใส่ของเกินไปมากกว่า 255 ชิ้น มันก็จะล้น ใส่ได้ไม่หมดครับ // วิกิภาษาไทยยังไม่พบหมวดหมู่ที่ยาวเกิน มีแต่ชื่อคำในพจนานุกรมที่ยาวเกิน (เช่นชื่อเต็มกรุงเทพฯ ก็แก้โดยตั้งเป็นชื่ออย่างอื่น) แต่อีกไม่นานก็คงจะเจอปัญหาแบบคุณเหมือนกัน เราอาจจะต้องยอมตั้งชื่อด้วยตัวอักษรย่อ หรือเป็นอังกฤษบ้าง --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 15:57, 23 พฤศจิกายน 2567 (+07)
::: ข้อความ ဝေါဟာအဝါရဝ်-အာန်ဒဳယာန်-အခိုက်ကၞာဂွံလဝ်အာဲကၟာဲနူဝေါဟာခါခေန်ယှေန် သၟဝ်ကျာလ္ပာ်ဗၟံက်-အခိုက်ကၞာဂမၠိုင် นับได้ 286 ไบต์ // ข้อความ ဝေါဟာအဝါရဝ်-အာန်ဒဳယာန်-အခိုက်ကၞာကၠုင်နူဝေါဟာခါခေန်ယှေန် သၟဝ်ကျာလ္ပာ်ဗၟံက်-အခိုက်ကၞာဂမၠိုင် นับได้ 262 ไบต์ // [https://www.atatus.com/tools/byte-counter โดยใช้เครื่องมือนี้นับ] ก็เห็นได้ชัดว่า ทั้งสองชื่อ เกิน 255 ไบต์ ใช้ตั้งชื่อหน้าไม่ได้ (ผมไม่แน่ใจว่า namespace นับด้วยหรือเปล่า) --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 16:11, 23 พฤศจิกายน 2567 (+07)
::: [[mw:Page title size limitations]] อธิบายเรื่องนี้ไว้ และการขยายเพิ่มให้มากกว่า 255 ไบต์ ก็ไม่ง่าย เพราะต้องลงไปแก้ถึงระดับ source code และปรับแก้ database อีกหลายขั้นตอน แน่นอนว่า เขาไม่ทำให้เฉพาะเราแน่นอน วิกิที่อื่นเขาก็ไม่ทำ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 16:39, 23 พฤศจิกายน 2567 (+07)
:: ต้นสาเหตุก็มาจากภาษาอังกฤษนั่นแหละ คนพี่ลองดู [[en:Category:Proto-Northeast Caucasian language|Proto-Northeast Caucasian language]] นี้ ชื่อเขาตั้งเดิมก็ยาวอยู่แล้ว ถ้าจะแปลภาษามอญยังไงก็ต้องยาวอยู่แล้ว เรื่องนี้ต้องทำยังไงดีผมคิดไม่ออกแล้วล่ะ อันที่จริงผมไม่รู้อะไรหรอก ผมเอามาตามภาษาอังกฤษนั้น คุณพี่ก็มีความประสบเกี่ยวกับวิกิยู่ ถ้าคุณพี่ลองไปขอพวกเขาจะให้หรือเปล่า คุณพี่ลองไปขอให้หน่อยได้ไหม ผมก็คิดไม่ออกแล้วล่ะ ความที่ผมต้องการแค่อยากจะปรับปรุงภาษามอญเจริญมากขึ้นคนมอญจะอยู่เมืองนอกก็สำหรับพวกเขาจะได้มีประโยชน์บางอย่างความที่ผมต้องการแค่นั้น การกระทำผมทั้งหมดอ่านภาษาอังกฤษแล้วก็แปลเอาไว้ไม่มีเพิ่มเติมความคิดตัวเอง เมื่อก่อนผมเคยไปขอเอาไว้ในหน้า [https://phabricator.wikimedia.org/T327270 Request to build a letter length category for Mon Wiktionary] นี้ ผมคิดว่าน่าจะพวกเขาไม่ค่อยวางใจผม ผมก็ทำงานมานานแล้ว ไม่เคยมีสิทธิ์ใดๆ คนที่ให้กำลังใจก็ไม่มี บางครั้งผมก็น้อยใจมาก ผมก็ต้องออกหาเงินเพื่อจะได้ใช้ต่อวิกิ บางคนก็น่าจะไม่เข้าใจการกระทำผมหรือเปล่า ถ้าคิดไปเรื่องนี้ผมก็น้อยใจมาก การกระทำผมทั้งหมดแค่อยากจะปรับปรุงเท่านั้น--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 17:33, 23 พฤศจิกายน 2567 (+07)
::: เขารวมปัญหาข้อเดียวกันนี้ไปที่ [https://phabricator.wikimedia.org/T325665 Increase title length] ซึ่งสร้างมาตั้งแต่ปี 2022 ดูแล้วยังมีอีกหลายภาษาที่อยากได้เหมือนกัน แต่คงยังไม่ทำในเร็ว ๆ นี้ ถ้าปัญหาใหญ่พอ เขาก็คงทำให้ เพราะมันไม่ใช่การแก้ตัวเลขตัวเดียว การเปลี่ยนแปลง database จะกระทบข้อมูลที่มีอยู่เป็นล้าน ๆ หน้า ตอนนี้เราก็ทำอย่างอื่นไปก่อน ในเมื่อมันยังไม่ support เราก็ยังไม่ต้องใส่ใจ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:20, 23 พฤศจิกายน 2567 (+07)
::: ครับผมขอบคุณมากครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 22:35, 23 พฤศจิกายน 2567 (+07)
:: สวัสดีครับคุณพี่ถ้ามีเวลาว่างกรุณาลองตรวจสอบให้หน้า [[mnw:中有]] นี้หน่อย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 06:51, 26 พฤศจิกายน 2567 (+07)
:: เออคุณพี่ครับ ผมแก้ไขสำเร็จแล้วครับ ขออภัยที่ต้องรบกวน--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 07:11, 26 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับช่วยอัพเดทให้อัน [[mnw:မဝ်ဂျူ:Hani-sortkey/data/serialized]] นี้หน่อย ผมอัพเดทไม่ได้ เพราะว่าไฟล์มันเยอะมาก คอมพิวเตอร์ผมไม่ไหว--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:45, 26 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับ หมวดหมู่ terms with non-redundant non-automated sortkeys นี้ ต้องถอดออกอย่างไรบ้าง คุณพี่ถอดออกให้หน่อยได้ไหม ผมคิดว่ามันรบกวนใส่ตาผู้อ่าน ผมเอาหมวดหมู่ที่จำเป็นเท่านั้นที่ไม่จำเป็นหรือไม่สำคัญผมอยากถอดออกทั้งหมด เพราะว่าผมไม่อยากรบกวนสายตาผู้อ่าน คนมอญส่วนใหญ่ก็พวกเขาไม่ค่อยรู้เรื่องการเทคโนโลยีรวมผมด้วยดังนั้นผมก็ไม่อยากรบกวนสายตาพวกเขาด้วย คนพี่ลองดูในหน้า [[mnw:中有]] นี้--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 16:34, 26 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับถ้ามีเวลาว่างลองตรวจสอบให้หน้า [[mnw:注音符號]] นี้หน่อย มี Error อะไรผมตอบไม่ถูกครับ ผมลองพยายามแก้ไขแล้วแต่ไม่เห็นต้นสาเหตุ ผมก็ไม่เข้าใจด้วย--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 22:46, 26 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับถ้ามีเวลาว่างกรุณาตรวจสอบให้หน้า [[mnw:ဗညာ]] นี้หน่อย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 22:56, 28 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับถ้ามีเวลาว่างกรุณาลองตรวจสอบให้หน้า [[mnw:chú]] นี้หน่อย มีปัญหา Error เกี่ยวข้องกับภาษา mkh-vie-pro omx อยู่ครับ ผมก็ต้องไปแก้ไขที่ไหนไม่ทราบครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 09:34, 29 พฤศจิกายน 2567 (+07)
::: คุณพี่ครับถ้ามีเวลาว่างลองตรวจสอบให้หน้า [[mnw:လီး]] นี้หน่อยนะ ยังมี Error อยู่ครับ ผมก็ไม่ทราบต้นสาเหตุแก้ไขไม่ถูก ขอบคุณมากๆนะ คุณพี่ --<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 13:26, 29 พฤศจิกายน 2567 (+07)
:: สวัสดีครับคุณพี่ ถ้ามีเวลาว่างช่วยตรวจสอบให้หน้า [[mnw:する]] นี้หน่อยครับ มี Error อยู่ครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 14:24, 30 พฤศจิกายน 2567 (+07)
::: เออคุณพี่ครับ ผมแก้ไขสำเร็จแล้วนะครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:32, 30 พฤศจิกายน 2567 (+07)
:: คุณพี่ครับ [[mnw:မဝ်ဂျူ:ja-see]] นี้จะได้ใช้งานได้ช่วยอัพเดทให้หน่อย ผมพยายามอัพเดทอย่างไรก็ไม่ได้ ลองดู [[mnw:為る]] นี้ครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 16:26, 30 พฤศจิกายน 2567 (+07)
:::: คุณพี่ {{ping|Octahedron80}} ครับ third แล้วก็ oxytone นั้น ต้องไปแปลที่ไหน หรือว่าเป็นออโต้เปล่า ผมพยายามแค่ไหนก็ค้นหาไม่เจอ ผมเองก็หมดวิธีต่างๆ ที่ผมเข้าใจ คุณพี่ถ้ามีเวลาว่างช่วยหน่อยนะ นอกจากคุณพี่ไม่มีใครช่วยผม มีแต่คุณพี่คนเดียว แนวทางผมไม่เข้าใจทางเทคโนโลยี CSS code คุณพี่ลองดูในหน้า [[mnw:νύξ]] นี้ third ต้องแปลแล้วก็เรียกว่า တတိယ และ oxytone นั้นเรียกว่า အံက်ဇြဳတေုန် ช่วยหน่อยนะ ตอนนี้ผมยอมแพ้แล้วล่ะ เพราะว่าเสียเวลาหาไม่เจอแสบตาด้วย นั่นแหละต้นสาเหตุบังเอิญผมไม่เข้าใจ ผมก็พยายามจะได้เข้าใจ แต่ไม่มีใครแสดงให้ผมเห็น ถ้าไม่มีใครแสดงให้ผมเห็นยังไงก็ผมไม่เข้าใจหรอก ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 12:06, 1 ธันวาคม 2567 (+07)
::::: เรื่อง third ขอแนะนำว่าควรเปลี่ยนไปใช้ตัวเลขดีกว่า เพราะผมไม่รู้การเขียนเลขเป็นคำมอญ ซึ่งมันก็มีทั้งมอญแบบเดิมจริง ๆ กับมอญที่ยืมบาลีมา และมีทั้งจำนวนนับเหมือนเบอร์โทร นับจำนวนมากน้อย และนับอันดับที่ มันก็จะยุ่งเหยิงไปกันใหญ่ ถ้าใช้ตัวเลขก็จะมีข้อดีคือ ใช่แค่ตัวอักษรเดียว (ก็คือตัวเลข) และอีกทั้ง first second third etc. มันเป็นคำที่ใช้กับมอดูลภาษาอังกฤษ เราคงไปแก้มันไม่ได้ ส่วนเรื่อง oxytone ผมไม่ทราบว่ามันแปลว่าอะไร --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 22:04, 1 ธันวาคม 2567 (+07)
:: ตอนนี้ผมแก้ไข oxytone ได้แล้ว ที่ผมแก้ไขไม่ได้ก็ third นั่นแหละ คุณพี่ลองดู [[:zh:模組:Grc-headword]] นั้นได้นะ เขาทำอย่างไรเอาไว้ผมก็ยังไม่ทราบ ผมไป Copy เอาของเขาลองใช้ดูก็ไม่ได้ เรื่องนี้น่าจะคุณพี่เข้าใจ คำแปลมีดังนี้( ["first"] = "ပထမ", / ["second"] = "ဒုတိယ",/ ["Attic"] = "အာက်ဒေတ်",/ ["third"] = "တတိယ",/ ["irregular"] = "ဟွံတဝ်ဟွံညဳသာ",)ครับ ผมควรทำอย่างไรก็ยังไม่ทราบครับ จะงงแล้วล่ะ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 00:26, 7 ธันวาคม 2567 (+07)
:::::: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างลองตรวจสอบ [[mnw:ولایتی]] นี้หน่อยครับเพราะว่ามี Error อยู่ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 00:31, 7 ธันวาคม 2567 (+07)
:: สวัสดีครับ คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างลองตรวจสอบ [[mnw:franc]] นี้หน่อยครับเพราะว่ามี Error อยู่ในภาษาฝรั่งเศส ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 11:27, 11 ธันวาคม 2567 (+07)
:: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยกรุณาแก้ไขให้อัน [[mnw:မဝ်ဂျူ:fr-headword]] นี้หน่อย ผมพยายามแค่ไหนก็ไม่ได้มี Error อยู่ ลองดูหน้า [[mnw:militaire]] นี้ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 19:25, 17 ธันวาคม 2567 (+07)
:::: คุณพี่ครับถ้ามีเวลาว่างช่วยลบออกให้ s นี้หน่อย ผมไม่ทราบต้องไปลบอันไหน กำลังพยายามแค่ไหนก็ไม่ได้ ลองดูหน้า [[mnw:militar]] นี้ครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 01:15, 18 ธันวาคม 2567 (+07)
คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไขให้ [[mnw:မဝ်ဂျူ:accel]] นี่หน่อย มี Error อยู่ครับ ลองดูหน้า [[mnw:militi]] นี้ครับ ผมก็ไม่ทราบมันสาเหตุอะไร ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 19:58, 18 ธันวาคม 2567 (+07)
:: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยแก้ไขให้อัน [[mnw:မဝ်ဂျူ:ar-verb]] นี้หน่อย มี Error อยู่ครับลองดูหน้า [[mnw:يشمس]] นี้ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:49, 20 ธันวาคม 2567 (+07)
::: เนื่องจาก [[Module:table]] มีการเปลี่ยนชื่อฟังก์ชัน shallowcopy→shallowCopy กับ deepcopy→deepCopy (ซึ่งก็ไม่รู้จะเปลี่ยนทำไม) จะทำให้กระทบอีกหลายมอดูลเป็นวงกว้าง ต้องแก้อีกหลายจุด ไทยเราก็มีปัญหานี้เหมือนกัน --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:12, 21 ธันวาคม 2567 (+07)
::: ขอบคุณมากๆ ครับ ผมก็ไม่ค่อยเข้าใจเกี่ยวข้องกับรหัส CSS ดังนั้นช่วยตัวเองไม่ได้ต้องไปขอความช่วยเหลือผู้อื่น ผมก็กำลังพยายามจะได้เข้าใจ แต่ไม่มีใครแสดงให้ผมเห็น ถ้าผมไม่เห็นกับตา ยังไงก็ผมไม่เข้าใจหรอก--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 09:20, 21 ธันวาคม 2567 (+07)
:: คุณพี่ครับ Error หน้า [[mnw:ထာမ်ပလိက်:arc-noun]] นี้ หมายความว่าอะไรผมไม่ทราบครับ ถ้าคุณพี่มีเวลาว่างอีกก็ช่วยดูให้หน่อยนะ ผมก็ทำอะไรไม่เป็น ดังนั้นยังไงก็ผมขออนุญาตรบกวนด้วยนะ ในวิกิมีเดียผมก็ไปขอความช่วยเหลือผู้อื่นไม่ได้ มีแต่คุณพี่คนเดียวนั่นแหละ ขอบคุณอีกครั้งนะสำหรับช่วยให้เรา--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 09:20, 21 ธันวาคม 2567 (+07)
::: หน้า [[mnw:يشمس]] ก็ยังมีอยู่นะ มันใช้งานยังไม่ได้ครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 09:26, 21 ธันวาคม 2567 (+07)
:::: นี่ยังแก้ไม่ได้ หาสาเหตุไม่เจอ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:26, 23 ธันวาคม 2567 (+07)
:: คุณพี่ครับใน [[mnw:မဝ်ဂျူ:pt-headword]] ช่วยลบออกให้ s หน่อย ผมก็ไม่ทราบอันไหนเป็น s ลองดูในหน้า [[mnw:ínsula]] ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 23:28, 22 ธันวาคม 2567 (+07)
:: คุณพี่ครับ languages นี้ต้องไปแปลที่ไหนบ้างครับแล้วก็ต้องสลับยังไงเอาตาม languages ဘာသာ (Thai language = ဘာသာသေံ) นี้นะ ถ้าเป็นไปได้คุณพี่ใส่ให้ด้วยนะ เพื่อตัวอย่างลองดูในหน้า [[mnw:آڑو]] ครับ ขอบคุณครับ
[[ไฟล์:Taikadai-en1.png|thumb|กลุ่มภาษาไท]]
::: “language” แปลว่า ภาษา ส่วน “languages” แปลว่า กลุ่มภาษา หรือ “group of languages” มีค่าเท่ากับ “family” ไม่ได้แปลว่า มีภาษาหลายอันซ้ำกัน // เช่น Tai languages คือกลุ่มภาษาไท (ไม่ใช่ภาษาของ သေံ สยาม คุณต้องอ่านมันว่า ไท หรือ ไต) ซึ่งมีทั้งในไทย=สยาม และนอกสยาม (อินเดีย พม่า ลาว เวียดนาม จีน) และ Tai languages (กลุ่มภาษาไท) ก็ไม่เท่ากับ Thai language (ภาษาไทย=สยาม) ด้วย เพราะ Thai language เป็นภาษาหนึ่งที่อยู่ภายใต้ Tai languages เท่านั้น // หากใช้ ဘာသာဂမၠိုင် อาจจะเข้าใจเป็นอย่างอื่นไหม หรือควรจะเปลี่ยนเป็น family คุณลองพิจารณาว่า ใช้คำไหนอ่านแล้วไม่เข้าใจผิดเป็นอย่างอื่น --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 20:29, 24 ธันวาคม 2567 (+07)
:: คืออย่างนี้ครับคุณพี่ ผมอธิบายไปแบบง่ายๆและกันน็อค ถ้าเอาตามเสียง Thai =ထာၚ် / Tai= တိုၚ် มันกลายเป็นคำตลกในภาษามอญของเรา ดังนั้นเราก็ไม่ใช้คำนั้น ถ้าใช้ไปตามออกเสียง Thai =ထာၚ် / Tai= တိုၚ် นั้นแล้วก็สำหรับผู้อ่านมีความคิดหลายอย่างได้ เราก็ใช้เฉพาะเป็น သေံ ตามประวัติศาสตร์ ถ้าใช้เป็น သေံ มีคนเข้าใจมาก คำอังกฤษ “group of languages” นี้ ถ้าต้องแปลภาษามอญมันเรียกว่า (group=ဂကောံ/of=ဆေၚ်စပ်ကဵု/ languages=ဂမၠိုၚ် “ဂကောံဆေၚ်စပ်ကဵုဘာသာ“) คำมอญ ဂမၠိုၚ် นี้ เราไม่ได้ใช้เหมือนภาษาอังกฤษ เราใช้เฉพาะคำสุดท้าย เมื่อใช้คำมอญ ဂမၠိုၚ် นี้ ต้องระวังมากขึ้นและต้องสังเกตมากขึ้นด้วย เมื่อแปลภาษาอังกฤษบางคำต้องตัดออก ใช้ไปทั้งหมดไม่ได้ บางครั้งต้องเพิ่มเติมก็มีอีก คำนี้ “family” เรียกว่า '''ဝေါၚ်သ''' แต่เมื่อใช้คำนี้ต้องระวังด้วย สำหรับจะได้แปลภาษาถูก ต้องอ่านต้นกำเนิดด้วย ในภาษามอญของเราคำออกเสียงเหมือนกันแต่ความหมายไม่เหมือนมีเยอะแยะ ดังนั้นเมื่อเราเขียนภาษามอญต้องระวังด้วย เพื่อตัวอย่างลองดูค้ำ ကိုတ် ကတ် ๒ นี้ แต่ความจริงก็เรียกว่าเสียงเบากับเสียงหนัก ในภาษาพม่าก็มีด้วย ตัวอย่างเช่น ပြတ် ပျက် คำออกเสียงเหมือนกันเป็นแบบนี้มีแต่ในภาษามอญมากกว่า ถ้าต้องแปลตามแบบ “family Tai languages” นี้ เรียกว่า '''ဝေါၚ်သဘာသာသေံ''' ไหนๆ ก็ต้องตัดออก '''s''' ตัวอย่างเช่น (Languages by family= အရေဝ်ဘာသာနူကဵုဝေါၚ်သ) ไหนๆ ก็ต้องเพิ่มไป အရေဝ် นี้เพื่อคำเต็ม ผมอยากจะแนะนำให้คุณพี่ว่าอย่างอื่นไม่ต้องไปใส่ก่อน รอให้ผมอ่านต้นกำเนิดก่อน ถ้าผมยังไม่ได้อ่านต้นกำเนิด แปลไปตามเห็นแล้วก็น่าจะมีความผิดก็ได้ เพราะว่าเกี่ยวข้องกับคำ group, family, language, languages, of ออกได้ความหมายจำนวนมาก ดังนั้นคุณพี่ไม่ต้องไปใส่ใจอย่างอื่นเสียเวลา ใส่ให้ผม languages เป็น ဘာသာ ก็พอ ผมก็ยังไม่ได้อ่านต้นกำเนิด ดังนั้นผมก็พูดอะไรไม่ได้ ตอนนี้ผมมองเห็นสาเหตุปัญหา languages เท่านั้น อย่างอื่นยังไม่เจอ ดังนั้นผมก็ไม่ทราบต้นกำเนิด ในหน้า [[mnw:آڑو]] หมวดหมู่ '''ဝေါဟာအူရဒူကၠုင်နူဝေါဟာအဳရာန် languagesဂမၠိုင်''' นั้น ผมอยากได้ '''ဝေါဟာအူရဒူကၠုင်နူဝေါဟာဘာသာအဳရာန်ဂမၠိုင်''' ครับ คุณพี่แก้ไขแค่นั้นก็พอ เพราะว่าในวิกิพจนานุกรมภาษามอญของเรายังมีปัญหาอักษรอยู่ ถ้าเพิ่มไป group, family นี้อีก ทำให้หมวดหมู่อักษรเยอะก็ได้ วิกิพจนานุกรมภาษามอญของเรายังไม่ลงรับเช่นนั้น ดังนั้นเราก็ต้องหาวิธีลดอักษรในหมวดหมู่ เมื่อไหร่พวกเขาจะอนุมัติให้ ผมก็ยังไม่ทราบ ถ้าต้องพูดในใจผม แบบนี้ผมรอไม่ไหวหรอก เพราะว่ามันนานเกิน ในวิกิพจนานุกรมภาษามอญงานทุกอย่างมีแต่ผมคนเดียว ผมเองก็ไม่ค่อยสบาย เงินก็ต้องออกหาเพื่อจะได้ใช้ต่อ ยังไงก็รอไม่ไหวจริงๆ หรอก ผมก็เป็นคนพูดจริงจังแบบนี้แหละ น่าจะคุณพี่เข้าใจสินะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 13:22, 25 ธันวาคม 2567 (+07)
::: ผมเห็นว่า การที่คุณเปลี่ยนชื่อกลุ่มภาษาไท เป็นกลุ่มภาษาสยาม (သေံ) อาจจะทำให้คนรุ่นหลังเข้าใจผิดว่า กลุ่มภาษานี้มีต้นกำเนิดมาจากสยาม เพราะเขาจะไม่เห็นเหตุผลของคุณบอกไว้ที่นี่ ทั้งที่ความจริงคือ กลุ่มภาษาไทมีต้นกำเนิดมาจากจีนโบราณ นักภาษาศาสตร์ทั่วโลกรู้กันดีว่ากลุ่มภาษานี้ชื่อว่า ไทหรือไต // อีกอย่างนึง ไทหรือไต มันเป็นแค่ชื่อที่เรียก คุณสามารถใช้ ထာၚ် หรือ တိုၚ် ก็ได้ไม่มีปัญหา (หรือคุณอาจสะกดแบบอื่นให้ออกเสียงเหมือนกันก็ได้) ไม่ว่าความหมายจะดีหรือไม่ เพราะเป็นชื่อของมัน สมมติว่า มีคนที่ชื่อสมชาย แต่คุณไม่ชอบชื่อสมชาย แล้วคุณไปเปลี่ยนเขาใหม่ว่าสมพงศ์ มันก็ไม่ได้ เพราะสมพงศ์ไม่ใช่ชื่อของเขา ถูกไหมครับ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:51, 27 ธันวาคม 2567 (+07)
ถ้าจำเป็นต้องใช้แล้วก็เอาตาม (Thai terms borrowed from family Tai languages = ဝေါဟာသေံလွဳလဝ် နူဝေါဟာဘာသာဂကူဝံသသေံဂမၠိုင် / Thai terms borrowed from group Tai languages = ဝေါဟာသေံလွဳလဝ် နူဝေါဟာဂကောံဘာသာသေံဂမၠိုင် / Thai terms inherited from family Tai languages = ဝေါဟာသေံဂွံလဝ်အာဲကၟာဲနူဝေါဟာဘာသာဂကူဝံသသေံဂမၠိုင် / Thai terms inherited from group Tai languages = ဝေါဟာသေံဂွံလဝ်အာဲကၟာဲနူဝေါဟာဂကောံဘာသာသေံဂမၠိုင်) นี้นะคุณพี่ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 14:43, 25 ธันวาคม 2567 (+07)
::: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยแก้ไขให้ [[mnw:မဝ်ဂျူ:lo-pron]] นี้หน่อย มี Error อยู่ครับ ลองดูหน้า [[mnw:ໄມ້ກວາດ]] ครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 22:14, 29 ธันวาคม 2567 (+07)
:: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยแก้ไขให้ [[mnw:မဝ်ဂျူ:fr-headword]] นี้หน่อย มี Error อยู่ครับ ลองดูหน้า [[mnw:bilié]] ครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 20:51, 1 มกราคม 2568 (+07)
::: คุณพี่ {{ping|Octahedron80}} ครับ ปัญหา [[mnw:тэнхлүүн явахад тэмээгээр тусалснаас тэвдэж явахад тэвнээр тусалсан нь дээр]] นี้มันคืออะไรช่วยบอกให้หน่อยได้ไหม ผมไม่รู้เรื่องครับแล้วไม่เข้าใจด้วย--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 15:44, 16 มกราคม 2568 (+07)
:::: อันนี้ก็ปัญหาเดิม คือชื่อยาวเกิน มันช่วยไม่ได้ครับ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:07, 22 มกราคม 2568 (+07)
:: คุณพี่ {{ping|Octahedron80}} ถ้ามีเวลาว่างช่วยแก้ไขให้ [[mnw:cats]] นี่หน่อย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 15:55, 24 มกราคม 2568 (+07)
==blt-pron==
สวัสดีครับ ทราบไหมครับว่าทำไม <nowiki>{{blt-pron|ꪶꪎꪣ-ꪻꪊ}}</nowiki> ไม่ทำงาน ขอบคุณครับ --[[ผู้ใช้:Alifshinobi|A.S.]] ([[คุยกับผู้ใช้:Alifshinobi|คุย]]) 17:45, 23 พฤศจิกายน 2567 (+07)
: เพราะมี ZWNJ อยู่ข้างในครับ <nowiki>{{blt-pron|ꪶꪎꪣ#-ꪻꪊ}}</nowiki> ตรง # // ใช้ BabelMap สามารถมองเห็นได้--[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:10, 23 พฤศจิกายน 2567 (+07)
:: ขอบคุณมากครับ ผมมองไม่เห็นตอนแรก --[[ผู้ใช้:Alifshinobi|A.S.]] ([[คุยกับผู้ใช้:Alifshinobi|คุย]]) 19:51, 23 พฤศจิกายน 2567 (+07)
==[[ခလာမ်]]==
คุณพี่ {{ping|Octahedron80}} ครับ ที่คุณพี่ใส่เอาไว้ /hə.lam/ หรือ kʰa.laːm นั้น ไม่เกี่ยวข้องประเทศพม่าหรือประเทศไทย เพราะว่าอันนั้นมันเรียกว่าเป็นคำอ่านกับเป็นคำพูดครับ ไม่สนเกี่ยวข้องไทย-พม่า และ ခလာမ် นั้น ไม่ใช่รูปแบบการเขียนครับ เป็นรูปแบบการออกเสียงครับ ในภาษามอญของเรามี ๔ ประเภท ๑. การออกเสียงอ่านหนังสือเรียกว่าวรรณกรรม ๒. เป็นคำพูดตามชาวบ้าน ๓. เป็นคำพูดพุทธศาสนิกชน ๔. เป็นคำพูดให้มีการสมควร หรือ เรียกว่าการพูดมีวัฒนธรรม (ตัวอย่างเช่น: "နာဲစပုၚ်တုဲယျဟာ นายกินข้าวยัง" ลองดูตัวอย่างคำพูด [[ပိ]] สังเกตได้ชัดเจนว่าทำไมมีการออกเสียง ๒ ประเภท เพราะว่าต้นสาเหตุคำพูดนั้นฟังแล้วไม่เพราะ นักวิชาการชาวมอญก็ต้องเปลี่ยนการออกเสียงให้มีสมควร ภาษามอญของเราก็เปลี่ยนแปลงมาเรื่อยๆ ถ้าผู้ที่มีการศึกษาน้อยเขาไม่รู้เรื่องนี้หรอก ถ้าเขาจะได้รู้เรื่องนี้ต้องมีผ่านการตรวจสอบจะนักวิชาการชาวมอญ การศึกษาภาษามอญในประเทศไทยไม่มีหรอก ในประเทศไทยนั้นเฉพาะสอนการเป็นความรู้เล็กๆน้อยๆโดยไม่มีกฎระเบียบ นั่นแหละภาษามอญในประเทศไทยใช้การอยู่เราไม่ยอมรับเพราะว่าไม่ตรงกับวรรณกรรม ผมจะกล้าพูดแบบนี้เพราะว่าผมเองก็ผ่านการศึกษามาเยอะแล้วด้วยกฎระเบียบเข้มงวด ผมออกจากวิทยาลัยมอญในเมืองมอละมไยน์ยังไม่นาน ผมเองก็มีใบอนุญาตการศึกษาด้วย) ผมพูดไปแค่นี้น่าจะคุณพี่เข้าใจสินะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 15:26, 29 พฤศจิกายน 2567 (+07)
:คุณต้องเข้าใจก่อนว่าที่ผมเขียนว่า [[พม่า]] หรือ [[ไทย]] ไว้นั้น หมายความว่า พม่าอ่านแบบนี้ ไทยอ่านแบบนี้ คุณไม่สามารถตีความว่า ไทยอ่านแบบนี้แล้วผิด เพราะในไทยเขาอ่านแบบนี้กัน ไม่ใช่พม่า เราอยู่คนละประเทศ ย่อมอ่านแตกต่างกันได้ คุณจะบังคับให้คนมอญที่ไทยไปอ่านอย่างคนมอญที่พม่าไม่ได้ เพราะเขาคุยไม่เข้าใจกัน ถ้าคุณจะบังคับให้อ่านเหมือนพม่าทั้งหมด มันก็ไม่ต่างกับ[[เผด็จการ]]ของประเทศคุณ เหมือนภาษาที่มีในหลาย ๆ ประเทศ ยกตัวอย่างภาษาอังกฤษ เขียนเหมือนกัน แต่อ่านต่างกันก็ได้ หรือบางทีก็เขียนต่างกัน หรือบางทีคำศัพท์ก็มีเฉพาะประเทศนั้น ๆ ที่อื่นไม่มี ก็ด้วย เช่น ภาษาอังกฤษใน[[สหรัฐอเมริกา]]ก็อ่าน/เขียนอย่างนึง ภาษาอังกฤษใน[[ยุโรป]]ก็อ่าน/เขียนอย่างนึง ภาษาอังกฤษใน[[ออสเตรเลีย]]ก็อ่าน/เขียนอย่างนึง เป็นต้น ถึงคุณจะเรียนภาษามอญ[[มาตรฐาน]]มา คุณก็ต้องเข้าใจว่าใน[[ท้องถิ่น]]ก็มีภาษาของเขาเองเรียกว่า[[ภาษาถิ่น]] ([[dialect]]) ถ้าคุณไม่ยอมรับภาษาถิ่นก็เท่ากับ[[ภาษาศาสตร์]]ที่คุณเรียนไปสูญเปล่า --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 15:33, 29 พฤศจิกายน 2567 (+07)
::: ที่คุณพี่พูดมาผมเข้าใจสิครับ แต่ผมไม่ได้หมายความว่าอย่างนั้น ที่ /hə.lam/ นั้น คุณพี่ใส่เอาไว้ ([[ไทย]]) นั่นแหละเป็นความเข้าใจผิดของคุณพี่ /hə.lam/ นั้น ไม่ใช่มอญประเทศไทยอย่างเดียวใช้งานอยู่ มอญทั่วโลกก็ใช้อยู่นะ อันนั้นหมายความว่าอะไรคุณพี่ต้องศึกษาให้ชัดๆก่อน ตอนนี้คุณพี่ก็ยังไม่ได้ศึกษาให้ลึกๆ ซึ้งๆ จะมาเถียงกับเจ้าของภาษาไม่สมควรนะครับ คนมอญด้วยการคำพูดไม่ค่อยเหมือนกันผมรู้สิครับอันนั้นเป็นเฉพาะสำเนียงไม่ใช่คำพูดมีอยู่แบบนั้นไม่ใช่ประเทศไทยอย่างเดียวประเทศพม่าก็มีสิครับถ้าคุณพี่ไม่เชื่อผมพาไปให้ดูถ้าคำพูดไม่เหมือนผมกล้าพูดอันนั้นไม่ใช่ ภาษามอญแล้วละ ผมสามารถพูดคุยได้ ๑๒ ภาษา ถ้าคุณพี่ไม่เชื่อลองมาตรวจสอบก็ได้ ผมเองก็เขียนได้ภาษามอญเก่า, ภาษามอญกลาง, ภาษามอญยุคสมัย ถ้าคุณพี่ไม่เชื่อพามาคนไหนก็ได้ผมยอมให้พิสูจน์ ผมเองก็คือพบเจอพจนานุกรมไทยมอญเขียนเอาไว้แบบผิดๆ อักษรไทยมอญและการเขียนนั้น คืออะไร มีประวัติอย่างไร ภาษามอญการเปลี่ยนแปลงอย่างไร คุณพี่ศึกษาให้ลึกๆ ซึ้งๆ ก่อน ผมไม่เอาความรู้จากสมองผู้อื่น ผมอยากได้ความรู้จากคุณพี่ตนเอง การพูดภาษามอญและการเขียนภาษามอญ ไม่เหมือนอย่างไร แตกต่างอย่างไร อันนั้นก็คุณพี่ต้องศึกษามาด้วย ผมยินดีคุณพี่สนใจภาษามอญแต่ที่ผมไม่ยินดีก็ภาษามอญของเราเอาไปทางที่ผิดๆ ดังนั้นผมก็ห่วงมาก ผมเป็นเจ้าของภาษามอญขออนุญาตให้มีสิทธิ์ห่วงด้วยครับ ดังนั้นเกี่ยวข้องกับภาษาไทยผมก็ต้องฟังคำพูดเจ้าของภาษาด้วยนั่นแหละ ถ้าเกี่ยวข้องกับภาษาไทยคุณพี่พูดอะไรผมก็ต้องฟังอยู่ดีเพราะผมไม่ใช่เจ้าของภาษาไทย เกี่ยวข้องกับภาษาไทยการอ่อนแอก็มีเพราะผมไม่ใช่เจ้าของภาษาไง ถ้าเกี่ยวข้องกับภาษามอญผมไม่ฟังใครหรอกนอกจากครูบาอาจารย์ผม เพราะการศึกษาภาษามอญของผมไม่ใช่ต้อยตาม คุณพี่เห็นการกระทำผมน่าจะเข้าใจสิแล้วล่ะเมื่อไหร่ก็ดูผลงานผมในวิกิพจนานุกรมภาษามอญได้ คุณพี่ก็รู้ ใน Google แปลภาษายังไม่มีภาษามอญ ดังนั้นการแปลภาษามอญ ต้องใช้เฉพาะสมองเท่านั้น วันๆจะได้แปลภาษาสักทีไม่ใช่เรื่องง่าย ถ้าคนที่มีความรู้เล็กๆ น้อยๆ สามารถแปลภาษาไม่ได้หรอก ผมสามารถกล้าพูด ถ้าคุณพี่คิดว่าคนอื่นเก่ง ลองพามาสักหน่อยครับ ถ้าแปลภาษาได้เหมือนผม ผมให้เงินเดือนครับแต่การกระทำของเขาต้องมีความรับผิดชอบ ต้องมีเอกสารทางรัฐบาลรับรองด้วยต้องมีใบอนุญาตจบการศึกษาเกี่ยวข้องภาษามอญด้วย ผมมีนะ ผมมีเอกสารรับรองจากรัฐบาลด้วยนะและมีใบอนุญาตจบการศึกษาด้วยถ้าคุณพี่ต้องการอยากดูใบอนุญาตจบการศึกษาหรืออื่นๆ เมื่อไหร่ก็ติดต่อมาได้ผมยินดีให้ดู ที่คุณพี่คิดว่าเขาเก่งลองสอบถามซิเขามีใบอนุญาตเหมือนผมไหม ถ้าเขาไม่มีใบอนุญาตเหมือนผม ผมฟ้องคดีตามกฎหมายประเทศพม่าได้นะ แต่ประเทศไทยผมยังไม่ทราบเกี่ยวข้องกับการใบอนุญาตออกหนังสือและใบอนุญาตนักเขียน ในวิกิพีเดียภาษาไทยคุณพี่ก็รู้อยู่ใช่ป่ะ เขาป้องกันภาษาไทยเอาไว้แค่ไหนและผมล่ะ ไม่มีสิทธิ์ป้องกันภาษาตนเองแล้วหรอ ถ้าอย่างนั้นมีความยุติธรรมไหมครับ คุณพี่รักสัญชาติไทยไหม แต่สำหรับคุณพี่ผมไม่ทราบนะ สำหรับผมก็รักสัญชาติมอญเท่ากับชีวิตตนเอง การกระทำผมตอนนี้หรือการพูดผมตอนนี้เฉพาะความรักต่อชาวมอญเท่านั้น แล้วผมก็มีความเคารพต่อคนไทยด้วยนะ เมื่อคนไทยเขาพูดอะไรผมก็ฟังอยู่นะ ผมเขียนไปยาวแล้วล่ะ ผมเขียนเยอะไปแค่นี้น่าจะคุณพี่เข้าใจความรู้สึกผม ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 22:14, 29 พฤศจิกายน 2567 (+07)
==ขอยืม bot==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ผมมี bot ตัวเองก็จริง ตอนนี้ยังไม่ได้เข้าใจวิธีการใช้เพราะว่าอย่างนั้น ผมอยากจะขอยืม bot ของคุณพี่ ผมต้องการว่า ในหน้า ပါဠိမန် ทั้งหมดนั้นมีหมดหมู่ [[:mnw:ကဏ္ဍ:ဝေါဟာပါဠိမန်နွံပ္ဍဲအဘိဓာန်ဂမၠိုင်]] อยากจะให้เปลี่ยนเป็นหมวดหมู่ [[:mnw:ကဏ္ဍ:ဝေါဟာအဓိကပါဠိမန်ဂမၠိုင်]] ทั้งหมดก็มีหน้า ๒๐๐๐ กว่ายังไงก็ต้องใช้ bot เรื่องนี้คุณพี่ช่วยให้ได้ไหม ลองดูเพื่อตัวอย่างในหน้า [[mnw:ကက္ကာရဳ]] นี้ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 16:40, 6 ธันวาคม 2567 (+07)
::ได้ครับ แต่การแก้ไขของบอตที่ยังไม่ได้ bot flag อาจจะทำให้ timeline น่ารำคาญนิดหน่อย --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 17:00, 6 ธันวาคม 2567 (+07)
::: ครับผมขอบคุณมากครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">ด็อกเตอร์.อินโดเบสะ</span>]]|[[User talk:咽頭べさ|พูด]]</span> 18:35, 6 ธันวาคม 2567 (+07)
== ขอความช่วยเหลือ ==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ [[:mnw:မဝ်ဂျူ:eo-headword]] นี้ช่วยแก้ไขให้หน่อยได้ไหม ผมพยายามอย่างไรก็ไม่สำเร็จ แล้วไม่ทราบวิธีด้วย ลองดูหน้า [[:mnw:aŭguri]] นี่ครับ คุณพี่ถ้ามีเวลาว่างช่วยแก้ไขให้หน่อยนะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 18:18, 16 กุมภาพันธ์ 2568 (+07)
==[[:mnw:မဝ်ဂျူ:gl-headword]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ [[:mnw:မဝ်ဂျူ:gl-headword]] ช่วยลบออก s ให้หน่อยครับ ผมหาไม่เจอครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 18:40, 25 กุมภาพันธ์ 2568 (+07)
==ขอความแนะนำ==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ที่ %code% นั้น อยากจะเปลี่ยนเป็นรหัสภาษา (คำว่า User th อยากได้ใช้ว่า ညးလွပ် သေံ) ครับ ช่วยแนะนำให้หน่อยนะคุณพี่ ผมอยากได้ใช้ตามวิกิภาษาอังกฤษ ผมคิดว่าเมื่ออนาคตจะได้มีประโยชน์บางอย่าง ช่วยหน่อยนะขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:42, 26 กุมภาพันธ์ 2568 (+07)
:ตรงนั้นเปลี่ยนไม่ได้ครับ มันเอาไว้ใส่รหัสภาษา ไม่ใช่ชื่อภาษา และที่จริงคำว่า User ก็ไม่ควรเปลี่ยนด้วย เพราะมันเป็นชื่อแม่แบบและหมวดหมู่ของบาเบล ที่ใช้ข้ามโครงการถึงกัน เช่น User th-N หรือ User en-3 เป็นต้น // อนึ่ง ผมไม่มีสิทธิ์แก้ไขหน้านั้น เพราะผมไม่ใช่แอดมินของภาษามอญ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:49, 27 กุมภาพันธ์ 2568 (+07)
:: ผมแก้ไขเองก็ได้ครับแต่ผมแค่อยากจะทราบ %code% นี้ต้องเปลี่ยน langCode ย่างไรบ้าง อยากได้ความแนะนำจากคุณพี่ครับ ขอบคุณมากครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 13:43, 28 กุมภาพันธ์ 2568 (+07)
==[[:mnw:आँखें]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับถ้ามีเวลาว่างช่วยดูให้หน้า [[:mnw:आँखें]] นี้หน่อย ผมก็คิดไม่ออกแล้วล่ะต้องควรทำยังไง--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 11:58, 10 มีนาคม 2568 (+07)
==ปัญหาเรื่องการถอดอักษรละตินเป็นไทย==
สวัสดีครับ ปัจจุบันเพิ่งมีสงครามการแก้ไขหน้านี้ [[sơn ca]] เราควรทำอย่างไรดีกับปัญหาการถอดอักษรละตินให้เป็นอักษรไทยครับ ถ้าอักษรอื่น (ที่ไม่ใช่ละติน) ได้รับการถอดอักษร อักษรละตินเองก็ควรได้รับการถอดอักษรเช่นกัน ผู้ใช้เป้าหมายของวิกิพจนานุกรมไทยคือผู้พูดภาษาไทย เราควรสามารถใช้อักษรไทยเพื่อถอดอักษรอื่นได้ กรุณาออกความเห็นด้วยครับ ขอบคุณครับ --[[ผู้ใช้:Alifshinobi|A.S.]] ([[คุยกับผู้ใช้:Alifshinobi|คุย]]) 19:20, 18 มีนาคม 2568 (+07)
ผมก็อยากให้มีอักษรไทยทุกที่ แต่มันทำไม่ได้ทั้งหมด เพราะบางภาษามีการต่อยอด เอาอักษรละตินที่เป็นผลลัพธ์ถอดมาได้ ไปผันรูปเป็นคำอื่นต่อ ซึ่งอักษรไทยใช้ตรรกะเดียวกันกับเขาไม่ได้ และมันก็จะเป็นงานใหญ่ ถ้าจะทำรองรับหมด ในขณะเดียวกัน เราก็มีคนอยู่แค่นี้ ไม่มีคนดูแลเฉพาะภาษา เราก็ไม่รู้ว่าจะมีอะไรที่แสดงผลไม่ถูกต้องบ้าง เราก็ทำได้แค่ลอกเขามา แล้วปรับแต่งนิดหน่อย--[[พิเศษ:เรื่องที่เขียน/1.46.198.202|1.46.198.202]] 19:31, 18 มีนาคม 2568 (+07)
สำหรับภาษาเวียดนามนั้น เคยทำตัวอักษรละตินถอดเป็นอักษรไทยไว้แล้ว แต่มีปัญหาที่ ภาษาเวียดนามมีอักษรจีน ซึ่งเราไม่สามารถถอดมันออก ต้องเติมเองอยู่ดี--[[พิเศษ:เรื่องที่เขียน/1.46.198.202|1.46.198.202]] 19:34, 18 มีนาคม 2568 (+07)
::ผมคิดว่า มีบ้างก็ดีกว่าไม่มีเลย ถ้ามีผู้ใช้คนไหนต้องการจะเพิ่มการถอดอักษรเป็นอักษรไทย เราก็ไม่ควรมีกฎห้ามหรือกฎว่าต้องเอาออก การมีการถอดอักษรควรถือเป็นสิ่งที่พิเศษขึ้นมา คือมีก็ดี ไม่มีก็ได้ อนึ่ง เราไม่ควรอยู่เฉยจนกว่าโอกาสที่ดีกว่านี้หรือที่สมบูรณ์แบบปรากฏขึ้นเพราะโอกาสเช่นนั้นอาจไม่มีอยู่จริง ขอบคุณครับ --[[ผู้ใช้:Alifshinobi|A.S.]] ([[คุยกับผู้ใช้:Alifshinobi|คุย]]) 19:40, 18 มีนาคม 2568 (+07)
:::ภาษาไหนมีระบบอัตโนมัติแล้ว ก็ต้องเอาที่เขียนเองออกครับ เพื่อไม่ให้ซ้ำซ้อนกัน (มีตัว detect อยู่) แต่ถ้าอัตโนมัติแล้วไม่ใช่ตามที่ต้องการก็อาจให้เขียนเองได้ บางทีก็เกิดกรณีแบบนี้ที่ en--[[พิเศษ:เรื่องที่เขียน/1.46.198.202|1.46.198.202]] 19:46, 18 มีนาคม 2568 (+07)
::::"แต่ถ้าอัตโนมัติแล้วไม่ใช่ตามที่ต้องการก็อาจให้เขียนเองได้" ผมเห็นด้วยกับความเห็นนี้ครับ อย่างไรก็ไม่ควรลบสิ่งที่มีประโยชน์ที่เพิ่มโดยผู้ใช้ออก นอกจากว่าเป็นการเพิ่มข้อมูลผิด ขอบคุณครับ --[[ผู้ใช้:Alifshinobi|A.S.]] ([[คุยกับผู้ใช้:Alifshinobi|คุย]]) 20:01, 18 มีนาคม 2568 (+07)
:::::ใจจริงอยากให้เป็นระบบอัตโนมัติมากกว่าเขียนเองครับ แต่บางภาษานี่แทบเป็นไปไม่ได้ เช่นภาษาอังกฤษ // อนึ่งเวลาผมก๊อปปี้มาจาก en ส่วนมากก็ไม่มี transliteration ผมก็เซฟทับรุ่นเก่าไปไม่ได้ดู --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 22:50, 18 มีนาคม 2568 (+07)
เมื่อก่อน สามารถยกเว้นให้บางภาษาที่ใช้อักษรละตินสามารถถอดเป็นไทยได้ ซึ่งเคยทำไว้สองภาษาคือ eo กับ vi ตอนนี้สคริปต์ปัจจุบัน ตรรกะมันเปลี่ยนไป การทำงานจะไม่ถอดอักษรเลยถ้ามีอักษรละติน แต่ถ้าปิดไม่ให้เช็กเงื่อนไขนี้ ภาษาที่ใช้อักษรละตินทั้งหมดจะขึ้น transliteration needed ซึ่งเราไม่ต้องการแบบนั้น เพราะคำศัพท์กว่า 80% เป็นอักษรละติน ก็เลยปล่อย eo กับ vi ไว้อย่างนั้น จะพยายามหาวิธีใหม่ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 21:34, 18 มีนาคม 2568 (+07)
==สอบถามพูดคุยเรื่อง Bot ครั้งที่สอง==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับสำหรับขับ Bot ไป copy CSS code ของคนอื่นแล้วก็วางลงได้ไหม ผมอยากจะลองดูแบบ [[𪻔]] ที่คุณพี่ทำเอาไว้ ผมสนใจอยู่นานแล้วแต่ผมยังไม่ได้สอบถามคุณพี่เพราะผมเกรงใจ ตอนนี้ไหนๆ ก็ผมต้องสอบถามคุณพี่แล้วล่ะ ถ้าเป็นไปได้ผมอยากจะมาหาคุณพี่ที่บ้านเพื่อศึกษาเรื่องนี้ สำหรับเรื่องนี้ผมเองก็ยังไม่ได้เข้าใจเลยเพราะไม่เห็นกับตา ถ้าเป็นไปได้ผมอยากจะให้คุณพี่เขียน CSS code สำหรับเรื่องนี้พอสมควรทั้งหมดและวิถีขับ Bot ตอนนี้ผมพยายามอย่างไรก็มันขึ้นอยู่ Error ตลอด อย่าคิดว่าผมรบกวนนะ แค่ผมอยากจะได้ความช่วยเหลือจากคุณพี่ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 14:52, 25 มีนาคม 2568 (+07)
==[[มอดูล:also/processed data]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ผมอยากจะขอเรื่อง [[มอดูล:also/processed data]] ครับ ผมอยากจะขอว่าถ้าคุณพี่มีการอัพเดท ช่วยอัพเดทให้ฝั่งมอญด้วย ถ้าไฟล์ข้อมูลเยอะในคอมพิวเตอร์ผมไม่สามารถเปิดได้ครับ ตอนนี้ก็ผมอยากจะให้คุณพี่อัพเดทให้ฝั่งมอญด้วยครับ ตอนนี้ผมพยายามจะเปิดแค่ไหนเพราะไฟล์ข้อมูลเยอะผมไม่สามารถเปิดได้ครับ ช่วยหน่อยนะคุณพี่ครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 16:14, 25 มีนาคม 2568 (+07)
:คุณต้องลบรายการ 32 หน้า ที่ผมแจ้งลบไว้ก่อนนะครับ หน้าเหล่านั้นถูกตั้งชื่อโดยผิดพลาด ทำให้บอตทำงานไม่ได้ ถ้าลบแล้วบอตถึงจะทำงานได้ // คุณสามารถกดลิงก์ "ประวัติ" แทนได้ เพราะตัวรายการไม่ปรากฏลิงก์ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 11:48, 9 เมษายน 2568 (+07)
:อนึ่ง มอดูลมีการเปลี่ยนชื่อใหม่ และมีหน้าเพิ่มขึ้น --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 13:15, 9 เมษายน 2568 (+07)
:: {{ping|Octahedron80}} สำหรับเรื่องนี้ผมอยากจะให้คุณพี่จัดการเองดีกว่า เพราะว่าผมไม่ค่อยรู้เรื่องเทคโนโลยี--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:45, 10 เมษายน 2568 (+07)
== Hello ==
Hi admin, I'm sorry I can only speak English because I don't speak Thai. I'm a [[:m:global rollbacker|global rollbacker]] and I found this [['|broken redirect]] when doing a global patrol. The redirect target has been deleted and protected by you. I would like to request to delete this broken redirect. Thanks in advance. :) [[ผู้ใช้:ASid|ASid]] ([[คุยกับผู้ใช้:ASid|คุย]]) 18:05, 9 เมษายน 2568 (+07)
:It is an intended redirection. But since the target page was often vandalized so I protect it. I might create content for the page instead soon. --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 18:15, 9 เมษายน 2568 (+07)
::OK, thank you very much for your help. :) [[ผู้ใช้:ASid|ASid]] ([[คุยกับผู้ใช้:ASid|คุย]]) 18:21, 9 เมษายน 2568 (+07)
==[[mnw:gavé]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไขให้หน่อย มี Error อีกแล้ว ผมรำคาญกับ Error นี่แหละ ผมก็ต้องมาขอความช่วยเหลือคุณพี่บอยเกรงใจแล้วล่ะ แต่ผมก็ทำอะไรไม่ได้--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:48, 10 เมษายน 2568 (+07)
==[[mnw:𑀉𑀝𑁆𑀞𑀸𑀯𑁂𑀇]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ช่วยตรวจสอบให้หน่อยครับ เพราะว่ามี Error อยู่ผมก็แก้ไขไม่ถูก ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:54, 12 มิถุนายน 2568 (+07)
ยังหาสาเหตุไม่เจอครับ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 17:49, 18 มิถุนายน 2568 (+07)
==ขอความช่วยเหลือสำหรับแก้ไขปัญหาอัพเดท==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ [[blk:မော်ဂျူး:languages]] นี้มีปัญหา Error อยู่ ผมก็พยายามดีที่สุดแล้วแต่ยังไงก็มันไม่สำเร็จ ลองดูเพื่อตัวอย่าง [[blk:ကုတ်]] นี้ คุณพี่จ๋าช่วยหน่อยนะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:48, 18 มิถุนายน 2568 (+07)
==[[:mnw:မဝ်ဂျူ:it-headword]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ [[:mnw:မဝ်ဂျူ:it-headword]] ช่วยลบออก s ให้หน่อยครับ ผมหาไม่เจอครับ ลองดูหน้า [[:mnw:linguistico]] ครับ คุณพี่จ๋าช่วยหน่อยนะ ขอบคุณครับ--[[ผู้ใช้:Intobesa.bot|Intobesa.bot]] ([[คุยกับผู้ใช้:Intobesa.bot|คุย]]) 15:45, 3 สิงหาคม 2568 (+07)
==[[ထိၚ်]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} คุณพี่คำศัพท์ [[ထိၚ်]] นั้นไม่ได้มาจากพม่า ลองเปิดดูหนังสือจารึกกษัตริย์แห่งธรรมเจดีย์ ผมพูดพี่ไม่เชื่อแล้วก็ลองเปิดอ่าน [https://web.facebook.com/groups/TTMNW/permalink/3595432830751565/ Comment] ในที่นี้ด้วย ถ้าผมพูดพี่ไม่เชื่ออะไรลองพูดคุยกับพวกเขาด้วย มีอะไรก็เพิ่มไปที่พม่าหมดอันนี้การขโมยชัดๆนะครับคุณพี่ มีอะไรก็เรียนรู้ให้แน่ใจก่อนจริงหรือไม่ ผมเองก็ไม่อยากพูดเยอะกับคนที่ไม่เข้าใจหรอกแต่การกระทำนี้ผมยอมรับได้ยาก การกระทำผมทั้งหมดก็ไม่ได้หาเรื่องใครไม่ได้มีเรื่องกับใครแค่ปกป้องภาษาของตนเท่านั้น ขอให้มีน้ำใจด้วยนะครับคุณพี่ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 19:20, 3 กันยายน 2568 (+07)
:เอาเป็นว่าผมเปลี่ยนวิธีเขียนใหม่ก็แล้วกัน เพราะผมก็ไม่มีหลักฐาน ไม่รู้ว่าพม่ายืมมาจากมอญจริงหรือเปล่า เพราะการเขียนคล้ายกันมันก็ไม่ได้หมายความว่ายืมมาเสมอไป แต่ที่แน่ๆคือ 3 ภาษานั้น (เขิน ไทใหญ่ ไทใต้คง) ยืมจากพม่า เพราะไม่ได้ติดต่อกับมอญ --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 19:47, 3 กันยายน 2568 (+07)
: ok ฉันเพิ่มให้ตามอ้างอิงแล้วกันเนาะ ถ้าคุณมีโอกาสฉันแนะนำให้คุณไปอ่านด้วย แต่มันไม่ใช่ภาษามอญยุคสมัยแต่มันเป็นภาษามอญยุคสมัยเก่าศตวรรษที่ 1 ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 22:00, 3 กันยายน 2568 (+07)
== Update [[มอดูล:Jpan-headword]] ==
Hi, please update [[มอดูล:Jpan-headword]] page to sync with English Wiktionary's code: https://en.wiktionary.org/w/index.php?title=Module:Jpan-headword&diff=prev&oldid=88203734, also the create new section and subscribe buttons in this talk page are somehow not working. [[ผู้ใช้:Public class|Public class]] ([[คุยกับผู้ใช้:Public class|คุย]]) 09:17, 19 พฤศจิกายน 2568 (+07)
==[[:mnw:adeffu]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับในหน้า [[:mnw:adeffu]] นี้มีปัญหา Error อยู่ ช่วยให้หน่อยได้ไหม ผมหลงทางแล้วล่ะ พยายามยังไงก็ไม่สำเร็จ คุณพี่ถ้าว่างก็ช่วยหน่อยนะ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 18:17, 30 มกราคม 2569 (+07)
==[[:mnw:cocaïnes]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไข [[:mnw:မဝ်ဂျူ:languages/data/2]] ให้หน่อยตั้งแต่เมื่อวานผมกำลังค้นหาแต่ไม่เจอ มันมีปัญหา Error อยู่ครับ ขออภัยต้องรบกวนนะครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 16:14, 6 กุมภาพันธ์ 2569 (+07)
==[[:mnw:ordinary seaman]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไข [[:mnw:ordinary seaman]] ให้หน่อยครับ ยังมี Error อีก ผมก็หาไม่เจอครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 23:40, 11 กุมภาพันธ์ 2569 (+07)
== [[:หมวดหมู่:อักขระอักษรจีน]] ==
To fix error category, you should need update [[Template:auto cat]] to work properly. [[ผู้ใช้:Hiyuune|Hiyuune]] ([[คุยกับผู้ใช้:Hiyuune|คุย]]) 15:45, 19 กุมภาพันธ์ 2569 (+07)
:As you can see, English Wiktionary (our model) has integrated auto cat codes into its category modules. We are trying to catch them up. But we cannot exactly follow their logic because Thai language has different grammatical ordering. And many modules are needed to update along with it. There are hastily many things to do more than a single template. Now, we are fixing the entry templates that are more important than categories. --[[พิเศษ:เรื่องที่เขียน/~2026-11205-88|~2026-11205-88]] ([[คุยกับผู้ใช้:~2026-11205-88|คุย]]) 00:09, 20 กุมภาพันธ์ 2569 (+07)
:A few changes in codes between modules might cause a large error chain so we are very careful to modify. Please be patient.--[[พิเศษ:เรื่องที่เขียน/~2026-11205-88|~2026-11205-88]] ([[คุยกับผู้ใช้:~2026-11205-88|คุย]]) 00:23, 20 กุมภาพันธ์ 2569 (+07)
== [[ผู้ใช้:Octahedron80/mfa]] ==
สวัสดีครับ พอดีสงสัยว่ารูปทับศัพท์ภาษามลายูปัตตานีในตารางนี้มาจากหนังสือเกณฑ์ทับศัพท์ของราชบัณฑิตฯ หรือเปล่าครับ เพราะดูแล้วคิดว่า ทำไมระบบทับศัพท์กับเวลาพูดมันดู "แปลก" --[[ผู้ใช้:Waniosa Amedestir|Waniosa Amedestir]] ([[คุยกับผู้ใช้:Waniosa Amedestir|คุย]]) 10:02, 28 กุมภาพันธ์ 2569 (+07)
:{{ping|Waniosa Amedestir}} ราชบัณฑิตมีเพียงหลักการทับศัพท์มลายู/มาเลย์ (ms) ซึ่งใช้ไม่ได้กับมลายูแบบปัตตานี (mfa) ซึ่งมีหน่วยเสียงมากกว่าทั้งพยัญชนะและสระ (ราชบัณฑิตไม่มีหลักการทับศัพท์ mfa อาจจะด้วยเหตุผลทางการเมือง) หรือหากจะใช้หลักการทับศัพท์ภาษาอาหรับ (ar) ก็ใช้ไม่ได้เหมือนกันเพราะเป็นคนละตระกูล // แต่เดิมมหาวิทยาลัยทักษิณเคยมีระบบการถอดเสียง IPA ด้วยอักษรอาหรับ(ยาวี) มาตั้งแต่ พ.ศ. 2553 [https://drive.google.com/open?id=1U-ERNu9EvjfB7f5U7ABLsvRPN1GxIrwx&usp=drive_fs] ส่วนอักษรไทยที่ใช้กันอยู่นั้นค่อนข้างจะสะเปะสะปะ สะกดไม่เหมือนกัน ผมจึงใช้ระบบการถอดเสียงอักษรอาหรับ(ม.ทักษิณ) และ lexicon ต่าง ๆ ที่มีอยู่ บูรณาการระบบการถอดเสียงอักษรไทยขึ้นมาใหม่ ให้สอดคล้องกับทั้งอักษรอาหรับและ IPA แบบหนึ่งต่อหนึ่ง ผลที่ได้ก็เป็นดังนั้น เห็นรูปสะกดแล้วออกเสียงได้ถูกต้อง --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 10:32, 28 กุมภาพันธ์ 2569 (+07)
==[[:mnw:မဝ်ဂျူ:it-headword]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยแก้ไข [[:mnw:မဝ်ဂျူ:it-headword]] ให้หน่อยครับ คุณพี่ลองดูหน้า [[:mnw:raro]] นี้ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 08:27, 9 มีนาคม 2569 (+07)
:ตอนนี้มอดูลมันไม่เหมือนเดิม ต่างจากเดิมมาก หากคัดลอกมาใหม่แล้วแปลใหม่ อาจจะดีกว่า --[[ผู้ใช้:Octahedron80|Octahedron80]] ([[คุยกับผู้ใช้:Octahedron80|คุย]]) 08:38, 16 มีนาคม 2569 (+07)
==[[:mnw:မဝ်ဂျူ:ca-headword]]==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ ถ้ามีเวลาว่างช่วยลบออกให้ s ให้หน่อยครับ ลองดูในหน้า [[:mnw:gai]] ครับ ผมก็เกรงใจคุณพี่แต่พยายามหาไม่เจอ ถ้ามีเวลาว่างช่วยหน่อยนะครับ ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 19:53, 25 มีนาคม 2569 (+07)
== You may be an eligible candidate for the U4C election ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Greetings,
The [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee|Universal Code of Conduct Coordinating Committee (U4C)]] seeks candidates for the 2026 election. The U4C is the global committee responsible for overseeing enforcement of the [[foundation:Special:MyLanguage/Policy:Universal Code of Conduct|Universal Code of Conduct]]. Elections are held annually, if elected a committee member serves for two years.
This year the U4C requires candidates to hold administrator rights on at least one wiki, which is why you are being contacted as you appear to hold this right. There are other requirements, such as candidates must be at least 18 years old and may not be employed by the Wikimedia Foundation or other related chapters and affiliates. You can find more information in the [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Election/2026#Call_for_Candidates|call for candidates on Meta-wiki]]. Additionally, the committee's working language is English; some ability to communicate in English is required.
The election opens on 18 May, if you are eligible and interested you have until 10 May to submit your candidacy. There will be a week in between for candidates to answer questions from the community. Voting takes place privately in [[m:Special:MyLanguage/SecurePoll|SecurePoll]], successful candidates must receive at least 60% support. More information is available on [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Election/2026|the 2026 Elections page]], including timelines and other candidacy information. If you read over the material and consider yourself qualified, please consider submitting your name to run for the committee. If you think someone else in your community might be interested and qualified, please encourage them to run.
In partnership with the U4C -- [[m:User:Keegan (WMF)|Keegan (WMF)]] ([[m:User_talk:Keegan (WMF)|talk]]) 03:11, 29 เมษายน 2569 (+07) </div>
<!-- Message sent by User:Keegan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Keegan_(WMF)/test&oldid=30472482 -->
==อยากได้ความช่วย==
สวัสดีคุณพี่ {{ping|Octahedron80}} ครับ คุณพี่ครับถ้ามีเวลาว่างช่วยแก้ไข Error ให้หน่อย ลองดูใน [[:mnw:mandla#အာက်သလာန်|mandla]] ครับ ผมพยายามอยู่หลายวันแล้ว แต่ยังไงก็ผมหาสาเหตุไม่เจอ และไม่ทราบด้วยต้องไปหาที่ไหน คุณพี่ครับช่วยหน่อยนะ ผมเองก็ไม่รู้แล้วล่ะต้องไปแก้ไขที่ไหน จะงงหมดแล้ว ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 23:26, 15 พฤษภาคม 2569 (+07)
:สำหรับภาษาไอซ์แลนด์ จำเป็นต้องมีตาราง is-ndecl ในส่วนภาษาของมัน เพื่อที่จะหยิบคำมาแสดงใน headword โค้ดไม่ได้ผิดอะไรครับ --[[ผู้ใช้:OctraBot|OctraBot]] ([[คุยกับผู้ใช้:OctraBot|คุย]]) 14:00, 18 พฤษภาคม 2569 (+07)
::: {{ping|Octahedron80}} ครับผม อ๋อมันเป็นอย่างนี้เอง ผมเองก็รำคาญ Error นั่นแหละ ไม่ค่อยจะได้เพิ่มไป เพราะว่ามีสาเหตุ Error ตลอด ผมก็แก้ไขไม่ถูกด้วยเพราะฉะนั้นผมไม่ได้เพิ่มไป ตอนนี้ต้องเปลี่ยนความคิดใหม่แล้วล่ะ ขอบคุณนะช่วยให้ผม ใน Wiki ที่ผมยังไม่รู้ยังมีเยอะ ถ้าคุณพี่ยังมีเวลาว่างอีกก็ [[:mnw:amaro#အဳတခ်လဳ|amaro]] นี้ช่วยตรวจสอบให้หน่อย ยังมี Error อีกแล้ว ผมเองก็ความรู้เทคโนโลยีอ่อนโยนมาก เพราะฉะนั้นพยายามจะเรียนรู้อยู่แล้วแต่บางสิ่งไม่เข้าใจ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 17:09, 18 พฤษภาคม 2569 (+07)
::: คุณพี่ {{ping|Octahedron80}} ครับ ถ้ายังมีเวลาว่างช่วยตรวจสอบ Error ให้หน่อย [[:mnw:هم|هم]] ขออภัยต้องรบกวน ผมเองก็พยายามแก้ไขแล้วแต่ไม่สำเร็จ ผมเองก็ไม่ทราบต้นสาเหตุด้วย ขอบคุณครับ--<span style="background-color: magenta; padding: 2px 5px 1px 5px">[[User:咽頭べさ|<span style="color: white">𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪</span>]]|[[User talk:咽頭べさ|𝒯𝒶𝓁𝓀]]</span> 18:50, 22 พฤษภาคม 2569 (+07)
9j5yd4iyzb68mfmp3hs7xlvltnkz7kt
hndwꜣy
0
332433
5723326
1768097
2026-05-22T01:21:47Z
OctraBot
3198
/* ภาษาอียิปต์ */ เก็บกวาด
5723326
wikitext
text/x-wiki
== ภาษาอียิปต์ ==
=== รากศัพท์ ===
แรกสุดจาก{{der|egy|peo|𐏃𐎡𐎯𐎢𐏁|𐏃𐎡𐎯𐎢|ts=Hiⁿdu-|อินเดีย}}, จาก{{der|egy|iir-pro|*síndʰuš||แม่น้ำ}}, เป็นไปได้ว่าผ่าน{{cog|sa|सिन्धु||แม่น้ำ, ธารน้ำ; แม่น้ำสินธุ}}
=== การออกเสียง ===
{{egy-pr}}
=== คำวิสามานยนาม ===
{{egy-proper noun|m-topo|head=h-n:d-wA-i-i-N25}}
# [[อินเดีย]]
==== รูปแบบอื่น ====
{{egy-hieroforms
|h:nw-ti-wA-T14-xAst|read1=hnwtjwꜣ}}
==== คำสืบทอด ====
* {{desc|cop-sah|ϩⲉⲛⲧⲟⲩ}}
==== อ้างอิง ====
* Burchardt, Max (1911) “Datierte Denkmäler der Berliner Sammlung aus der Achämenidenzeit” in ''Zeitschrift für ägyptische Sprache und Altertumskunde'', vol. 49, pages 78–79
* Perrot, Jean (2013) ''The Palace of Darius at Susa: The Great Royal Residence of Achaemenid Persia'', pages 275, 278
{{C|egy|ประเทศ}}
99u9h44vcg8olhr2y97h0l1s1k7i1g3
มอดูล:languages/documentation
828
1051350
5723328
2690355
2026-05-22T01:27:39Z
OctraBot
3198
5723328
wikitext
text/x-wiki
{{language data search}}
This module is used to retrieve and manage the languages that can have Wiktionary entries, and the information associated with them. See [[Wiktionary:Languages]] for more information.
For the languages and language varieties that may be used in etymologies, see [[Module:etymology languages]]. For language families, which sometimes also appear in etymologies, see [[Module:families]].
This module provides access to other modules. To access the information from within a template, see [[Module:languages/templates]].
The information itself is stored in the various data modules that are subpages of this module. These modules should '''not''' be used directly by any other module, the data should only be accessed through the functions provided by this module.
Data submodules:
* [[Module:languages/data/2|Two-letter codes]]
* Three-letter codes by their first letter: {{#invoke:string/templates|gsub|abcdefghijklmnopqrstuvwxyz|%a|<nowiki /> [[Module:languages/data/3/%1| %1 ]]}}
* [[Module:languages/data/exceptional|Longer codes containing hyphens (<code>-</code>)]]
Extra data submodules (for less frequently used data):
* [[Module:languages/data/2/extra|Two-letter codes]]
* Three-letter codes by their first letter: {{#invoke:string/templates|gsub|abcdefghijklmnopqrstuvwxyz|%a|<nowiki /> [[Module:languages/data/3/%1/extra| %1 ]]}}
* [[Module:languages/data/exceptional/extra|Longer codes containing hyphens (<code>-</code>)]]
==Finding and retrieving languages==
The module exports a number of functions that are used to find languages.
{{module documentation|section_level=3|identifier=^export}}
==Language objects==
A <code class="nf">Language</code> object is returned from one of the functions above. It is a Lua representation of a language and the data associated with it. It has a number of methods that can be called on it, using the <code>:</code> syntax. For example:
<syntaxhighlight lang="lua">
local m_languages = require("Module:languages")
local lang = m_languages.getByCode("fr")
local name = lang:getCanonicalName()
-- "name" will now be "French"
</syntaxhighlight>
{{module documentation|section_level=3|identifier=^Language|omit_intro=1}}
==Error function==
See [[Module:languages/error]].
==Subpages==
{{subpages|Module:languages}}
==See also==
* [[Module:families]]
<includeonly>
{{module cat|-|Language and script,JSON-generating}}
</includeonly>
ozfb44egvrsll6kcf9f1s53umjfstom
มอดูล:egy-hieroglyphs/data
828
2331430
5723329
2026-05-22T01:32:58Z
OctraBot
3198
สร้างหน้าด้วย "local data = {} data.mdc_complex_group_normalization_map = { ["a&r&t"] = "a:r*t", ["D&d&t"] = "D&d:t", ["D&t&N17"] = "D&t:N17", ["D&t&tA"] = "D&t:tA", ["D&z&f"] = "D&z:f", ["D52&t&r"] = "D52:t*r", ["f&r&t"] = "f:r:t", ["ini&n&n"] = "ini:n:n", ["mr&r&t"] = "U7:r*t", ["n&n&a"] = "n:n:a", ["n&n&f"] = "n:n:f", ["pr&r&t"] = "pr:r*t", ["r&D&d"] = "r:D&d", ["t&r&f"] = "t:r:f", ["wr&r&t"] = "wr:r:t", ["x&r&t"] = "x:r*t", ["z&A1&Z1"] = "z:A..."
5723329
Scribunto
text/plain
local data = {}
data.mdc_complex_group_normalization_map = {
["a&r&t"] = "a:r*t",
["D&d&t"] = "D&d:t",
["D&t&N17"] = "D&t:N17",
["D&t&tA"] = "D&t:tA",
["D&z&f"] = "D&z:f",
["D52&t&r"] = "D52:t*r",
["f&r&t"] = "f:r:t",
["ini&n&n"] = "ini:n:n",
["mr&r&t"] = "U7:r*t",
["n&n&a"] = "n:n:a",
["n&n&f"] = "n:n:f",
["pr&r&t"] = "pr:r*t",
["r&D&d"] = "r:D&d",
["t&r&f"] = "t:r:f",
["wr&r&t"] = "wr:r:t",
["x&r&t"] = "x:r*t",
["z&A1&Z1"] = "z:A1*Z1",
}
data.mdc_normalization_map = {
["A1s"] = "A1",
["A2s"] = "A2",
["A21A"] = "A21",
["A25as"] = "A25A",
["A40s"] = "A40",
["B1s"] = "B1",
["D58s"] = "D58",
["F31s"] = "F31",
["F37B"] = "F37A",
["F51*F51*F51"] = "F51A",
["F51A"] = "F51",
["F51B"] = "F51C",
["G1s"] = "G1",
["G5s"] = "G5",
["G7AA"] = "G7B",
["G17s"] = "G17",
["G43s"] = "G43",
["I1S"] = "I1",
["Aa40"] = "M1A",
["M12s"] = "M12",
["M17s"] = "M17",
["M23s"] = "M23",
["N33B"] = "N33",
["N33C"] = "N33",
["N35B"] = "N35A",
["O29V"] = "O29A",
["S29s"] = "S29",
["U35s"] = "U35",
["V11A"] = "V11B",
["V10A"] = "V11A",
["W19s"] = "W19",
["Y1V"] = "Y1A",
["Z1s"] = "Z1",
["Z2s"] = "Z2",
["Z2ss"] = "Z2A",
["Z1:Z1%*Z1"] = "Z2C",
["Z1%*Z1:Z1"] = "Z2D",
["Z3as"] = "Z3A",
["N33B:N33B:N33B"] = "Z3B",
["Z91"] = "Z16",
["Z4B"] = "Z16A",
["Z92"] = "Z16A",
["Z93"] = "Z16B",
["Z94"] = "Z16C",
["a&A1"] = "a:A1",
["a&b&t"] = "a:b*t",
["a&D"] = "a:D",
["a&F51a&Z2"] = "a:F51:Z2",
["a&n&D"] = "a:n:D",
["a&t&x"] = "a:t:x",
["A&t"] = "A@t",
["A1&n"] = "A1:n",
["A1&r"] = "A1:r",
["Aa8&D"] = "Aa8:D",
["Aa16&m"] = "Aa16:m",
["b&Hb"] = "b:Hb",
["b&t"] = "b:t",
["B2&Z2"] = "B2:Z2",
["bA&k"] = "bA:k",
["D&d"] = "D&d",
["D&ra"] = "D&ra",
["D&t"] = "D&t",
["d&w"] = "d:w",
["D&z"] = "D&z",
["f&n&d"] = "f:n:d",
["F39&Z1"] = "F39:Z1",
["G14&t"] = "G14@t",
["Hmw&kA"] = "kAHm",
["H8W"] = "t:H8:Z2A",
["ini&n"] = "ini:n",
["ir&n&f"] = "D6:n:f",
["ir&n&k"] = "D6:n:k",
["ir&r&f"] = "D6:r:f",
["ir&t&f"] = "D6:t:f",
["ir&t&n"] = "D6:t:n",
["m&&t"] = "m:t",
["m&a"] = "m:a",
["m&f"] = "m:f",
["m&n"] = "m:n",
["m&r"] = "m:r",
["m&t"] = "m@t",
["mn&n&t"] = "mn:n:t",
["mn&n&x"] = "mn:n:x",
["mr&&r&r"] = "U7:r*r",
["mr&r&r"] = "U7:r:r",
["n&A1"] = "n:A1",
["n&D"] = "n:D",
["n&f&n"] = "n:f:n",
["n&f&t"] = "n:f:t",
["n&nH"] = "n:nH",
["n&nm&m"] = "n:nm*m",
["n&t&f"] = "n:t:f",
["n&t&k"] = "n:t:k",
["n&t&t"] = "n:t:t",
["n&U19&nw"] = "n:U19:nw*W",
["n&w"] = "n:w",
["n&wa&w"] = "n:wa:W",
["n&x&f"] = "n:x:f",
["n&xAst&t"] = "n:xAst:t*Z1",
["n&xt"] = "n:xt:x*t",
["nswt&bity"] = "sw:t-bit:t",
["N35C"] = "n:n",
["p&z&f"] = "p:z:f",
["r&a&k"] = "r:a:k",
["r&a&t"] = "r:a:t",
["r&A1"] = "r:A1",
["r&f&n"] = "r:f:n",
["r&n&f"] = "r:n:f",
["r&r&t"] = "r*r:t:D6",
["r&r"] = "r*r",
["r&t"] = "r*t",
["S28&Z2"] = "S28:Z2",
["sSm&m"] = "sSm:m",
["sti&t"] = "sti:t",
["stp&s"] = "stp&z",
["t&A"] = "t:A",
["t&A19"] = "t:A19",
["t&H"] = "t:H",
["t&I12"] = "t:I12",
["t&M30"] = "t:M30",
["t&nw"] = "t:n:nw*W",
["t&r"] = "t*r",
["t&s"] = "t:s",
["t&sti"] = "t:sti",
["t&T30"] = "t:T30",
["w&&t"] = "w:t",
["w&t"] = "w@t",
["w&y"] = "w@y",
["wa&W&a"] = "wa:W:a",
["wn&n&t"] = "wn:n:t",
["x&f&t"] = "x:f:t",
["x&mt&t"] = "x:mt:t",
["Y1&A1"] = "Y1:A1",
["Y1&n&f"] = "Y1:n:f",
["z&A1"] = "z:A1",
["z&Ab&b"] = "z:Ab*b",
["z&Dr&r"] = "z:Dr:r",
["z&w"] = "z:w",
["z&X&k"] = "z:X:k",
["z&x&r"] = "z:x:r",
["Z6&A1"] = "Z6:A1",
["xAswt"] = "xAst:t*Z1:Z2",
["nbAki"] = "n:(bA:k)*A1",
["G43A"] = "t-w",
["I11A"] = "D&t:N17",
["L2A"] = "sw:t-bit:t",
["M17A"] = "i-i",
["M22A"] = "sw-sw",
["O30A"] = "O30-O30-O30-O30",
["W14A"] = "H*Hz:z",
["W24A"] = "nw*nw*nw",
["H_SPACE"] = ".",
["Tr_HSPACE"] = ".",
["SPACE"] = "..",
["Tr_SPACE"] = "..",
["BLACKDOT"] = "O",
["REDDOT"] = "o",
["<0"] = "<",
["0>"] = ">",
["<h0"] = "<h1",
["h0>"] = "h1>",
["TWO"] = "Z15A",
["THREE"] = "Z15B",
["VTHREE"] = "Z16B",
}
data.mdc_phonogram_map = {
["mSa"] = "A12",
["xr"] = "A15",
["Xrd"] = "A17",
["sr"] = "A21",
["mniw"] = "A33",
["qiz"] = "A38",
["iry"] = "A47",
["Sps"] = "A50",
["Spsi"] = "A51",
["x"] = "Aa1",
["mAa"] = "Aa11",
["gs"] = "Aa13",
["im"] = "Aa13",
["M"] = "Aa15",
["sA"] = "Aa17",
["apr"] = "Aa20",
["wDa"] = "Aa21",
["nD"] = "Aa27",
["qd"] = "Aa28",
["Xkr"] = "Aa30",
["Hp"] = "Aa5",
["qn"] = "Aa8",
["msi"] = "B3",
["mAat"] = "C10",
["HH"] = "C11",
["DHwty"] = "C3",
["Xnmw"] = "C4",
["inpw"] = "C6",
["stX"] = "C7",
["mnw"] = "C8",
["tp"] = "D1",
["wDAt"] = "D10",
["R"] = "D153",
["fnD"] = "D19",
["Hr"] = "D2",
["r"] = "D21",
["rA"] = "D21",
["spt"] = "D24",
["spty"] = "D25",
["mnD"] = "D27",
["kA"] = "D28",
["Sny"] = "D3",
["aHA"] = "D34",
["a"] = "D36",
["ir"] = "D4",
["Dsr"] = "D45",
["d"] = "D46",
["Dba"] = "D50",
["mt"] = "D52",
["gH"] = "D56",
["gHs"] = "D56",
["rd"] = "D56",
["sbq"] = "D56",
["b"] = "D58",
["ab"] = "D59",
["wab"] = "D60",
["sAH"] = "D61",
["rmi"] = "D9",
["zAb"] = "E17",
["mAi"] = "E22",
["l"] = "E23",
["rw"] = "E23",
["Aby"] = "E24",
["wn"] = "E34",
["zzmt"] = "E6",
["wsr"] = "F12",
["wp"] = "F13",
["db"] = "F16",
["Hw"] = "F18",
["bH"] = "F18",
["ns"] = "F20",
["DrD"] = "F21",
["idn"] = "F21",
["msDr"] = "F21",
["sDm"] = "F21",
["kfA"] = "F22",
["pH"] = "F22",
["xpS"] = "F23",
["wHm"] = "F25",
["Xn"] = "F26",
["sti"] = "F29",
["Sd"] = "F30",
["ms"] = "F31",
["X"] = "F32",
["sd"] = "F33",
["ib"] = "F34",
["nfr"] = "F35",
["zmA"] = "F36",
["imAx"] = "F39",
["HAt"] = "F4",
["Aw"] = "F40",
["spr"] = "F42",
["isw"] = "F44",
["iwa"] = "F44",
["pXr"] = "F46",
["qAb"] = "F46",
["SsA"] = "F5",
["A"] = "G1",
["mwt"] = "G14",
["nbty"] = "G16",
["m"] = "G17",
["mm"] = "G18",
["AA"] = "G2",
["nH"] = "G21",
["Db"] = "G22",
["rxyt"] = "G23",
["Ax"] = "G25",
["dSr"] = "G27",
["gm"] = "G28",
["bA"] = "G29",
["baHi"] = "G32",
["aq"] = "G35",
["wr"] = "G36",
["nDs"] = "G37",
["gb"] = "G38",
["zA"] = "G39",
["tyw"] = "G4",
["pA"] = "G40",
["xn"] = "G41",
["wSA"] = "G42",
["w"] = "G43",
["ww"] = "G44",
["mAw"] = "G46",
["TA"] = "G47",
["snD"] = "G54",
["pq"] = "H2",
["wSm"] = "H2",
["pAq"] = "H3",
["nr"] = "H4",
["Sw"] = "H6",
["aSA"] = "I1",
["D"] = "I10",
["DD"] = "I11",
["Styw"] = "I2",
["mzH"] = "I3",
["sbk"] = "I4",
["sAq"] = "I5",
["km"] = "I6",
["Hfn"] = "I8",
["f"] = "I9",
["in"] = "K1",
["ad"] = "K3",
["XA"] = "K4",
["bz"] = "K5",
["nSmt"] = "K6",
["xpr"] = "L1",
["bit"] = "L2",
["srqt"] = "L7",
["iAm"] = "M1",
["wdn"] = "M11",
["xA"] = "M12",
["1000"] = "M12",
["wAD"] = "M13",
["HA"] = "M16",
["i"] = "M17",
["ii"] = "M18",
["Hn"] = "M2",
["sxt"] = "M20",
["sm"] = "M21",
["nn"] = "M22A",
["sw"] = "M23",
["rsw"] = "M24",
["Sma"] = "M26",
["nDm"] = "M29",
["xt"] = "M3",
["bnr"] = "M30",
["bdt"] = "M34",
["Dr"] = "M36",
["rnp"] = "M4",
["iz"] = "M40",
["tr"] = "M6",
["SA"] = "M8",
["zSn"] = "M9",
["pt"] = "N1",
["Abd"] = "N11",
["iaH"] = "N11",
["dwA"] = "N14",
["sbA"] = "N14",
["dwAt"] = "N15",
["tA"] = "N16",
["iw"] = "N18",
["wDb"] = "N20",
["spAt"] = "N24",
["xAst"] = "N25",
["Dw"] = "N26",
["Axt"] = "N27",
["xa"] = "N28",
["q"] = "N29",
["iAt"] = "N30",
["n"] = "N35",
["mw"] = "N35A",
["S"] = "N37",
["iAdt"] = "N4",
["idt"] = "N4",
["Sm"] = "N40",
["id"] = "N41",
["hrw"] = "N5",
["ra"] = "N5",
["zw"] = "N5",
["Hnmmt"] = "N8",
["pzD"] = "N9",
["pr"] = "O1",
["aH"] = "O11",
["wsxt"] = "O15",
["kAr"] = "O18",
["zH"] = "O22",
["txn"] = "O25",
["iwn"] = "O28",
["aA"] = "O29",
["zxnt"] = "O30",
["z"] = "O34",
["zb"] = "O35",
["inb"] = "O36",
["qnbt"] = "O38A",
["h"] = "O4",
["Szp"] = "O42",
["ipt"] = "O45",
["nxn"] = "O47",
["niwt"] = "O49",
["zp"] = "O50",
["Snwt"] = "O51",
["Hwt"] = "O6",
["wHa"] = "P4",
["TAw"] = "P5",
["nfw"] = "P5",
["aHa"] = "P6",
["xrw"] = "P8",
["st"] = "Q1",
["wz"] = "Q2",
["p"] = "Q3",
["qrsw"] = "Q6",
["xAt"] = "R1",
["xAwt"] = "R1",
["Dd"] = "R11",
["dd"] = "R11",
["imnt"] = "R14",
["iAb"] = "R15",
["wx"] = "R16",
["xm"] = "R22",
["Htp"] = "R4",
["kAp"] = "R5",
["kp"] = "R5",
["snTr"] = "R7",
["nTr"] = "R8",
["nTrw"] = "R8A",
["bd"] = "R9",
["HDt"] = "S1",
["mDH"] = "S10",
["wsx"] = "S11",
["nbw"] = "S12",
["THn"] = "S15",
["tHn"] = "S15",
["mnit"] = "S18",
["sDAw"] = "S19",
["xtm"] = "S20",
["sT"] = "S22",
["dmD"] = "S23",
["Tz"] = "S24",
["Sndyt"] = "S26",
["mnxt"] = "S27",
["s"] = "S29",
["N"] = "S3",
["dSrt"] = "S3",
["sf"] = "S30",
["siA"] = "S32",
["Tb"] = "S33",
["anx"] = "S34",
["Swt"] = "S35",
["xw"] = "S37",
["HqA"] = "S38",
["awt"] = "S39",
["wAs"] = "S40",
["Dam"] = "S41",
["abA"] = "S42",
["sxm"] = "S42",
["xrp"] = "S42",
["md"] = "S43",
["Ams"] = "S44",
["nxxw"] = "S45",
["K"] = "S56",
["sxmty"] = "S6",
["xprS"] = "S7",
["Atf"] = "S8",
["Swty"] = "S9",
["pD"] = "T10",
["sXr"] = "T11",
["zin"] = "T11",
["zwn"] = "T11",
["Ai"] = "T12",
["Ar"] = "T12",
["rwD"] = "T12",
["rwd"] = "T12",
["rs"] = "T13",
["qmA"] = "T14",
["wrrt"] = "T17",
["Sms"] = "T18",
["qs"] = "T19",
["wa"] = "T21",
["sn"] = "T22",
["iH"] = "T24",
["DbA"] = "T25",
["Xr"] = "T28",
["nmt"] = "T29",
["HD"] = "T3",
["sSm"] = "T31",
["nm"] = "T34",
["HDD"] = "T6",
["pd"] = "T9",
["mA"] = "U1",
["it"] = "U10",
["HqAt"] = "U11",
["Sna"] = "U13",
["hb"] = "U13",
["tm"] = "U15",
["biA"] = "U16",
["grg"] = "U17",
["stp"] = "U21",
["mnx"] = "U22",
["Ab"] = "U23",
["Hmt"] = "U24",
["wbA"] = "U26",
["DA"] = "U28",
["rtH"] = "U31",
["zmn"] = "U32",
["ti"] = "U33",
["xsf"] = "U34",
["Hm"] = "U36",
["mxAt"] = "U38",
["mr"] = "U6",
["100"] = "V1",
["arq"] = "V12",
["T"] = "V13",
["iTi"] = "V15",
["TmA"] = "V19",
["XAr"] = "V19",
["mDt"] = "V19",
["sTA"] = "V2",
["10"] = "V20",
["mD"] = "V20",
["mH"] = "V22",
["wD"] = "V24",
["aD"] = "V26",
["H"] = "V28",
["sk"] = "V29",
["wAH"] = "V29",
["sTAw"] = "V3",
["nb"] = "V30",
["k"] = "V31",
["msn"] = "V32",
["sSr"] = "V33",
["idr"] = "V37",
["wA"] = "V4",
["snT"] = "V5",
["sS"] = "V6",
["Sn"] = "V7",
["iab"] = "W10",
["g"] = "W11",
["nzt"] = "W11",
["Hz"] = "W14",
["xnt"] = "W17",
["mi"] = "W19",
["bAs"] = "W2",
["Hnqt"] = "W22",
["nw"] = "W24",
["ini"] = "W25",
["Hb"] = "W3",
["Xnm"] = "W9",
["t"] = "X1",
["di"] = "X8",
["rdi"] = "X8",
["mDAt"] = "Y1",
["mnhd"] = "Y3",
["zS"] = "Y3",
["mn"] = "Y5",
["ibA"] = "Y6",
["zSSt"] = "Y8",
["imi"] = "Z11",
["y"] = "Z4",
["W"] = "Z7",
}
data.hiero_map = {
["A1"] = "𓀀",
["A2"] = "𓀁",
["A3"] = "𓀂",
["A4"] = "𓀃",
["A5"] = "𓀄",
["A5A"] = "𓀅",
["A6"] = "𓀆",
["A6A"] = "𓀇",
["A6B"] = "𓀈",
["A7"] = "𓀉",
["A8"] = "𓀊",
["A9"] = "𓀋",
["A10"] = "𓀌",
["A11"] = "𓀍",
["A12"] = "𓀎",
["A13"] = "𓀏",
["A14"] = "𓀐",
["A14A"] = "𓀑",
["A15"] = "𓀒",
["A16"] = "𓀓",
["A17"] = "𓀔",
["A17A"] = "𓀕",
["A18"] = "𓀖",
["A19"] = "𓀗",
["A20"] = "𓀘",
["A21"] = "𓀙",
["A22"] = "𓀚",
["A23"] = "𓀛",
["A24"] = "𓀜",
["A25"] = "𓀝",
["A26"] = "𓀞",
["A27"] = "𓀟",
["A28"] = "𓀠",
["A29"] = "𓀡",
["A30"] = "𓀢",
["A31"] = "𓀣",
["A32"] = "𓀤",
["A32A"] = "𓀥",
["A33"] = "𓀦",
["A34"] = "𓀧",
["A35"] = "𓀨",
["A36"] = "𓀩",
["A37"] = "𓀪",
["A38"] = "𓀫",
["A39"] = "𓀬",
["A40"] = "𓀭",
["A40A"] = "𓀮",
["A41"] = "𓀯",
["A42"] = "𓀰",
["A42A"] = "𓀱",
["A43"] = "𓀲",
["A43A"] = "𓀳",
["A44"] = "𓀴",
["A45"] = "𓀵",
["A45A"] = "𓀶",
["A46"] = "𓀷",
["A47"] = "𓀸",
["A48"] = "𓀹",
["A49"] = "𓀺",
["A50"] = "𓀻",
["A51"] = "𓀼",
["A52"] = "𓀽",
["A53"] = "𓀾",
["A54"] = "𓀿",
["A55"] = "𓁀",
["A56"] = "𓁁",
["A57"] = "𓁂",
["A58"] = "𓁃",
["A59"] = "𓁄",
["A60"] = "𓁅",
["A61"] = "𓁆",
["A62"] = "𓁇",
["A63"] = "𓁈",
["A64"] = "𓁉",
["A65"] = "𓁊",
["A66"] = "𓁋",
["A67"] = "𓁌",
["A68"] = "𓁍",
["A69"] = "𓁎",
["A70"] = "𓁏",
["B1"] = "𓁐",
["B2"] = "𓁑",
["B3"] = "𓁒",
["B4"] = "𓁓",
["B5"] = "𓁔",
["B5A"] = "𓁕",
["B6"] = "𓁖",
["B7"] = "𓁗",
["B8"] = "𓁘",
["B9"] = "𓁙",
["C1"] = "𓁚",
["C2"] = "𓁛",
["C2A"] = "𓁜",
["C2B"] = "𓁝",
["C2C"] = "𓁞",
["C3"] = "𓁟",
["C4"] = "𓁠",
["C5"] = "𓁡",
["C6"] = "𓁢",
["C7"] = "𓁣",
["C8"] = "𓁤",
["C9"] = "𓁥",
["C10"] = "𓁦",
["C10A"] = "𓁧",
["C11"] = "𓁨",
["C12"] = "𓁩",
["C13"] = "𓁪",
["C14"] = "𓁫",
["C15"] = "𓁬",
["C16"] = "𓁭",
["C17"] = "𓁮",
["C18"] = "𓁯",
["C19"] = "𓁰",
["C20"] = "𓁱",
["C21"] = "𓁲",
["C22"] = "𓁳",
["C23"] = "𓁴",
["C24"] = "𓁵",
["D1"] = "𓁶",
["D2"] = "𓁷",
["D3"] = "𓁸",
["D4"] = "𓁹",
["D5"] = "𓁺",
["D6"] = "𓁻",
["D7"] = "𓁼",
["D8"] = "𓁽",
["D8A"] = "𓁾",
["D9"] = "𓁿",
["D10"] = "𓂀",
["D11"] = "𓂁",
["D12"] = "𓂂",
["D13"] = "𓂃",
["D14"] = "𓂄",
["D15"] = "𓂅",
["D16"] = "𓂆",
["D17"] = "𓂇",
["D18"] = "𓂈",
["D19"] = "𓂉",
["D20"] = "𓂊",
["D21"] = "𓂋",
["D22"] = "𓂌",
["D23"] = "𓂍",
["D24"] = "𓂎",
["D25"] = "𓂏",
["D26"] = "𓂐",
["D27"] = "𓂑",
["D27A"] = "𓂒",
["D28"] = "𓂓",
["D29"] = "𓂔",
["D30"] = "𓂕",
["D31"] = "𓂖",
["D31A"] = "𓂗",
["D32"] = "𓂘",
["D33"] = "𓂙",
["D34"] = "𓂚",
["D34A"] = "𓂛",
["D35"] = "𓂜",
["D36"] = "𓂝",
["D37"] = "𓂞",
["D38"] = "𓂟",
["D39"] = "𓂠",
["D40"] = "𓂡",
["D41"] = "𓂢",
["D42"] = "𓂣",
["D43"] = "𓂤",
["D44"] = "𓂥",
["D45"] = "𓂦",
["D46"] = "𓂧",
["D46A"] = "𓂨",
["D47"] = "𓂩",
["D48"] = "𓂪",
["D48A"] = "𓂫",
["D49"] = "𓂬",
["D50"] = "𓂭",
["D50A"] = "𓂮",
["D50B"] = "𓂯",
["D50C"] = "𓂰",
["D50D"] = "𓂱",
["D50E"] = "𓂲",
["D50F"] = "𓂳",
["D50G"] = "𓂴",
["D50H"] = "𓂵",
["D50I"] = "𓂶",
["D51"] = "𓂷",
["D52"] = "𓂸",
["D52A"] = "𓂹",
["D53"] = "𓂺",
["D54"] = "𓂻",
["D54A"] = "𓂼",
["D55"] = "𓂽",
["D56"] = "𓂾",
["D57"] = "𓂿",
["D58"] = "𓃀",
["D59"] = "𓃁",
["D60"] = "𓃂",
["D61"] = "𓃃",
["D62"] = "𓃄",
["D63"] = "𓃅",
["D64"] = "𓃆",
["D65"] = "𓃇",
["D66"] = "𓃈",
["D67"] = "𓃉",
["D67A"] = "𓃊",
["D67B"] = "𓃋",
["D67C"] = "𓃌",
["D67D"] = "𓃍",
["D67E"] = "𓃎",
["D67F"] = "𓃏",
["D67G"] = "𓃐",
["D67H"] = "𓃑",
["E1"] = "𓃒",
["E2"] = "𓃓",
["E3"] = "𓃔",
["E4"] = "𓃕",
["E5"] = "𓃖",
["E6"] = "𓃗",
["E7"] = "𓃘",
["E8"] = "𓃙",
["E8A"] = "𓃚",
["E9"] = "𓃛",
["E9A"] = "𓃜",
["E10"] = "𓃝",
["E11"] = "𓃞",
["E12"] = "𓃟",
["E13"] = "𓃠",
["E14"] = "𓃡",
["E15"] = "𓃢",
["E16"] = "𓃣",
["E16A"] = "𓃤",
["E17"] = "𓃥",
["E17A"] = "𓃦",
["E18"] = "𓃧",
["E19"] = "𓃨",
["E20"] = "𓃩",
["E20A"] = "𓃪",
["E21"] = "𓃫",
["E22"] = "𓃬",
["E23"] = "𓃭",
["E24"] = "𓃮",
["E25"] = "𓃯",
["E26"] = "𓃰",
["E27"] = "𓃱",
["E28"] = "𓃲",
["E28A"] = "𓃳",
["E29"] = "𓃴",
["E30"] = "𓃵",
["E31"] = "𓃶",
["E32"] = "𓃷",
["E33"] = "𓃸",
["E34"] = "𓃹",
["E34A"] = "𓃺",
["E36"] = "𓃻",
["E37"] = "𓃼",
["E38"] = "𓃽",
["F1"] = "𓃾",
["F1A"] = "𓃿",
["F2"] = "𓄀",
["F3"] = "𓄁",
["F4"] = "𓄂",
["F5"] = "𓄃",
["F6"] = "𓄄",
["F7"] = "𓄅",
["F8"] = "𓄆",
["F9"] = "𓄇",
["F10"] = "𓄈",
["F11"] = "𓄉",
["F12"] = "𓄊",
["F13"] = "𓄋",
["F13A"] = "𓄌",
["F14"] = "𓄍",
["F15"] = "𓄎",
["F16"] = "𓄏",
["F17"] = "𓄐",
["F18"] = "𓄑",
["F19"] = "𓄒",
["F20"] = "𓄓",
["F21"] = "𓄔",
["F21A"] = "𓄕",
["F22"] = "𓄖",
["F23"] = "𓄗",
["F24"] = "𓄘",
["F25"] = "𓄙",
["F26"] = "𓄚",
["F27"] = "𓄛",
["F28"] = "𓄜",
["F29"] = "𓄝",
["F30"] = "𓄞",
["F31"] = "𓄟",
["F31A"] = "𓄠",
["F32"] = "𓄡",
["F33"] = "𓄢",
["F34"] = "𓄣",
["F35"] = "𓄤",
["F36"] = "𓄥",
["F37"] = "𓄦",
["F37A"] = "𓄧",
["F38"] = "𓄨",
["F38A"] = "𓄩",
["F39"] = "𓄪",
["F40"] = "𓄫",
["F41"] = "𓄬",
["F42"] = "𓄭",
["F43"] = "𓄮",
["F44"] = "𓄯",
["F45"] = "𓄰",
["F45A"] = "𓄱",
["F46"] = "𓄲",
["F46A"] = "𓄳",
["F47"] = "𓄴",
["F47A"] = "𓄵",
["F48"] = "𓄶",
["F49"] = "𓄷",
["F50"] = "𓄸",
["F51"] = "𓄹",
["F51A"] = "𓄺",
["F51B"] = "𓄻",
["F51C"] = "𓄼",
["F52"] = "𓄽",
["F53"] = "𓄾",
["G1"] = "𓄿",
["G2"] = "𓅀",
["G3"] = "𓅁",
["G4"] = "𓅂",
["G5"] = "𓅃",
["G6"] = "𓅄",
["G6A"] = "𓅅",
["G7"] = "𓅆",
["G7A"] = "𓅇",
["G7B"] = "𓅈",
["G8"] = "𓅉",
["G9"] = "𓅊",
["G10"] = "𓅋",
["G11"] = "𓅌",
["G11A"] = "𓅍",
["G12"] = "𓅎",
["G13"] = "𓅏",
["G14"] = "𓅐",
["G15"] = "𓅑",
["G16"] = "𓅒",
["G17"] = "𓅓",
["G18"] = "𓅔",
["G19"] = "𓅕",
["G20"] = "𓅖",
["G20A"] = "𓅗",
["G21"] = "𓅘",
["G22"] = "𓅙",
["G23"] = "𓅚",
["G24"] = "𓅛",
["G25"] = "𓅜",
["G26"] = "𓅝",
["G26A"] = "𓅞",
["G27"] = "𓅟",
["G28"] = "𓅠",
["G29"] = "𓅡",
["G30"] = "𓅢",
["G31"] = "𓅣",
["G32"] = "𓅤",
["G33"] = "𓅥",
["G34"] = "𓅦",
["G35"] = "𓅧",
["G36"] = "𓅨",
["G36A"] = "𓅩",
["G37"] = "𓅪",
["G37A"] = "𓅫",
["G38"] = "𓅬",
["G39"] = "𓅭",
["G40"] = "𓅮",
["G41"] = "𓅯",
["G42"] = "𓅰",
["G43"] = "𓅱",
["G43A"] = "𓅲",
["G44"] = "𓅳",
["G45"] = "𓅴",
["G45A"] = "𓅵",
["G46"] = "𓅶",
["G47"] = "𓅷",
["G48"] = "𓅸",
["G49"] = "𓅹",
["G50"] = "𓅺",
["G51"] = "𓅻",
["G52"] = "𓅼",
["G53"] = "𓅽",
["G54"] = "𓅾",
["H1"] = "𓅿",
["H2"] = "𓆀",
["H3"] = "𓆁",
["H4"] = "𓆂",
["H5"] = "𓆃",
["H6"] = "𓆄",
["H6A"] = "𓆅",
["H7"] = "𓆆",
["H8"] = "𓆇",
["I1"] = "𓆈",
["I2"] = "𓆉",
["I3"] = "𓆊",
["I4"] = "𓆋",
["I5"] = "𓆌",
["I5A"] = "𓆍",
["I6"] = "𓆎",
["I7"] = "𓆏",
["I8"] = "𓆐",
["I9"] = "𓆑",
["I9A"] = "𓆒",
["I10"] = "𓆓",
["I10A"] = "𓆔",
["I11"] = "𓆕",
["I11A"] = "𓆖",
["I12"] = "𓆗",
["I13"] = "𓆘",
["I14"] = "𓆙",
["I15"] = "𓆚",
["K1"] = "𓆛",
["K2"] = "𓆜",
["K3"] = "𓆝",
["K4"] = "𓆞",
["K5"] = "𓆟",
["K6"] = "𓆠",
["K7"] = "𓆡",
["K8"] = "𓆢",
["L1"] = "𓆣",
["L2"] = "𓆤",
["L2A"] = "𓆥",
["L3"] = "𓆦",
["L4"] = "𓆧",
["L5"] = "𓆨",
["L6"] = "𓆩",
["L6A"] = "𓆪",
["L7"] = "𓆫",
["L8"] = "𓆬",
["M1"] = "𓆭",
["M1A"] = "𓆮",
["M1B"] = "𓆯",
["M2"] = "𓆰",
["M3"] = "𓆱",
["M3A"] = "𓆲",
["M4"] = "𓆳",
["M5"] = "𓆴",
["M6"] = "𓆵",
["M7"] = "𓆶",
["M8"] = "𓆷",
["M9"] = "𓆸",
["M10"] = "𓆹",
["M10A"] = "𓆺",
["M11"] = "𓆻",
["M12"] = "𓆼",
["M12A"] = "𓆽",
["M12B"] = "𓆾",
["M12C"] = "𓆿",
["M12D"] = "𓇀",
["M12E"] = "𓇁",
["M12F"] = "𓇂",
["M12G"] = "𓇃",
["M12H"] = "𓇄",
["M13"] = "𓇅",
["M14"] = "𓇆",
["M15"] = "𓇇",
["M15A"] = "𓇈",
["M16"] = "𓇉",
["M16A"] = "𓇊",
["M17"] = "𓇋",
["M17A"] = "𓇌",
["M18"] = "𓇍",
["M19"] = "𓇎",
["M20"] = "𓇏",
["M21"] = "𓇐",
["M22"] = "𓇑",
["M22A"] = "𓇒",
["M23"] = "𓇓",
["M24"] = "𓇔",
["M24A"] = "𓇕",
["M25"] = "𓇖",
["M26"] = "𓇗",
["M27"] = "𓇘",
["M28"] = "𓇙",
["M28A"] = "𓇚",
["M29"] = "𓇛",
["M30"] = "𓇜",
["M31"] = "𓇝",
["M31A"] = "𓇞",
["M32"] = "𓇟",
["M33"] = "𓇠",
["M33A"] = "𓇡",
["M33B"] = "𓇢",
["M34"] = "𓇣",
["M35"] = "𓇤",
["M36"] = "𓇥",
["M37"] = "𓇦",
["M38"] = "𓇧",
["M39"] = "𓇨",
["M40"] = "𓇩",
["M40A"] = "𓇪",
["M41"] = "𓇫",
["M42"] = "𓇬",
["M43"] = "𓇭",
["M44"] = "𓇮",
["N1"] = "𓇯",
["N2"] = "𓇰",
["N3"] = "𓇱",
["N4"] = "𓇲",
["N5"] = "𓇳",
["N6"] = "𓇴",
["N7"] = "𓇵",
["N8"] = "𓇶",
["N9"] = "𓇷",
["N10"] = "𓇸",
["N11"] = "𓇹",
["N12"] = "𓇺",
["N13"] = "𓇻",
["N14"] = "𓇼",
["N15"] = "𓇽",
["N16"] = "𓇾",
["N17"] = "𓇿",
["N18"] = "𓈀",
["N18A"] = "𓈁",
["N18B"] = "𓈂",
["N19"] = "𓈃",
["N20"] = "𓈄",
["N21"] = "𓈅",
["N22"] = "𓈆",
["N23"] = "𓈇",
["N24"] = "𓈈",
["N25"] = "𓈉",
["N25A"] = "𓈊",
["N26"] = "𓈋",
["N27"] = "𓈌",
["N28"] = "𓈍",
["N29"] = "𓈎",
["N30"] = "𓈏",
["N31"] = "𓈐",
["N32"] = "𓈑",
["N33"] = "𓈒",
["N33A"] = "𓈓",
["N34"] = "𓈔",
["N34A"] = "𓈕",
["N35"] = "𓈖",
["N35A"] = "𓈗",
["N36"] = "𓈘",
["N37"] = "𓈙",
["N37A"] = "𓈚",
["N38"] = "𓈛",
["N39"] = "𓈜",
["N40"] = "𓈝",
["N41"] = "𓈞",
["N42"] = "𓈟",
["NL1"] = "𓈠",
["NL2"] = "𓈡",
["NL3"] = "𓈢",
["NL4"] = "𓈣",
["NL5"] = "𓈤",
["NL5A"] = "𓈥",
["NL6"] = "𓈦",
["NL7"] = "𓈧",
["NL8"] = "𓈨",
["NL9"] = "𓈩",
["NL10"] = "𓈪",
["NL11"] = "𓈫",
["NL12"] = "𓈬",
["NL13"] = "𓈭",
["NL14"] = "𓈮",
["NL15"] = "𓈯",
["NL16"] = "𓈰",
["NL17"] = "𓈱",
["NL17A"] = "𓈲",
["NL18"] = "𓈳",
["NL19"] = "𓈴",
["NL20"] = "𓈵",
["NU1"] = "𓈶",
["NU2"] = "𓈷",
["NU3"] = "𓈸",
["NU4"] = "𓈹",
["NU5"] = "𓈺",
["NU6"] = "𓈻",
["NU7"] = "𓈼",
["NU8"] = "𓈽",
["NU9"] = "𓈾",
["NU10"] = "𓈿",
["NU10A"] = "𓉀",
["NU11"] = "𓉁",
["NU11A"] = "𓉂",
["NU12"] = "𓉃",
["NU13"] = "𓉄",
["NU14"] = "𓉅",
["NU15"] = "𓉆",
["NU16"] = "𓉇",
["NU17"] = "𓉈",
["NU18"] = "𓉉",
["NU18A"] = "𓉊",
["NU19"] = "𓉋",
["NU20"] = "𓉌",
["NU21"] = "𓉍",
["NU22"] = "𓉎",
["NU22A"] = "𓉏",
["O1"] = "𓉐",
["O1A"] = "𓉑",
["O2"] = "𓉒",
["O3"] = "𓉓",
["O4"] = "𓉔",
["O5"] = "𓉕",
["O5A"] = "𓉖",
["O6"] = "𓉗",
["O6A"] = "𓉘",
["O6B"] = "𓉙",
["O6C"] = "𓉚",
["O6D"] = "𓉛",
["O6E"] = "𓉜",
["O6F"] = "𓉝",
["O7"] = "𓉞",
["O8"] = "𓉟",
["O9"] = "𓉠",
["O10"] = "𓉡",
["O10A"] = "𓉢",
["O10B"] = "𓉣",
["O10C"] = "𓉤",
["O11"] = "𓉥",
["O12"] = "𓉦",
["O13"] = "𓉧",
["O14"] = "𓉨",
["O15"] = "𓉩",
["O16"] = "𓉪",
["O17"] = "𓉫",
["O18"] = "𓉬",
["O19"] = "𓉭",
["O19A"] = "𓉮",
["O20"] = "𓉯",
["O20A"] = "𓉰",
["O21"] = "𓉱",
["O22"] = "𓉲",
["O23"] = "𓉳",
["O24"] = "𓉴",
["O24A"] = "𓉵",
["O25"] = "𓉶",
["O25A"] = "𓉷",
["O26"] = "𓉸",
["O27"] = "𓉹",
["O28"] = "𓉺",
["O29"] = "𓉻",
["O29A"] = "𓉼",
["O30"] = "𓉽",
["O30A"] = "𓉾",
["O31"] = "𓉿",
["O32"] = "𓊀",
["O33"] = "𓊁",
["O33A"] = "𓊂",
["O34"] = "𓊃",
["O35"] = "𓊄",
["O36"] = "𓊅",
["O36A"] = "𓊆",
["O36B"] = "𓊇",
["O36C"] = "𓊈",
["O36D"] = "𓊉",
["O37"] = "𓊊",
["O38"] = "𓊋",
["O39"] = "𓊌",
["O40"] = "𓊍",
["O41"] = "𓊎",
["O42"] = "𓊏",
["O43"] = "𓊐",
["O44"] = "𓊑",
["O45"] = "𓊒",
["O46"] = "𓊓",
["O47"] = "𓊔",
["O48"] = "𓊕",
["O49"] = "𓊖",
["O50"] = "𓊗",
["O50A"] = "𓊘",
["O50B"] = "𓊙",
["O51"] = "𓊚",
["P1"] = "𓊛",
["P1A"] = "𓊜",
["P2"] = "𓊝",
["P3"] = "𓊞",
["P3A"] = "𓊟",
["P4"] = "𓊠",
["P5"] = "𓊡",
["P6"] = "𓊢",
["P7"] = "𓊣",
["P8"] = "𓊤",
["P9"] = "𓊥",
["P10"] = "𓊦",
["P11"] = "𓊧",
["Q1"] = "𓊨",
["Q2"] = "𓊩",
["Q3"] = "𓊪",
["Q4"] = "𓊫",
["Q5"] = "𓊬",
["Q6"] = "𓊭",
["Q7"] = "𓊮",
["R1"] = "𓊯",
["R2"] = "𓊰",
["R2A"] = "𓊱",
["R3"] = "𓊲",
["R3A"] = "𓊳",
["R3B"] = "𓊴",
["R4"] = "𓊵",
["R5"] = "𓊶",
["R6"] = "𓊷",
["R7"] = "𓊸",
["R8"] = "𓊹",
["R9"] = "𓊺",
["R10"] = "𓊻",
["R10A"] = "𓊼",
["R11"] = "𓊽",
["R12"] = "𓊾",
["R13"] = "𓊿",
["R14"] = "𓋀",
["R15"] = "𓋁",
["R16"] = "𓋂",
["R16A"] = "𓋃",
["R17"] = "𓋄",
["R18"] = "𓋅",
["R19"] = "𓋆",
["R20"] = "𓋇",
["R21"] = "𓋈",
["R22"] = "𓋉",
["R23"] = "𓋊",
["R24"] = "𓋋",
["R25"] = "𓋌",
["R26"] = "𓋍",
["R27"] = "𓋎",
["R28"] = "𓋏",
["R29"] = "𓋐",
["S1"] = "𓋑",
["S2"] = "𓋒",
["S2A"] = "𓋓",
["S3"] = "𓋔",
["S4"] = "𓋕",
["S5"] = "𓋖",
["S6"] = "𓋗",
["S6A"] = "𓋘",
["S7"] = "𓋙",
["S8"] = "𓋚",
["S9"] = "𓋛",
["S10"] = "𓋜",
["S11"] = "𓋝",
["S12"] = "𓋞",
["S13"] = "𓋟",
["S14"] = "𓋠",
["S14A"] = "𓋡",
["S14B"] = "𓋢",
["S15"] = "𓋣",
["S16"] = "𓋤",
["S17"] = "𓋥",
["S17A"] = "𓋦",
["S18"] = "𓋧",
["S19"] = "𓋨",
["S20"] = "𓋩",
["S21"] = "𓋪",
["S22"] = "𓋫",
["S23"] = "𓋬",
["S24"] = "𓋭",
["S25"] = "𓋮",
["S26"] = "𓋯",
["S26A"] = "𓋰",
["S26B"] = "𓋱",
["S27"] = "𓋲",
["S28"] = "𓋳",
["S29"] = "𓋴",
["S30"] = "𓋵",
["S31"] = "𓋶",
["S32"] = "𓋷",
["S33"] = "𓋸",
["S34"] = "𓋹",
["S35"] = "𓋺",
["S35A"] = "𓋻",
["S36"] = "𓋼",
["S37"] = "𓋽",
["S38"] = "𓋾",
["S39"] = "𓋿",
["S40"] = "𓌀",
["S41"] = "𓌁",
["S42"] = "𓌂",
["S43"] = "𓌃",
["S44"] = "𓌄",
["S45"] = "𓌅",
["S46"] = "𓌆",
["T1"] = "𓌇",
["T2"] = "𓌈",
["T3"] = "𓌉",
["T3A"] = "𓌊",
["T4"] = "𓌋",
["T5"] = "𓌌",
["T6"] = "𓌍",
["T7"] = "𓌎",
["T7A"] = "𓌏",
["T8"] = "𓌐",
["T8A"] = "𓌑",
["T9"] = "𓌒",
["T9A"] = "𓌓",
["T10"] = "𓌔",
["T11"] = "𓌕",
["T11A"] = "𓌖",
["T12"] = "𓌗",
["T13"] = "𓌘",
["T14"] = "𓌙",
["T15"] = "𓌚",
["T16"] = "𓌛",
["T16A"] = "𓌜",
["T17"] = "𓌝",
["T18"] = "𓌞",
["T19"] = "𓌟",
["T20"] = "𓌠",
["T21"] = "𓌡",
["T22"] = "𓌢",
["T23"] = "𓌣",
["T24"] = "𓌤",
["T25"] = "𓌥",
["T26"] = "𓌦",
["T27"] = "𓌧",
["T28"] = "𓌨",
["T29"] = "𓌩",
["T30"] = "𓌪",
["T31"] = "𓌫",
["T32"] = "𓌬",
["T32A"] = "𓌭",
["T33"] = "𓌮",
["T33A"] = "𓌯",
["T34"] = "𓌰",
["T35"] = "𓌱",
["T36"] = "𓌲",
["U1"] = "𓌳",
["U2"] = "𓌴",
["U3"] = "𓌵",
["U4"] = "𓌶",
["U5"] = "𓌷",
["U6"] = "𓌸",
["U6A"] = "𓌹",
["U6B"] = "𓌺",
["U7"] = "𓌻",
["U8"] = "𓌼",
["U9"] = "𓌽",
["U10"] = "𓌾",
["U11"] = "𓌿",
["U12"] = "𓍀",
["U13"] = "𓍁",
["U14"] = "𓍂",
["U15"] = "𓍃",
["U16"] = "𓍄",
["U17"] = "𓍅",
["U18"] = "𓍆",
["U19"] = "𓍇",
["U20"] = "𓍈",
["U21"] = "𓍉",
["U22"] = "𓍊",
["U23"] = "𓍋",
["U23A"] = "𓍌",
["U24"] = "𓍍",
["U25"] = "𓍎",
["U26"] = "𓍏",
["U27"] = "𓍐",
["U28"] = "𓍑",
["U29"] = "𓍒",
["U29A"] = "𓍓",
["U30"] = "𓍔",
["U31"] = "𓍕",
["U32"] = "𓍖",
["U32A"] = "𓍗",
["U33"] = "𓍘",
["U34"] = "𓍙",
["U35"] = "𓍚",
["U36"] = "𓍛",
["U37"] = "𓍜",
["U38"] = "𓍝",
["U39"] = "𓍞",
["U40"] = "𓍟",
["U41"] = "𓍠",
["U42"] = "𓍡",
["V1"] = "𓍢",
["V1A"] = "𓍣",
["V1B"] = "𓍤",
["V1C"] = "𓍥",
["V1D"] = "𓍦",
["V1E"] = "𓍧",
["V1F"] = "𓍨",
["V1G"] = "𓍩",
["V1H"] = "𓍪",
["V1I"] = "𓍫",
["V2"] = "𓍬",
["V2A"] = "𓍭",
["V3"] = "𓍮",
["V4"] = "𓍯",
["V5"] = "𓍰",
["V6"] = "𓍱",
["V7"] = "𓍲",
["V7A"] = "𓍳",
["V7B"] = "𓍴",
["V8"] = "𓍵",
["V9"] = "𓍶",
["V10"] = "𓍷",
["V11"] = "𓍸",
["V11A"] = "𓍹",
["V11B"] = "𓍺",
["V11C"] = "𓍻",
["V12"] = "𓍼",
["V12A"] = "𓍽",
["V12B"] = "𓍾",
["V13"] = "𓍿",
["V14"] = "𓎀",
["V15"] = "𓎁",
["V16"] = "𓎂",
["V17"] = "𓎃",
["V18"] = "𓎄",
["V19"] = "𓎅",
["V20"] = "𓎆",
["V20A"] = "𓎇",
["V20B"] = "𓎈",
["V20C"] = "𓎉",
["V20D"] = "𓎊",
["V20E"] = "𓎋",
["V20F"] = "𓎌",
["V20G"] = "𓎍",
["V20H"] = "𓎎",
["V20I"] = "𓎏",
["V20J"] = "𓎐",
["V20K"] = "𓎑",
["V20L"] = "𓎒",
["V21"] = "𓎓",
["V22"] = "𓎔",
["V23"] = "𓎕",
["V23A"] = "𓎖",
["V24"] = "𓎗",
["V25"] = "𓎘",
["V26"] = "𓎙",
["V27"] = "𓎚",
["V28"] = "𓎛",
["V28A"] = "𓎜",
["V29"] = "𓎝",
["V29A"] = "𓎞",
["V30"] = "𓎟",
["V30A"] = "𓎠",
["V31"] = "𓎡",
["V31A"] = "𓎢",
["V32"] = "𓎣",
["V33"] = "𓎤",
["V33A"] = "𓎥",
["V34"] = "𓎦",
["V35"] = "𓎧",
["V36"] = "𓎨",
["V37"] = "𓎩",
["V37A"] = "𓎪",
["V38"] = "𓎫",
["V39"] = "𓎬",
["V40"] = "𓎭",
["V40A"] = "𓎮",
["W1"] = "𓎯",
["W2"] = "𓎰",
["W3"] = "𓎱",
["W3A"] = "𓎲",
["W4"] = "𓎳",
["W5"] = "𓎴",
["W6"] = "𓎵",
["W7"] = "𓎶",
["W8"] = "𓎷",
["W9"] = "𓎸",
["W9A"] = "𓎹",
["W10"] = "𓎺",
["W10A"] = "𓎻",
["W11"] = "𓎼",
["W12"] = "𓎽",
["W13"] = "𓎾",
["W14"] = "𓎿",
["W14A"] = "𓏀",
["W15"] = "𓏁",
["W16"] = "𓏂",
["W17"] = "𓏃",
["W17A"] = "𓏄",
["W18"] = "𓏅",
["W18A"] = "𓏆",
["W19"] = "𓏇",
["W20"] = "𓏈",
["W21"] = "𓏉",
["W22"] = "𓏊",
["W23"] = "𓏋",
["W24"] = "𓏌",
["W24A"] = "𓏍",
["W25"] = "𓏎",
["X1"] = "𓏏",
["X2"] = "𓏐",
["X3"] = "𓏑",
["X4"] = "𓏒",
["X4A"] = "𓏓",
["X4B"] = "𓏔",
["X5"] = "𓏕",
["X6"] = "𓏖",
["X6A"] = "𓏗",
["X7"] = "𓏘",
["X8"] = "𓏙",
["X8A"] = "𓏚",
["Y1"] = "𓏛",
["Y1A"] = "𓏜",
["Y2"] = "𓏝",
["Y3"] = "𓏞",
["Y4"] = "𓏟",
["Y5"] = "𓏠",
["Y6"] = "𓏡",
["Y7"] = "𓏢",
["Y8"] = "𓏣",
["Z1"] = "𓏤",
["Z2"] = "𓏥",
["Z2A"] = "𓏦",
["Z2B"] = "𓏧",
["Z2C"] = "𓏨",
["Z2D"] = "𓏩",
["Z3"] = "𓏪",
["Z3A"] = "𓏫",
["Z3B"] = "𓏬",
["Z4"] = "𓏭",
["Z4A"] = "𓏮",
["Z5"] = "𓏯",
["Z5A"] = "𓏰",
["Z6"] = "𓏱",
["Z7"] = "𓏲",
["Z8"] = "𓏳",
["Z9"] = "𓏴",
["Z10"] = "𓏵",
["Z11"] = "𓏶",
["Z12"] = "𓏷",
["Z13"] = "𓏸",
["Z14"] = "𓏹",
["Z15"] = "𓏺",
["Z15A"] = "𓏻",
["Z15B"] = "𓏼",
["Z15C"] = "𓏽",
["Z15D"] = "𓏾",
["Z15E"] = "𓏿",
["Z15F"] = "𓐀",
["Z15G"] = "𓐁",
["Z15H"] = "𓐂",
["Z15I"] = "𓐃",
["Z16"] = "𓐄",
["Z16A"] = "𓐅",
["Z16B"] = "𓐆",
["Z16C"] = "𓐇",
["Z16D"] = "𓐈",
["Z16E"] = "𓐉",
["Z16F"] = "𓐊",
["Z16G"] = "𓐋",
["Z16H"] = "𓐌",
["Aa1"] = "𓐍",
["Aa2"] = "𓐎",
["Aa3"] = "𓐏",
["Aa4"] = "𓐐",
["Aa5"] = "𓐑",
["Aa6"] = "𓐒",
["Aa7"] = "𓐓",
["Aa7A"] = "𓐔",
["Aa7B"] = "𓐕",
["Aa8"] = "𓐖",
["Aa9"] = "𓐗",
["Aa10"] = "𓐘",
["Aa11"] = "𓐙",
["Aa12"] = "𓐚",
["Aa13"] = "𓐛",
["Aa14"] = "𓐜",
["Aa15"] = "𓐝",
["Aa16"] = "𓐞",
["Aa17"] = "𓐟",
["Aa18"] = "𓐠",
["Aa19"] = "𓐡",
["Aa20"] = "𓐢",
["Aa21"] = "𓐣",
["Aa22"] = "𓐤",
["Aa23"] = "𓐥",
["Aa24"] = "𓐦",
["Aa25"] = "𓐧",
["Aa26"] = "𓐨",
["Aa27"] = "𓐩",
["Aa28"] = "𓐪",
["Aa29"] = "𓐫",
["Aa30"] = "𓐬",
["Aa31"] = "𓐭",
["Aa32"] = "𓐮",
["Q_HASH"] = "𓑄",
["H_HASH"] = "𓑆",
["V_HASH"] = "𓑅",
["HASH"] = "𓑃",
["hatching"] = "𓑃𓑃",
["O"] = "⬤",
["o"] = "🔴",
["QUERY"] = "?",
["<"] = "𓍹",
[">"] = "𓍺",
["<1"] = "𓍹",
["1>"] = "𓍻",
["<2"] = "𓐯",
["2>"] = "𓍺",
["<h1"] = "𓉘",
["h1>"] = "𓉝",
["<h2"] = "𓉙",
["h2>"] = "𓉜",
["<h3"] = "𓉚",
["h3>"] = "𓉛",
}
data.mdc_symbol_map = {
["\\"] = "𓑀",
[":"] = "",
["%*"] = "",
["%-"] = "",
["!"] = "</span><br><span class=\"Egyp\" lang=\"egy\">",
["%."] = "𓑂",
[">&<"] = "><",
["@"] = "",
["\n"] = "",
["\r"] = "",
["%[%["] = "[",
["%]%]"] = "]",
["%[{"] = "{",
["}%]"] = "}",
["%[&"] = "⟨",
["&%]"] = "⟩",
["%[\""] = "⟦",
["\"%]"] = "⟧",
["%[\'"] = "⸢",
["\'%]"] = "⸣",
}
data.wikihiero_bracket_fix_map = {
["&%]"] = "Ba16a",
["%[\""] = "Ba18",
["\"%]"] = "Ba18a",
["%[\'"] = "Ba19",
["\'%]"] = "Ba19a",
["%[%[s"] = "Ba15s",
["%]%]s"] = "Ba15as",
["%[&s"] = "Ba16s",
["%[{s"] = "Ba17s",
["}%]s"] = "Ba17as",
}
data.wikihiero_word_set = {
["A1"] = true,
["A10"] = true,
["A11"] = true,
["A113"] = true,
["A12"] = true,
["A12D"] = true,
["A13"] = true,
["A14"] = true,
["A14A"] = true,
["A15"] = true,
["A16"] = true,
["A17"] = true,
["A17A"] = true,
["A18"] = true,
["A19"] = true,
["A1s"] = true,
["A2"] = true,
["A20"] = true,
["A21"] = true,
["A21A"] = true,
["A22"] = true,
["A23"] = true,
["A24"] = true,
["A25"] = true,
["A25A"] = true,
["A25as"] = true,
["A26"] = true,
["A27"] = true,
["A28"] = true,
["A29"] = true,
["A2s"] = true,
["A3"] = true,
["A30"] = true,
["A31"] = true,
["A316"] = true,
["A32"] = true,
["A33"] = true,
["A335"] = true,
["A34"] = true,
["A347"] = true,
["A35"] = true,
["A36"] = true,
["A37"] = true,
["A38"] = true,
["A39"] = true,
["A4"] = true,
["A40"] = true,
["A40s"] = true,
["A41"] = true,
["A42"] = true,
["A43"] = true,
["A44"] = true,
["A45"] = true,
["A46"] = true,
["A47"] = true,
["A48"] = true,
["A49"] = true,
["A5"] = true,
["A50"] = true,
["A51"] = true,
["A52"] = true,
["A53"] = true,
["A54"] = true,
["A55"] = true,
["A56"] = true,
["A59"] = true,
["A6"] = true,
["A7"] = true,
["A8"] = true,
["A9"] = true,
["Aa1"] = true,
["Aa10"] = true,
["Aa11"] = true,
["Aa12"] = true,
["Aa13"] = true,
["Aa14"] = true,
["Aa15"] = true,
["Aa16"] = true,
["Aa17"] = true,
["Aa18"] = true,
["Aa19"] = true,
["Aa2"] = true,
["Aa20"] = true,
["Aa21"] = true,
["Aa22"] = true,
["Aa23"] = true,
["Aa24"] = true,
["Aa25"] = true,
["Aa26"] = true,
["Aa27"] = true,
["Aa28"] = true,
["Aa29"] = true,
["Aa3"] = true,
["Aa30"] = true,
["Aa30A"] = true,
["Aa31"] = true,
["Aa32"] = true,
["Aa4"] = true,
["Aa40"] = true,
["Aa41"] = true,
["Aa5"] = true,
["Aa6"] = true,
["Aa7"] = true,
["Aa8"] = true,
["Aa9"] = true,
["B1"] = true,
["B10"] = true,
["B11"] = true,
["B12"] = true,
["B1s"] = true,
["B2"] = true,
["B23B"] = true,
["B3"] = true,
["B4"] = true,
["B5"] = true,
["B6"] = true,
["B7"] = true,
["B8"] = true,
["B9"] = true,
["Ba14"] = true,
["Ba14a"] = true,
["Ba14as"] = true,
["Ba14s"] = true,
["Ba15"] = true,
["Ba15a"] = true,
["Ba15as"] = true,
["Ba15s"] = true,
["Ba16"] = true,
["Ba16a"] = true,
["Ba16as"] = true,
["Ba16s"] = true,
["Ba17"] = true,
["Ba17a"] = true,
["Ba17as"] = true,
["Ba17s"] = true,
["Ba18"] = true,
["Ba18a"] = true,
["Ba18as"] = true,
["Ba18s"] = true,
["Ba19"] = true,
["Ba19a"] = true,
["Ba19as"] = true,
["Ba19s"] = true,
["C1"] = true,
["C10"] = true,
["C11"] = true,
["C12"] = true,
["C17"] = true,
["C18"] = true,
["C19"] = true,
["C2"] = true,
["C20"] = true,
["C3"] = true,
["C4"] = true,
["C5"] = true,
["C6"] = true,
["C7"] = true,
["C8"] = true,
["C9"] = true,
["Ca0"] = true,
["Ca1"] = true,
["Ca1a"] = true,
["Ca2"] = true,
["Ca2a"] = true,
["Cah1"] = true,
["Cah1a"] = true,
["Cah2"] = true,
["Cah2a"] = true,
["Cah3"] = true,
["Cah3a"] = true,
["D1"] = true,
["D10"] = true,
["D11"] = true,
["D12"] = true,
["D13"] = true,
["D14"] = true,
["D15"] = true,
["D16"] = true,
["D17"] = true,
["D18"] = true,
["D19"] = true,
["D2"] = true,
["D20"] = true,
["D21"] = true,
["D22"] = true,
["D23"] = true,
["D24"] = true,
["D25"] = true,
["D26"] = true,
["D27"] = true,
["D27A"] = true,
["D28"] = true,
["D29"] = true,
["D3"] = true,
["D30"] = true,
["D31"] = true,
["D32"] = true,
["D33"] = true,
["D34"] = true,
["D34A"] = true,
["D35"] = true,
["D36"] = true,
["D37"] = true,
["D38"] = true,
["D39"] = true,
["D4"] = true,
["D40"] = true,
["D41"] = true,
["D42"] = true,
["D43"] = true,
["D44"] = true,
["D45"] = true,
["D46"] = true,
["D46A"] = true,
["D47"] = true,
["D48"] = true,
["D49"] = true,
["D5"] = true,
["D50"] = true,
["D51"] = true,
["D52"] = true,
["D53"] = true,
["D54"] = true,
["D55"] = true,
["D56"] = true,
["D57"] = true,
["D58"] = true,
["D58s"] = true,
["D59"] = true,
["D6"] = true,
["D60"] = true,
["D61"] = true,
["D62"] = true,
["D63"] = true,
["D7"] = true,
["D8"] = true,
["D9"] = true,
["E1"] = true,
["E10"] = true,
["E11"] = true,
["E12"] = true,
["E13"] = true,
["E14"] = true,
["E15"] = true,
["E16"] = true,
["E17"] = true,
["E18"] = true,
["E19"] = true,
["E2"] = true,
["E20"] = true,
["E21"] = true,
["E22"] = true,
["E23"] = true,
["E24"] = true,
["E25"] = true,
["E26"] = true,
["E27"] = true,
["E28"] = true,
["E29"] = true,
["E3"] = true,
["E30"] = true,
["E31"] = true,
["E32"] = true,
["E33"] = true,
["E34"] = true,
["E4"] = true,
["E5"] = true,
["E6"] = true,
["E7"] = true,
["E8"] = true,
["E8A"] = true,
["E9"] = true,
["F1"] = true,
["F10"] = true,
["F11"] = true,
["F12"] = true,
["F13"] = true,
["F14"] = true,
["F15"] = true,
["F16"] = true,
["F17"] = true,
["F18"] = true,
["F19"] = true,
["F2"] = true,
["F20"] = true,
["F21"] = true,
["F22"] = true,
["F23"] = true,
["F24"] = true,
["F25"] = true,
["F26"] = true,
["F27"] = true,
["F28"] = true,
["F29"] = true,
["F3"] = true,
["F30"] = true,
["F31"] = true,
["F31s"] = true,
["F32"] = true,
["F33"] = true,
["F34"] = true,
["F35"] = true,
["F36"] = true,
["F37"] = true,
["F37B"] = true,
["F38"] = true,
["F39"] = true,
["F4"] = true,
["F40"] = true,
["F41"] = true,
["F42"] = true,
["F43"] = true,
["F44"] = true,
["F45"] = true,
["F46"] = true,
["F47"] = true,
["F48"] = true,
["F49"] = true,
["F5"] = true,
["F50"] = true,
["F51"] = true,
["F51A"] = true,
["F51B"] = true,
["F52"] = true,
["F6"] = true,
["F7"] = true,
["F8"] = true,
["F9"] = true,
["G1"] = true,
["G10"] = true,
["G11"] = true,
["G12"] = true,
["G13"] = true,
["G14"] = true,
["G15"] = true,
["G16"] = true,
["G17"] = true,
["G17s"] = true,
["G18"] = true,
["G19"] = true,
["G1s"] = true,
["G2"] = true,
["G20"] = true,
["G21"] = true,
["G22"] = true,
["G23"] = true,
["G24"] = true,
["G25"] = true,
["G26"] = true,
["G26A"] = true,
["G27"] = true,
["G28"] = true,
["G29"] = true,
["G3"] = true,
["G30"] = true,
["G31"] = true,
["G32"] = true,
["G33"] = true,
["G34"] = true,
["G35"] = true,
["G36"] = true,
["G37"] = true,
["G38"] = true,
["G39"] = true,
["G4"] = true,
["G40"] = true,
["G41"] = true,
["G42"] = true,
["G43"] = true,
["G43s"] = true,
["G44"] = true,
["G45"] = true,
["G46"] = true,
["G47"] = true,
["G48"] = true,
["G49"] = true,
["G5"] = true,
["G50"] = true,
-- ["G51"] = true,
["G52"] = true,
["G53"] = true,
["G54"] = true,
["G5s"] = true,
["G6"] = true,
["G7"] = true,
["G7A"] = true,
["G7AA"] = true,
["G8"] = true,
["G9"] = true,
["H1"] = true,
["H2"] = true,
["H3"] = true,
["H4"] = true,
["H5"] = true,
["H6"] = true,
["H6A"] = true,
["H7"] = true,
["H8"] = true,
["H8W"] = true,
["I1"] = true,
["I10"] = true,
["I11"] = true,
["I12"] = true,
["I13"] = true,
["I14"] = true,
["I15"] = true,
["I1S"] = true,
["I2"] = true,
["I3"] = true,
["I4"] = true,
["I5"] = true,
["I5A"] = true,
["I6"] = true,
["I7"] = true,
["I8"] = true,
["I9"] = true,
["K1"] = true,
["K2"] = true,
["K3"] = true,
["K4"] = true,
["K5"] = true,
["K6"] = true,
["K7"] = true,
["L1"] = true,
["L2"] = true,
["L3"] = true,
["L4"] = true,
["L5"] = true,
["L6"] = true,
["L7"] = true,
["M1"] = true,
["M10"] = true,
["M11"] = true,
["M12"] = true,
["M12s"] = true,
["M13"] = true,
["M14"] = true,
["M15"] = true,
["M16"] = true,
["M17"] = true,
["M17s"] = true,
["M18"] = true,
["M19"] = true,
["M2"] = true,
["M20"] = true,
["M21"] = true,
["M22"] = true,
["M23"] = true,
["M23s"] = true,
["M24"] = true,
["M25"] = true,
["M26"] = true,
["M27"] = true,
["M28"] = true,
["M29"] = true,
["M3"] = true,
["M30"] = true,
["M31"] = true,
["M32"] = true,
["M33"] = true,
["M34"] = true,
["M35"] = true,
["M36"] = true,
["M37"] = true,
["M38"] = true,
["M39"] = true,
["M4"] = true,
["M40"] = true,
["M41"] = true,
["M42"] = true,
["M43"] = true,
["M43A"] = true,
["M44"] = true,
["M5"] = true,
["M6"] = true,
["M7"] = true,
["M8"] = true,
["M9"] = true,
["N1"] = true,
["N10"] = true,
["N11"] = true,
["N12"] = true,
["N13"] = true,
["N14"] = true,
["N15"] = true,
["N16"] = true,
["N17"] = true,
["N18"] = true,
["N19"] = true,
["N2"] = true,
["N20"] = true,
["N21"] = true,
["N22"] = true,
["N23"] = true,
["N24"] = true,
["N25"] = true,
["N26"] = true,
["N27"] = true,
["N28"] = true,
["N29"] = true,
["N3"] = true,
["N30"] = true,
["N31"] = true,
["N32"] = true,
["N33"] = true,
["N33A"] = true,
["N33B"] = true,
["N33C"] = true,
["N34"] = true,
["N35"] = true,
["N35A"] = true,
["N35B"] = true,
["N35C"] = true,
["N36"] = true,
["N37"] = true,
["N38"] = true,
["N39"] = true,
["N4"] = true,
["N40"] = true,
["N41"] = true,
["N42"] = true,
["N5"] = true,
["N6"] = true,
["N7"] = true,
["N8"] = true,
["N9"] = true,
["O1"] = true,
["O10"] = true,
["O11"] = true,
["O12"] = true,
["O13"] = true,
["O14"] = true,
["O15"] = true,
["O16"] = true,
["O17"] = true,
["O18"] = true,
["O19"] = true,
["O2"] = true,
["O20"] = true,
["O21"] = true,
["O22"] = true,
["O23"] = true,
["O24"] = true,
["O25"] = true,
["O26"] = true,
["O27"] = true,
["O28"] = true,
["O29"] = true,
["O29V"] = true,
["O3"] = true,
["O30"] = true,
["O31"] = true,
["O32"] = true,
["O33"] = true,
["O34"] = true,
["O35"] = true,
["O36"] = true,
["O37"] = true,
["O38"] = true,
["O39"] = true,
["O4"] = true,
["O40"] = true,
["O41"] = true,
["O42"] = true,
["O43"] = true,
["O44"] = true,
["O45"] = true,
["O46"] = true,
["O47"] = true,
["O48"] = true,
["O49"] = true,
["O5"] = true,
["O50"] = true,
["O51"] = true,
["O6"] = true,
["O7"] = true,
["O8"] = true,
["O9"] = true,
["P1"] = true,
["P10"] = true,
["P11"] = true,
["P13"] = true,
["P1A"] = true,
["P2"] = true,
["P3"] = true,
["P4"] = true,
["P44A"] = true,
["P5"] = true,
["P6"] = true,
["P7"] = true,
["P8"] = true,
["P8H"] = true,
["P9"] = true,
["Q1"] = true,
["Q2"] = true,
["Q3"] = true,
["Q4"] = true,
["Q5"] = true,
["Q6"] = true,
["Q7"] = true,
["R1"] = true,
["R10"] = true,
["R11"] = true,
["R12"] = true,
["R13"] = true,
["R14"] = true,
["R15"] = true,
["R16"] = true,
["R17"] = true,
["R18"] = true,
["R19"] = true,
["R2"] = true,
["R20"] = true,
["R21"] = true,
["R22"] = true,
["R23"] = true,
["R24"] = true,
["R25"] = true,
["R3"] = true,
["R4"] = true,
["R5"] = true,
["R6"] = true,
["R7"] = true,
["R8"] = true,
["R8A"] = true,
["R9"] = true,
["S1"] = true,
["S10"] = true,
["S106"] = true,
["S11"] = true,
["S12"] = true,
["S13"] = true,
["S14"] = true,
["S14A"] = true,
["S15"] = true,
["S16"] = true,
["S17"] = true,
["S17A"] = true,
["S18"] = true,
["S19"] = true,
["S2"] = true,
["S20"] = true,
["S21"] = true,
["S22"] = true,
["S23"] = true,
["S24"] = true,
["S25"] = true,
["S26"] = true,
["S27"] = true,
["S28"] = true,
["S29"] = true,
["S29s"] = true,
["S3"] = true,
["S30"] = true,
["S31"] = true,
["S32"] = true,
["S33"] = true,
["S34"] = true,
["S35"] = true,
["S36"] = true,
["S37"] = true,
["S38"] = true,
["S39"] = true,
["S4"] = true,
["S40"] = true,
["S41"] = true,
["S42"] = true,
["S43"] = true,
["S44"] = true,
["S45"] = true,
["S5"] = true,
["S6"] = true,
["S7"] = true,
["S8"] = true,
["S9"] = true,
["T1"] = true,
["T10"] = true,
["T11"] = true,
["T12"] = true,
["T13"] = true,
["T14"] = true,
["T15"] = true,
["T16"] = true,
["T17"] = true,
["T18"] = true,
["T19"] = true,
["T2"] = true,
["T20"] = true,
["T21"] = true,
["T22"] = true,
["T23"] = true,
["T24"] = true,
["T25"] = true,
["T26"] = true,
["T27"] = true,
["T28"] = true,
["T29"] = true,
["T3"] = true,
["T30"] = true,
["T31"] = true,
["T32"] = true,
["T33"] = true,
["T34"] = true,
["T35"] = true,
["T4"] = true,
["T5"] = true,
["T6"] = true,
["T7"] = true,
["T7A"] = true,
["T8"] = true,
["T8A"] = true,
["T8B"] = true,
["T9"] = true,
["T9A"] = true,
["U1"] = true,
["U10"] = true,
["U11"] = true,
["U12"] = true,
["U13"] = true,
["U14"] = true,
["U15"] = true,
["U16"] = true,
["U17"] = true,
["U18"] = true,
["U19"] = true,
["U2"] = true,
["U20"] = true,
["U21"] = true,
["U22"] = true,
["U23"] = true,
["U24"] = true,
["U25"] = true,
["U26"] = true,
["U27"] = true,
["U28"] = true,
["U29"] = true,
["U3"] = true,
["U30"] = true,
["U31"] = true,
["U32"] = true,
["U33"] = true,
["U34"] = true,
["U35"] = true,
["U35s"] = true,
["U36"] = true,
["U37"] = true,
["U38"] = true,
["U39"] = true,
["U4"] = true,
["U40"] = true,
["U41"] = true,
["U5"] = true,
["U6"] = true,
["U7"] = true,
["U8"] = true,
["U9"] = true,
["V1"] = true,
["V10"] = true,
["V10A"] = true,
["V11"] = true,
["V11A"] = true,
["V12"] = true,
["V13"] = true,
["V14"] = true,
["V15"] = true,
["V16"] = true,
["V17"] = true,
["V18"] = true,
["V19"] = true,
["V2"] = true,
["V20"] = true,
["V21"] = true,
["V22"] = true,
["V23"] = true,
["V24"] = true,
["V25"] = true,
["V26"] = true,
["V27"] = true,
["V28"] = true,
["V29"] = true,
["V3"] = true,
["V30"] = true,
["V31"] = true,
["V31A"] = true,
["V32"] = true,
["V33"] = true,
["V34"] = true,
["V35"] = true,
["V36"] = true,
["V37"] = true,
["V38"] = true,
["V39"] = true,
["V4"] = true,
["V5"] = true,
["V6"] = true,
["V7"] = true,
["V8"] = true,
["V9"] = true,
["W1"] = true,
["W10"] = true,
["W10A"] = true,
["W11"] = true,
["W12"] = true,
["W13"] = true,
["W14"] = true,
["W15"] = true,
["W16"] = true,
["W17"] = true,
["W18"] = true,
["W19"] = true,
["W19s"] = true,
["W2"] = true,
["W20"] = true,
["W21"] = true,
["W22"] = true,
["W23"] = true,
["W24"] = true,
["W25"] = true,
["W3"] = true,
["W4"] = true,
["W5"] = true,
["W6"] = true,
["W7"] = true,
["W8"] = true,
["W9"] = true,
["X1"] = true,
["X2"] = true,
["X3"] = true,
["X4"] = true,
["X5"] = true,
["X6"] = true,
["X7"] = true,
["X8"] = true,
["Y1"] = true,
["Y1V"] = true,
["Y2"] = true,
["Y3"] = true,
["Y4"] = true,
["Y5"] = true,
["Y6"] = true,
["Y7"] = true,
["Y8"] = true,
["Z1"] = true,
["Z10"] = true,
["Z11"] = true,
["Z1s"] = true,
["Z2"] = true,
["Z2s"] = true,
["Z2ss"] = true,
["Z3"] = true,
["Z3A"] = true,
["Z3as"] = true,
["Z4"] = true,
["Z4B"] = true,
["Z5"] = true,
["Z6"] = true,
["Z7"] = true,
["Z8"] = true,
["Z9"] = true,
["Z91"] = true,
["Z92"] = true,
["Z93"] = true,
["Z94"] = true,
["Z95"] = true,
["Z98A"] = true,
["nswt"] = true,
["bity"] = true,
["F51a"] = true,
["Hmw"] = true,
["xAswt"] = true,
["nbAki"] = true,
["BLACKDOT"] = true,
["H_HASH"] = true,
["H_SPACE"] = true,
["HASH"] = true,
["hatching"] = true,
["Q_HASH"] = true,
["QUERY"] = true,
["REDDOT"] = true,
["SPACE"] = true,
["THREE"] = true,
["Tr_HSPACE"] = true,
["Tr_SPACE"] = true,
["TWO"] = true,
["V_HASH"] = true,
["VTHREE"] = true,
["0"] = true,
["1"] = true,
["2"] = true,
["h0"] = true,
["h1"] = true,
["h2"] = true,
["h3"] = true,
["hiero"] = true,
}
data.unavailable_glyph_image_height_map = {
["A13I"] = 49,
["A14C"] = 79,
["A14E"] = 50,
["A14H"] = 76,
["A15A"] = 72,
["A15C"] = 48,
["A15D"] = 74,
["A92"] = 43,
["A93"] = 73,
["A95"] = 64,
["A96"] = 77,
["A96A"] = 59,
["A97"] = 71,
["A98"] = 47,
["A99"] = 69,
["A100"] = 73,
["A100A"] = 73,
["A100B"] = 69,
["A101"] = 78,
["A101B"] = 59,
["A102"] = 73,
["A104A"] = 72,
["A104B"] = 42,
["A105"] = 63,
["A318"] = 34,
["A372"] = 84,
["A374"] = 56,
["A375"] = 55,
["A450"] = 72,
["A483"] = 49,
["B37"] = 48,
["B62"] = 87,
["B67"] = 71,
["C108"] = 47,
["C108A"] = 51,
["C274"] = 47,
["C274A"] = 50,
["C274B"] = 39,
["D1A"] = 55,
["D2A"] = 59,
["D3A"] = 68,
["D3B"] = 66,
["D6A"] = 44,
["D7A"] = 38,
["D7B"] = 36,
["D7C"] = 46,
["D7D"] = 48,
["D8A"] = 32,
["D8B"] = 36,
["D8C"] = 38,
["D8D"] = 34,
["D9A"] = 74,
["D10C"] = 75,
["D21A"] = 30,
["D22A"] = 34,
["D22B"] = 39,
["D23B"] = 34,
["D26A"] = 73,
["D26B"] = 41,
["D28A"] = 69,
["D34B"] = 80,
["D34C"] = 80,
["D35A"] = 34,
["D43A"] = 68,
["D44"] = 58,
["D46A"] = 43,
["D46C"] = 49,
["D46D"] = 38,
["D46E"] = 43,
["D46F"] = 44,
["D47A"] = 42,
["D48A"] = 40,
["D50A"] = 45,
["D51A"] = 28,
["D52A"] = 74,
["D53A"] = 74,
["D54A"] = 74,
["D72"] = 69,
["D74"] = 77,
["D75"] = 55,
["D75A"] = 83,
["D77"] = 78,
["D78"] = 73,
["D79"] = 79,
["D80"] = 74,
["D83"] = 69,
["D84"] = 80,
["D88"] = 84,
["D91"] = 81,
["D93"] = 73,
["D94"] = 84,
["D95"] = 79,
["D97"] = 63,
["D104"] = 86,
["D109"] = 53,
["D110"] = 69,
["D115"] = 49,
["D116"] = 54,
["D117"] = 77,
["D118"] = 78,
["D120"] = 82,
["D121"] = 83,
["D125"] = 47,
["D128"] = 45,
["D129"] = 55,
["D130"] = 63,
["D131"] = 47,
["D134"] = 31,
["D135"] = 27,
["D136"] = 33,
["D138"] = 41,
["D139"] = 41,
["D140"] = 24,
["D141"] = 38,
["D141A"] = 39,
["D142"] = 32,
["D148"] = 64,
["D150"] = 46,
["D150A"] = 49,
["D152"] = 32,
["D153"] = 45,
["D154"] = 42,
["D155"] = 30,
["D157"] = 63,
["D158"] = 51,
["D159"] = 56,
["D170"] = 44,
["D170A"] = 70,
["D205"] = 53,
["D206"] = 43,
["D207"] = 60,
["D208"] = 63,
["D209"] = 78,
["D210"] = 36,
["D211"] = 42,
["D212"] = 41,
["D212A"] = 48,
["D215"] = 44,
["D216"] = 41,
["D217"] = 58,
["D218"] = 42,
["D219"] = 56,
["D219A"] = 57,
["D220"] = 42, -- A, B, C, and D up to D220 are done
["D245"] = 59,
["D254"] = 57,
["D280"] = 53,
["D283"] = 57,
["D318"] = 42,
["E14A"] = 50,
["E100"] = 72,
["E101"] = 70,
["E128"] = 48,
["E131"] = 51,
["E139"] = 79,
["E151"] = 49,
["E154A"] = 85,
["E165"] = 71,
["E176"] = 67,
["E185"] = 74,
["F46A"] = 32,
["F51D"] = 51,
["F100"] = 78,
["G161"] = 68,
["G306"] = 78,
["H16"] = 64,
["H27"] = 53,
["I6A"] = 39,
["I24"] = 41,
["I25"] = 35,
["I86A"] = 82,
["K4B"] = 80,
["K4C"] = 32,
["K6A"] = 72,
["K6y"] = 41,
["K8"] = 69,
["K9"] = 66,
["K10"] = 46,
["K11"] = 52,
["K12"] = 47,
["K13"] = 39,
["K14"] = 30,
["K15"] = 54,
["K16"] = 64,
["K18"] = 68,
["K18A"] = 66,
["K18B"] = 67,
["K19"] = 31,
["K22"] = 84,
["K23"] = 57,
["K23A"] = 29,
["K23B"] = 36,
["K24"] = 42,
["K24A"] = 68,
["K25"] = 64,
["K26"] = 52,
["K27"] = 62,
["K27A"] = 52,
["K28"] = 34,
["K28A"] = 85,
["K29"] = 38,
["K30"] = 30,
["L6A"] = 67,
["L12A"] = 80,
["L18"] = 70,
["L19"] = 65,
["L33"] = 66, -- K and L are done
["M33C"] = 62,
["M181"] = 34,
["M190"] = 75,
["M194"] = 70,
["N28A"] = 56,
["N28D"] = 53,
["N28E"] = 65,
["N33A"] = 16,
["N36A"] = 31,
["N37A"] = 22,
["N6B"] = 56,
["N33Aw"] = 65,
["N50"] = 30,
["N62"] = 68,
["N62A"] = 38,
["N100"] = 39,
["N102"] = 35,
["N106"] = 37,
["N106h"] = 37,
["N135qA"] = 53,
["O14C"] = 77,
["O24A"] = 50,
["O234"] = 53,
["O32A"] = 76,
["O36w"] = 43,
["O49B"] = 54,
["O189"] = 79,
["P1A"] = 57,
["P1B"] = 55,
["P1C"] = 41,
["P2B"] = 68,
["P2C"] = 79,
["P2E"] = 64,
["P2F"] = 67,
["P2K"] = 78,
["P19"] = 43,
["P22"] = 29,
["P30"] = 55,
["P62"] = 73,
["P71B"] = 73,
["P89"] = 81,
["P106"] = 45,
["Q19"] = 72,
["Q37"] = 79,
["Q38"] = 61,
["R3F"] = 72,
["R62A"] = 49,
["R119"] = 85,
["Rq134"] = 35,
["S21A"] = 51,
["S56"] = 59,
["S103A"] = 82,
["S106"] = 25,
["S131"] = 73,
["S208"] = 29,
["S209"] = 25,
["T15qA"] = 34,
["T30D"] = 82,
["T57"] = 82,
["T90"] = 41,
["T92"] = 42,
["T106"] = 86,
["U13B"] = 65,
["U54"] = 34,
["U63"] = 55,
["U91"] = 73,
["U103"] = 51,
["V97"] = 51,
["W62"] = 54,
["W65"] = 61,
["W66"] = 65,
["W76"] = 35,
["W92"] = 46,
["W125"] = 69,
["X4I"] = 27,
["Y14"] = 67,
["Y102"] = 30,
["Z2C"] = 39,
["Z43"] = 43,
["Aa32w"] = 25,
}
return data
5z6gwkmtt9gw52730q0plpivn5r9pjz
มอดูล:egy-hieroglyphs
828
2331431
5723330
2026-05-22T01:33:06Z
OctraBot
3198
สร้างหน้าด้วย "local export = {} local m_data = mw.loadData("Module:egy-hieroglyphs/data") local mdc_complex_group_normalization_map = m_data.mdc_complex_group_normalization_map local mdc_normalization_map = m_data.mdc_normalization_map local mdc_phonogram_map = m_data.mdc_phonogram_map local hiero_map = m_data.hiero_map local mdc_symbol_map = m_data.mdc_symbol_map local wikihiero_bracket_fix_map = m_data.wikihiero_bracket_fix_map local wikihiero_word_set = m_da..."
5723330
Scribunto
text/plain
local export = {}
local m_data = mw.loadData("Module:egy-hieroglyphs/data")
local mdc_complex_group_normalization_map = m_data.mdc_complex_group_normalization_map
local mdc_normalization_map = m_data.mdc_normalization_map
local mdc_phonogram_map = m_data.mdc_phonogram_map
local hiero_map = m_data.hiero_map
local mdc_symbol_map = m_data.mdc_symbol_map
local wikihiero_bracket_fix_map = m_data.wikihiero_bracket_fix_map
local wikihiero_word_set = m_data.wikihiero_word_set
local unavailable_glyph_image_height_map = m_data.unavailable_glyph_image_height_map
local remove_comments = require("Module:string/removeComments")
local lang = require("Module:languages").getByCode("egy")
local trackfn = require("Module:debug").track
function export.mdc_to_unicode(frame)
local mdc = frame.args[1]
local unicode = remove_comments(mdc)
unicode = mw.ustring.gsub(unicode, ":%*", ":")
unicode = mw.ustring.gsub(unicode, "%*%*", "%*")
unicode = mw.ustring.gsub(unicode, " ", "-")
unicode = mw.ustring.gsub(unicode, "x&r&t&Y1", "x:r*t:Y1")
for pat, repl in pairs(mdc_complex_group_normalization_map) do
unicode = unicode:gsub("%f[%w_<>]" .. pat .. "%f[^%w_<>]", repl)
end
for pat, repl in pairs(mdc_normalization_map) do
unicode = unicode:gsub("%f[%w_<>]" .. pat .. "%f[^%w_<>]", repl)
end
unicode = mw.ustring.gsub(unicode, "%f[%w_<>](.-)%f[^%w_<>]", "<span title=\"%1\">%1</span>")
unicode = mw.ustring.gsub(unicode, "\"<", "\"<")
unicode = mw.ustring.gsub(unicode, ">\"", ">\"")
for pat, repl in pairs(mdc_phonogram_map) do
unicode = unicode:gsub("\"([%w_<>]+)\">" .. pat .. "<", "\"" .. repl .. " %[%1%]\">" .. repl .. "<")
end
for pat, repl in pairs(hiero_map) do
unicode = unicode:gsub(">" .. pat .. "<", ">" .. repl .. "<")
end
unicode = mw.ustring.gsub(unicode, "%.%.", "𓑁")
for pat, repl in pairs(mdc_symbol_map) do
unicode = unicode:gsub(pat, repl)
end
unicode = "<span class=\"Egyp\" lang=\"egy\">" .. unicode .. "</span>"
return unicode
end
function export.mdc_to_wikihiero(frame)
local mdc = frame.args[1]
local wikihiero = remove_comments(mdc)
for pat, repl in pairs(wikihiero_bracket_fix_map) do
wikihiero = wikihiero:gsub(pat, repl)
end
for glyph in string.gmatch(wikihiero, "%f[%w_%*:~]%u[%w_]+%f[^%w_%*:]") do
if (wikihiero_word_set[glyph] == nil and mdc_phonogram_map[glyph] == nil) then
local glyph_image_height = 93
if unavailable_glyph_image_height_map[glyph] ~= nil then
glyph_image_height = unavailable_glyph_image_height_map[glyph]
end
local glyph_height = math.min(38, math.floor(glyph_image_height * 0.41))
local glyph_quadrat =
"<table class=\"mw-hiero-table mw-hiero-outer\" dir=\"ltr\"><tr><td><table class=\"mw-hiero-table\"><tr><td height=\"" ..
(glyph_height + 2) ..
"\"><span style=\"margin: 1px;\">[[File:Abydos-Bold-hieroglyph-" ..
glyph ..
".png|" ..
glyph ..
"|x" ..
glyph_height ..
"px|link=|class=skin-invert]]</span></td></tr></table></td></tr></table>" -- not yet supported: mirroring, multi-glyph quadrats
wikihiero = mw.ustring.gsub(wikihiero, "%f[%w_%*:~]" .. glyph .. "%f[^%w_%*:%.%|]",
frame:preprocess("</hiero>" .. glyph_quadrat .. "<hiero>"))
end
end
wikihiero = mw.ustring.gsub(wikihiero, "%*", "@")
for unsupported_quadrat in string.gmatch(wikihiero, "~[%w_%@:]+%f[^%w_%@:]") do
local quadrat = mw.ustring.gsub(unsupported_quadrat, "~", "")
quadrat = mw.ustring.gsub(quadrat, ":", "::")
quadrat = mw.ustring.gsub(quadrat, "@", " ")
local quadrat_start =
"<table class=\"mw-hiero-table mw-hiero-outer\" dir=\"ltr\"><tr><td><table class=\"mw-hiero-table\"><tr><td height=\"40\">"
local quadrat_end = "</td></tr></table></td></tr></table>"
for glyph in string.gmatch(quadrat, "%f[%w_][%w_]+%f[^%w_]") do
if (wikihiero_word_set[glyph] == nil and mdc_phonogram_map[glyph] == nil) then
local glyph_image_height = 70
if unavailable_glyph_image_height_map[glyph] ~= nil then
glyph_image_height = unavailable_glyph_image_height_map[glyph]
end
local glyph_height = math.min(29, math.floor(glyph_image_height * 0.41))
local processed_glyph = "<span style=\"margin: 1px;\">[[File:Abydos-Bold-hieroglyph-" ..
glyph .. ".png|" .. glyph .. "|x" .. glyph_height .. "px|link=|class=skin-invert]]</span>"
quadrat = mw.ustring.gsub(quadrat, "%f[%w_]" .. glyph .. "%f[^%w_%.%|]", processed_glyph)
else
quadrat = mw.ustring.gsub(quadrat, "%f[%w_]" .. glyph .. "%f[^%w]",
frame:preprocess("<hiero>" .. glyph .. "</hiero>"))
end
end
quadrat = mw.ustring.gsub(quadrat, "::", "<br>")
quadrat = quadrat_start .. quadrat .. quadrat_end
wikihiero = mw.ustring.gsub(wikihiero, unsupported_quadrat, frame:preprocess("</hiero>" .. quadrat .. "<hiero>"))
end
wikihiero = mw.ustring.gsub(wikihiero, "@", "*")
wikihiero = mw.ustring.gsub(wikihiero, "!", frame:preprocess("</hiero><br><hiero>"))
-- Prevents empty hiero tables to be created.
wikihiero = mw.ustring.gsub("<hiero>" .. wikihiero .. "</hiero>", "<hiero>%-?</hiero>", "")
return frame:preprocess(wikihiero)
end
function track(page)
trackfn(lang:getCode() .. "-hieroglyphs/" .. page)
return true
end
function export.parameter_to_hiero(frame)
local param = frame.args[1]
if mw.ustring.find(param, "hiero") or mw.ustring.find(param, "egy%-glyph") then
-- [[Special:WhatLinksHere/Wiktionary:Tracking/egy-hieroglyphs/wikihiero to cleanup]]
track("wikihiero to cleanup")
return param
else
return export.mdc_to_wikihiero(frame)
end
end
return export
759w5j9s605hs57oykdd1ygb1395m0x
แม่แบบ:egy-pr
10
2331432
5723331
2026-05-22T01:40:08Z
OctraBot
3198
นำเข้าจาก enwikt
5723331
wikitext
text/x-wiki
<includeonly>{{#invoke:egy-pron|show}}</includeonly><!--
--><noinclude>{{documentation}}</noinclude>
tw8360l57sewgpq5kf9z76ohxaxpxm2
มอดูล:egy-pron
828
2331433
5723332
2026-05-22T01:41:09Z
OctraBot
3198
สร้างหน้าด้วย "local export = {} local M = require("Module:module loader").init({ require = { string_utilities = "Module:string utilities", parse_utilities = "Module:parse utilities", IPA = "Module:IPA", accent_qualifier = "Module:accent qualifier", pron_qualifier = "Module:pron qualifier", languages = "Module:languages", parameters = "Module:parameters", references = "Module:references", utilities = "Module:utilities", }, loadData = { head..."
5723332
Scribunto
text/plain
local export = {}
local M = require("Module:module loader").init({
require = {
string_utilities = "Module:string utilities",
parse_utilities = "Module:parse utilities",
IPA = "Module:IPA",
accent_qualifier = "Module:accent qualifier",
pron_qualifier = "Module:pron qualifier",
languages = "Module:languages",
parameters = "Module:parameters",
references = "Module:references",
utilities = "Module:utilities",
},
loadData = {
headword_data = "Module:headword/data",
},
})
local rsplit = M.string_utilities.split
local rsubn = M.string_utilities.gsub
local ulower = M.string_utilities.lower
local concat = table.concat
local insert = table.insert
local remove = table.remove
local lang = M.languages.getByCode("egy")
local phonetic_chars_map = {
["ꜣ"] = "ɑ",
["j"] = "i",
["y"] = "iː",
["ꜥ"] = "ɑː",
["w"] = "w",
["u"] = "uː",
["b"] = "b",
["p"] = "p",
["f"] = "f",
["m"] = "m",
["n"] = "n",
["r"] = "r",
["h"] = "h",
["ḥ"] = "h",
["ḫ"] = "x",
["ẖ"] = "ç",
["z"] = "z",
["s"] = "s",
["š"] = "ʃ",
["q"] = "k",
["k"] = "k",
["g"] = "ɡ",
["t"] = "t",
["ṯ"] = "t͡ʃ",
["d"] = "d",
["ḏ"] = "d͡ʒ",
["e"] = "ɛ"
}
local ang_chars_map = {
["ꜣ"] = "a",
["j"] = "i",
["y"] = "y",
["ꜥ"] = "a",
["w"] = "w",
["u"] = "u",
["b"] = "b",
["p"] = "p",
["f"] = "f",
["m"] = "m",
["n"] = "n",
["r"] = "r",
["h"] = "h",
["ḥ"] = "h",
["ḫ"] = "kh",
["ẖ"] = "kh",
["z"] = "z",
["s"] = "s",
["š"] = "sh",
["q"] = "q",
["k"] = "k",
["g"] = "g",
["t"] = "t",
["ṯ"] = "tj",
["d"] = "d",
["ḏ"] = "dj",
["e"] = "e"
}
local function generate_obj(respelling)
return { respelling = respelling }
end
local function generate_pron_obj(pron)
return { pron = pron }
end
local function parse_reconstructed_item(item, paramname)
if not item or item == "" then
return {}
end
if item:find("[<%[]") then
local put = M.parse_utilities
local segments = put.parse_multi_delimiter_balanced_segment_run(item, { { "<", ">" }, { "[", "]" } })
local comma_separated_groups = put.split_alternating_runs_on_comma(segments)
local retval = {}
for _, group in ipairs(comma_separated_groups) do
local j = 2
while j <= #group do
if not group[j]:find("^<.*>$") then
group[j - 1] = group[j - 1] .. group[j] .. group[j + 1]
remove(group, j)
remove(group, j)
else
j = j + 2
end
end
local param_mods = {
q = { type = "qualifier" },
qq = { type = "qualifier" },
a = { type = "labels" },
aa = { type = "labels" },
ref = { item_dest = "refs", type = "references" },
note = { item_dest = "note", type = "qualifier" },
}
insert(retval, put.parse_inline_modifiers_from_segments {
group = group,
arg = item,
props = {
paramname = paramname,
param_mods = param_mods,
generate_obj = generate_pron_obj,
},
})
end
return retval
end
return { { pron = item } }
end
local function split_on_comma(term)
if not term then
return nil
end
if term:find(",%s") or term:find("\\") then
return M.parse_utilities.split_on_comma(term)
else
return rsplit(term, ",")
end
end
local function parse_respellings_with_modifiers(respelling, paramname)
if respelling and respelling:find("[<%[]") then
local put = M.parse_utilities
local segments = put.parse_multi_delimiter_balanced_segment_run(respelling, { { "<", ">" }, { "[", "]" } })
local comma_separated_groups = put.split_alternating_runs_on_comma(segments)
local retval = {}
for _, group in ipairs(comma_separated_groups) do
local j = 2
while j <= #group do
if not group[j]:find("^<.*>$") then
group[j - 1] = group[j - 1] .. group[j] .. group[j + 1]
remove(group, j)
remove(group, j)
else
j = j + 2
end
end
local param_mods = {
q = { type = "qualifier" },
qq = { type = "qualifier" },
a = { type = "labels" },
aa = { type = "labels" },
ref = { item_dest = "refs", type = "references" },
}
insert(retval, put.parse_inline_modifiers_from_segments {
group = group,
arg = respelling,
props = {
paramname = paramname,
param_mods = param_mods,
generate_obj = generate_obj,
},
})
end
return retval
else
local retval = {}
local items = respelling and split_on_comma(respelling) or {}
for _, item in ipairs(items) do
insert(retval, generate_obj(item))
end
return retval
end
end
local function normalize_and_phonology(word)
word = ulower(word or "")
local s = word
s = rsubn(s, "^%-", "")
s = rsubn(s, "%-$", "")
s = rsubn(s, "%-", " ")
s = rsubn(s, "_", " _ʔ")
s = rsubn(s, "%f[%a]j%.", "j")
s = rsubn(s, "%.", " ʔ")
s = rsubn(s, "w", "u")
s = rsubn(s, "%f[%a]u", "w")
s = rsubn(s, "s _ʔu", "s _ʔw")
s = rsubn(s, "%f[%a]([mnr])%f[%A]", "e%1")
s = rsubn(s, "ʔ([bpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "ʔe%1")
s = rsubn(s, "%f[%a]([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "%1e")
s = rsubn(s, "([ꜣjyꜥue])([bpfmnrhḥḫẖzsšqkgtṯdḏ])([bpfmnrhḥḫẖzsšqkgtṯdḏ])([ꜣjyꜥue])", "%1%2v%3%4")
s = rsubn(s, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])", "%1e%2")
s = rsubn(s, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "%1e%2")
s = rsubn(s, "v", "")
s = rsubn(s, "([ꜣjyꜥue])([bpfmnrhḥḫẖzsšqkgtṯdḏ])e([bpfmnrhḥḫẖzsšqkgtṯdḏ])e", "%1%2%3e")
s = rsubn(s, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%1", "%1e%1")
s = rsubn(s, " _ʔ", "")
s = rsubn(s, " ʔ", "ʔ")
return s
end
local function to_IPA_internal(word)
local s = normalize_and_phonology(word)
s = rsubn(s, "ꜥneḫ", "ꜥnḫ")
s = rsubn(s, "([ꜣꜥ])([ꜣꜥ])", "%1ʔ%2")
s = rsubn(s, "([ꜣꜥ])([ꜣꜥ])%f[%A]", "%1ʔ%2")
s = rsubn(s, "([jy])([jy])", "%1ʔ%2")
s = rsubn(s, "([jy])([jy])%f[%A]", "%1ʔ%2")
s = rsubn(s, "uu", "uʔu")
s = rsubn(s, ".", phonetic_chars_map)
return "/" .. s .. "/"
end
local function to_anglicization_internal(word)
word = ulower(word or "")
local ang = word
ang = rsubn(ang, "%-", " - ")
ang = rsubn(ang, "%f[%a]j%.", "j")
ang = rsubn(ang, "%.", " ʔ")
ang = rsubn(ang, "_", " _ʔ")
ang = rsubn(ang, "w", "u")
ang = rsubn(ang, "%f[%a]u", "w")
ang = rsubn(ang, "s _ʔu", "s _ʔw")
ang = rsubn(ang, "uj%f[%A]", "wj")
ang = rsubn(ang, "%f[%a]([mnr])%f[%A]", "e%1")
ang = rsubn(ang, "ʔ([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "ʔe%1")
ang = rsubn(ang, "%f[%a]([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "%1e")
ang = rsubn(ang, "([ꜣjyꜥue])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([ꜣjyꜥue])", "%1%2v%3%4")
ang = rsubn(ang, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])", "%1e%2")
ang = rsubn(ang, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%f[%A]", "%1e%2")
ang = rsubn(ang, "v", "")
ang = rsubn(ang, "([ꜣjyꜥue])([wbpfmnrhḥḫẖzsšqkgtṯdḏ])e([wbpfmnrhḥḫẖzsšqkgtṯdḏ])e", "%1%2%3e")
ang = rsubn(ang, "([wbpfmnrhḥḫẖzsšqkgtṯdḏ])%1", "%1e%1")
ang = rsubn(ang, " _ʔ", "")
ang = rsubn(ang, " ʔ", ".")
ang = rsubn(ang, "ꜥneḫ", "ꜥnḫ")
ang = rsubn(ang, "neḫet", "naḫt")
ang = rsubn(ang, "jmen", "ꜣmen")
ang = rsubn(ang, "jten", "ꜣten")
ang = rsubn(ang, "sebek", "sobek")
ang = rsubn(ang, "peteḥ", "ptaḥ")
ang = rsubn(ang, " %- ", "-")
ang = rsubn(ang, ".", ang_chars_map)
return ang
end
local function multiword(term, pagename)
if term and term:find("^raw:%[.+%]$") then
return { { phonetic = term:gsub("^raw:", "") } }
end
local respelling = term
if not respelling or respelling == "" or respelling == "#" then
respelling = pagename or ""
end
local words = split_on_comma(respelling)
if not words or #words == 0 then
words = { respelling }
end
local prons = {}
for _, word in ipairs(words) do
local w = (word and word ~= "") and word or pagename
if w and w ~= "" then
insert(prons, { pron = to_IPA_internal(w) })
end
end
if #prons == 0 and respelling ~= "" then
insert(prons, { pron = to_IPA_internal(respelling) })
end
return prons
end
local function ensure_slashes(pron)
if not pron or pron == "" then return "" end
if not pron:find("^/") then pron = "/" .. pron .. "/" end
return pron
end
local function refs_list(val)
if not val then return nil end
if type(val) == "table" and #val > 0 then return val end
if type(val) == "string" and val ~= "" then
local ok, parsed = pcall(M.references.parse_references, val)
return (ok and parsed and #parsed > 0) and parsed or nil
end
return nil
end
local function build_reconstructed_block(lang_obj, stages, args, indent, qualifier_override, row_ref)
local q_val = qualifier_override
local block_refs = refs_list(row_ref)
local ulen = M.string_utilities.len
local function total_len()
local t = 0
for _, stage_key in ipairs({ "o", "m", "ml", "l" }) do
local list = stages[stage_key] or {}
for _, item in ipairs(list) do
t = t + ulen(item.pron or "")
end
end
local q_str = (type(q_val) == "string") and q_val or ""
return t + ulen(q_str)
end
local w = 28 + math.floor(2 * total_len() / 3)
if w > 52 then
w = 52
end
local collapsed_parts = {}
local function add_collapsed(s) insert(collapsed_parts, s) end
local stage_order = { { key = "o", label = "Old Egyptian", date = "c. 2350 {{BCE}}", link = "[[w:Egyptian language#Old Egyptian|Old Egyptian]]" }, { key = "m", label = "Middle Egyptian", date = "c. 1700 {{BCE}}", link = "[[w:Egyptian language#Middle Egyptian|Middle Egyptian]]" }, { key = "ml", label = "Amarna-period Late Egyptian", date = "c. 1350 {{BCE}}", link = "[[w:Late Egyptian language|Amarna-period Late Egyptian]]" }, { key = "l", label = "Late Egyptian", date = "c. 800 {{BCE}}", link = "[[w:Late Egyptian language|Late Egyptian]]" } }
local collapsed_items = {}
for si, stage in ipairs(stage_order) do
local list = stages[stage.key] or {}
for ii, item in ipairs(list) do
local pron = ensure_slashes(item.pron)
if pron ~= "" then
local entry = { pron = pron }
if #collapsed_items > 0 then
entry.separator = (ii == 1) and " → " or ", "
end
insert(collapsed_items, entry)
end
end
end
local collapsed_line = ""
if #collapsed_items > 0 then
local q_list = (q_val and q_val ~= "") and { q_val } or nil
local qualifier_pretext = (q_list and q_list[1]) and (M.pron_qualifier.format_qualifiers { lang = lang_obj, text = "", q = q_list }) or ""
if collapsed_items[1] and qualifier_pretext ~= "" then
collapsed_items[1].pretext = qualifier_pretext
end
local a_list = { "[[w:Egyptian language#Phonology|reconstructed]]" }
collapsed_line = M.IPA.format_IPA_full {
lang = lang_obj,
items = collapsed_items,
separator = ", ",
no_count = true,
a = a_list,
split_output = true,
}
if block_refs then
collapsed_line = collapsed_line .. M.references.format_references(block_refs)
end
end
add_collapsed(collapsed_line)
local expanded_list_items = {}
for _, stage in ipairs(stage_order) do
local list = stages[stage.key] or {}
if #list > 0 then
local stage_items = {}
local q_list = (q_val and q_val ~= "") and { q_val } or nil
local qualifier_pretext = (q_list and q_list[1]) and (M.pron_qualifier.format_qualifiers { lang = lang_obj, text = "", q = q_list }) or ""
local is_first_stage = (stage.key == "o")
for i, item in ipairs(list) do
local pron = ensure_slashes(item.pron)
if pron ~= "" then
local q = type(item.q) == "table" and item.q or (item.q and item.q ~= "" and { item.q } or nil)
local refs = refs_list(item.refs)
local entry = { pron = pron, q = q, refs = refs }
if i == 1 and qualifier_pretext ~= "" then
entry.pretext = qualifier_pretext
end
insert(stage_items, entry)
end
end
local expanded_line = ""
if #stage_items > 0 then
local a_list = { stage.link .. ", " .. stage.date }
expanded_line = M.IPA.format_IPA_full {
lang = lang_obj,
items = stage_items,
no_count = true,
a = a_list,
split_output = true,
}
end
local note_str
for _, item in ipairs(list) do
if item.note then
local n = (type(item.note) == "table" and item.note[1]) or item.note
if n and n ~= "" then
note_str = (type(n) == "string") and n or tostring(n)
break
end
end
end
local li = mw.html.create("li")
li:wikitext(expanded_line)
if note_str and note_str ~= "" then
li:wikitext(" ")
li:tag("span"):addClass("qualifier-content"):wikitext(note_str)
end
local stage_has_V = false
for _, item in ipairs(list) do
if item.pron and item.pron:find("V") then stage_has_V = true; break end
end
if stage_has_V then
li:tag("dl"):tag("dd"):tag("span"):css("font-size", "x-small"):wikitext("where V represents an unknown short vowel.")
end
insert(expanded_list_items, li)
end
end
local ul_collapsed = mw.html.create("ul")
ul_collapsed:tag("li"):wikitext(concat(collapsed_parts))
local ul_expanded = mw.html.create("ul")
for _, li in ipairs(expanded_list_items) do
ul_expanded:node(li)
end
local div_collapsed = mw.html.create("div")
:addClass("vsShow")
:css("display", "block")
:node(ul_collapsed)
local div_expanded = mw.html.create("div")
:addClass("vsHide")
:css("display", "none")
:node(ul_expanded)
local span_toggle = mw.html.create("span")
:addClass("vsToggleElement")
:css("float", "right")
:css("cursor", "pointer")
:wikitext(" ")
return tostring(mw.html.create("div")
:addClass("vsSwitcher")
:attr("data-toggle-category", "pronunciations")
:css("width", w .. "em")
:css("max-width", "100%")
:node(span_toggle)
:node(div_collapsed)
:node(div_expanded))
end
function export.get_pron_info(terms, pagename)
if #terms == 1 and terms[1].respelling == "-" then
return { pron_list = nil }
end
local pron_list = {}
for _, term in ipairs(terms) do
local respelling = term.respelling
if not respelling or respelling == "" or respelling == "#" then
respelling = pagename
end
if not respelling or respelling == "" then
respelling = pagename or ""
end
local prons = multiword(respelling, pagename)
for i, pron in ipairs(prons) do
if pron.phonetic then
insert(pron_list, {
pron = pron.phonetic,
q = term.q,
qq = term.qq,
a = term.a,
aa = term.aa,
refs = i == 1 and term.refs or nil,
})
else
local pron_str = pron.pron
local bracketed_pron = pron_str:find("^/") and pron_str or ("/" .. pron_str .. "/")
insert(pron_list, {
pron = bracketed_pron,
q = term.q,
qq = term.qq,
a = term.a,
aa = term.aa,
refs = i == 1 and term.refs or nil,
})
end
end
end
return { pron_list = pron_list }
end
function export.to_IPA(word)
return to_IPA_internal(word)
end
function export.to_anglicization(word)
return to_anglicization_internal(word)
end
function export.pronunciation(words)
local items = {}
for _, word in ipairs(words) do
insert(items, { pron = to_IPA_internal(word) })
end
return M.IPA.format_IPA_full { lang = lang, items = items }
end
function export.anglicization(words)
local items = {}
for _, word in ipairs(words) do
insert(items, to_anglicization_internal(word))
end
return concat(items, ", ")
end
function export.show(frame)
local parent_args = frame:getParent().args
local lang_obj = lang
local params = {
[1] = { list = true, default = M.headword_data.pagename },
ang = { list = true, allow_holes = true },
pagename = true,
indent = true,
o = { list = true, allow_holes = true, sublist = "comma without whitespace" },
m = { list = true, allow_holes = true, sublist = "comma without whitespace" },
ml = { list = true, allow_holes = true, sublist = "comma without whitespace" },
l = { list = true, allow_holes = true, sublist = "comma without whitespace" },
q = { list = true, allow_holes = true },
ref = { list = true, type = "references" },
}
local args = M.parameters.process(parent_args, params)
local termspec = args[1]
local terms
if type(termspec) == "table" then
terms = {}
for _, w in ipairs(termspec) do
insert(terms, { respelling = w })
end
else
terms = parse_respellings_with_modifiers(termspec or "#", 1)
end
local pagename = args.pagename or M.headword_data.pagename
local indent = args.indent or "*"
local pronobj = export.get_pron_info(terms, pagename)
local parts = {}
local function ins(text)
insert(parts, text)
end
local function to_list(v)
if type(v) == "table" then return v end
return (v and v ~= "") and { v } or {}
end
local stage_keys = { "o", "m", "ml", "l" }
local max_row = 0
for _, key in ipairs(stage_keys) do
local t = args[key]
if t then
local n = t.maxindex or #t
if n > max_row then max_row = n end
end
end
local reconstructed_rows = {}
local all_stages_union = { o = {}, m = {}, ml = {}, l = {} }
for i = 1, max_row do
local stages_row = { o = {}, m = {}, ml = {}, l = {} }
for _, stage_key in ipairs(stage_keys) do
local raw_list = to_list(args[stage_key] and args[stage_key][i])
for _, raw in ipairs(raw_list) do
if raw and raw ~= "" then
for _, obj in ipairs(parse_reconstructed_item(raw, stage_key)) do
insert(stages_row[stage_key], obj)
end
end
end
end
local has_any = false
for _, key in ipairs(stage_keys) do
if #(stages_row[key]) > 0 then has_any = true; break end
end
if has_any then
local qualifier = args.q and args.q[i]
local row_ref = args.ref and args.ref[i]
insert(reconstructed_rows, { stages = stages_row, qualifier = qualifier, ref = row_ref })
for _, key in ipairs(stage_keys) do
for _, obj in ipairs(stages_row[key]) do
insert(all_stages_union[key], obj)
end
end
end
end
for i, row in ipairs(reconstructed_rows) do
if i > 1 then ins("\n") end
ins(build_reconstructed_block(lang_obj, row.stages, args, indent, row.qualifier, row.ref))
end
if #reconstructed_rows > 0 then
local namespace = mw.title.getCurrentTitle().nsText
local is_content = (namespace == "" or namespace == "Reconstruction" or
(lang_obj and lang_obj.hasType and lang_obj:hasType("appendix-constructed") and namespace == "Appendix"))
if is_content then
local cat_list = {}
insert(cat_list, { cat = "Egyptian terms with reconstructed IPA pronunciation" })
local period_cats = {
o = "Egyptian terms with reconstructed Old Egyptian IPA pronunciation",
m = "Egyptian terms with reconstructed Middle Egyptian IPA pronunciation",
ml = "Egyptian terms with reconstructed Amarna-period Late Egyptian IPA pronunciation",
l = "Egyptian terms with reconstructed Late Egyptian IPA pronunciation",
}
for _, key in ipairs(stage_keys) do
if #(all_stages_union[key]) > 0 then
insert(cat_list, { cat = period_cats[key] })
end
end
ins(M.utilities.format_categories(cat_list, lang_obj))
end
end
if pronobj.pron_list and #pronobj.pron_list > 0 then
if #reconstructed_rows > 0 then ins("\n") end
ins(indent .. " " .. M.accent_qualifier.format_qualifiers(lang_obj, { "Egyptological" }) .. " ")
ins(M.IPA.format_IPA_full { lang = lang_obj, items = pronobj.pron_list })
end
if args.ang and args.ang[1] ~= "0" then
local ang_list = {}
for i, t in ipairs(terms) do
ang_list[i] = args.ang[i] or t.respelling
end
if #ang_list > 0 then
local ang_str = export.anglicization(ang_list)
ins("\n** Conventional anglicization: " .. tostring(mw.html.create("span"):addClass("use-with-mention"):wikitext(ang_str)))
end
end
return concat(parts)
end
return export
1h24zfopp07jodkvul78uv3kpzzrs4m