You can help by adding more to /data!
code | name | character category | random in category | files on commons |
---|---|---|---|---|
Afak | Afaka | none | — | |
Bass | Bassa | none | — | |
Batk | Batak | none | — | |
Chis | Chisoi | none | — | |
Chrs | Khwarezmian | none | — | |
Cpmn | Cypro-Minoan | none | — | |
Diak | Dhives Akuru | none | — | |
Dupl | Duployan | none | — | |
Egyd | Demotic | none | — | |
Egyh | Hieratic | none | — | |
Elba | Elbasan | none | — | |
Elym | Elymaic | none | — | |
Gong | Gunjala Gondi | none | — | |
Gonm | Masaram Gondi | none | — | |
Gukh | Khema | none | — | |
Hatr | Hatran | none | — | |
Hluw | Anatolian hieroglyphic | none | — | |
Hmng | Pahawh Hmong | Pahawh Hmong script characters | » | |
Hmnp | Nyiakeng Puachue Hmong | none | — | |
Hrkt | Kana | none | — | |
Ibrnn | Northeastern Iberian | none | — | |
Ibrns | Southeastern Iberian | none | — | |
Inds | Indus | none | — | |
Jurc | Jurchen | none | — | |
Khoj | Khojki | none | — | |
Khomt | Khom Thai | none | — | |
Kitl | Khitan large | none | — | |
Kits | Khitan small | none | — | |
Kore | Korean | none | — | |
Kpel | Kpelle | none | — | |
Krai | Kirat Rai | none | — | |
Kulit | Kulitan | none | — | |
Latg | Gaelic | none | — | |
Leke | Leke | none | — | |
Loma | Loma | none | — | |
Mahj | Mahajani | none | — | |
Maka | Makasar | none | — | |
Mani | Manichaean | none | — | |
Marc | Marchen | none | — | |
Medf | Medefaidrin | none | — | |
Mend | Mende | none | — | |
Merc | Meroitic cursive | none | — | |
Mero | Meroitic hieroglyphic | none | — | |
Moon | Moon | none | — | |
Morse | Morse code | none | — | |
Mroo | Mru | none | — | |
Mult | Multani | none | — | |
Nagm | Mundari Bani | none | — | |
Nkdb | Dongba | none | — | |
Nkgb | Geba | none | — | |
Onao | Ol Onal | none | — | |
Palm | Palmyrene | none | — | |
Pauc | Pau Cin Hau | none | — | |
Pcun | Proto-Cuneiform | none | — | |
Pelm | Proto-Elamite | none | — | |
Perm | Old Permic | none | — | |
Phlp | Psalter Pahlavi | none | — | |
Psin | Proto-Sinaitic | none | — | |
Rjng | Rejang | none | — | |
Roro | Rongorongo | none | — | |
Shui | Sui | none | — | |
Sidt | Sidetic | none | — | |
Sogo | Old Sogdian | none | — | |
Sunu | Sunuwar | none | — | |
Tayo | Lai Tay | none | — | |
Tnsa | Tangsa | none | — | |
Todr | Todhri | none | — | |
Tols | Tolong Siki | none | — | |
Toto | Toto | none | — | |
Tutg | Tigalari | none | — | |
Visp | Visible Speech | none | — | |
Vith | Vithkuqi | none | — | |
Wcho | Wancho | none | — | |
Wole | Woleai | none | — | |
Yezi | Yezidi | none | — | |
Zanb | Zanabazar Square | none | — |
local export = {}
-- Get all script codes which do not have glyphs in ].
local m_sc = require("Module:scripts")
local m_sc_data = mw.loadData("Module:scripts/data")
local m_babel_data = mw.loadData("Module:Babel/data").script_glyphs
local insert = table.insert
local sort = table.sort
local sc_codes, babel_codes = {}, {}
for i,_ in pairs(m_sc_data) do
if not i:match("%l+-") and
i ~= "Image" and
i ~= "Latn" and
i ~= "None" and
i ~= "Zsym" and
i ~= "Zyyy" and
i ~= "Zzzz"
then insert(sc_codes, i) end
end
for i,_ in pairs(m_babel_data) do
insert(babel_codes, i)
end
local hash = {}
for _,i in pairs(sc_codes) do hash = true end
for _,i in pairs(babel_codes) do hash = nil end
local diff = {}
local n = 0
for _,i in pairs(sc_codes) do
if hash then
n = n + 1
diff = i
end
end
sort(diff)
function export.show()
if not diff then return ";Number of scripts missing glyphs: 0" end
local wikitable = '{|class = "wikitable sortable"\n!code\n!name\n!character category\n!random in category\n!files on commons\n|-\n'
for _,i in ipairs(diff) do
local name = m_sc.getByCode(i):getCanonicalName()
local category_link = "Category:" .. name .. " script characters"
local category, rand_in_cat
if not mw.title.new(category_link).exists then
category = "''none''"
rand_in_cat = "—"
else
category = "]"
rand_in_cat = "]"
end
wikitable = wikitable .. "|" .. i .. "\n|" .. name .. "\n|" .. category
.. "\n|" .. rand_in_cat .. "\n|\n]\n|-\n"
end
return ";Number of scripts missing glyphs:" .. #diff .. "\n''You can help by adding more to /data!''\n" .. wikitable .. "|}"
end
return export