function M.ts_determ(f) local m_ts_data = mw.loadData("Module:zh/data/ts") local m_st_data = mw.loadData("Module:zh/data/st") local text = type(f) ==...
IDS, data if j then IDS = substring(text, i, j) data = mw.loadData("Module:zh-sortkey/data/unsupported")[IDS] end if not data then ...
m_sort_data = mw.loadData("Module:zh/data/sortkey") local rs = type(f) == 'table' and f.args[1] or f local ch = sub(rs,1,1) ch = m_sort_data.sortkeys[ch]...
local export = {} export.st = { ["万"] = "萬", ["与"] = "與", ["专"] = "專", ["业"] = "業", ["丛"] = "叢", ["东"] = "東", ["丝"] = "絲", ["丢"] = "丟", ["两"]...
local export = {} export.ts = { ["「"] = "“", ["」"] = "”", ["『"] = "‘", ["』"] = "’", ["丟"] = "丢", ["並"] = "并", ["乾"] = "干", ["亂"] = "乱", ["亙"]...
local export = {} export.MT = { ["腌"] = { "ā", "āng" }, ["癌"] = { "ái", "yán" }, ["挨"] = { "ái", "āi" }, ["胺"] = { "àn", "ān" }, ["鮟"] = { "ān"...
--Part 3 "Dialectal data" if dial ~= "n" and is_single_hanzi then local success, m_dial = pcall(mw.loadData, "Module:zh/data/dial-pron/" .. pagename)...
local langues = mw.loadData("Module:langues/data") local p = {} p.specialCodes = { ["zh-Hans"] = "zh", ["zh-Hant"] = "zh", ["ko-Hani"] = "ko"...
local function m_zh_data() if _m_zh_data == nil then _m_zh_data = mw.loadData("Module:zh/data/cmn-tag") end; return _m_zh_data; end local py_detone...
local function m_zh_data() if _m_zh_data == nil then _m_zh_data = mw.loadData("Module:zh/data/cmn-tag") end; return _m_zh_data; end local py_detone...