Open main menu

Module sandbox for tests. The main function is show.

If you want to keep your test module as private, please create page in format: Module:User:(username)/(module_name).


  • Abaza (abq)
  • Adyghe (ady)
  • Aghul (agx)
  • Akhvakh (akv)
  • Alutor (alr)
  • Southern Altai (alt)
  • Andi (ani)
  • Archi (aqc)
  • Northern Altai (atv)
  • Avar (av)
  • Bashkir (ba)
  • Budukh (bdk)
  • Belarusian (be)
  • Bulgarian (bg)
  • Botlikh (bph)
  • Buryat (bua)
  • Chechen (ce)
  • Eastern Mari (chm)
  • Chamalal (cji)
  • Shor (cjs)
  • Chukchi (ckt)
  • Taimyr Pidgin Russian (crp-tpr)
  • Chuvash (cv)
  • Dargwa (dar)
  • Tsez (ddo)
  • Dolgan (dlg)
  • Central Siberian Yupik (ess)
  • Evenki (evn)
  • Godoberi (gdo)
  • Hinukh (gin)
  • Nanai (gld)
  • Hunzib (huz)
  • Ingush (inh)
  • Bezhta (kap)
  • Kabardian (kbd)
  • Khanty (kca)
  • Ket (ket)
  • Khvarshi (khv)
  • Tofa (kim)
  • Khakas (kjh)
  • Khinalug (kjj)
  • Karata (kpt)
  • Komi-Zyrian (kpv)
  • Koryak (kpy)
  • Karachay-Balkar (krc)
  • Kumyk (kum)
  • Lak (lbe)
  • Lezgi (lez)
  • Moksha (mdf)
  • Macedonian (mk)
  • Mansi (mns)
  • Western Mari (mrj)
  • Mator (mtm)
  • Erzya (myv)
  • Negidal (neg)
  • Nganasan (nio)
  • Nivkh (niv)
  • Rusyn (rue)
  • Rutul (rut)
  • Yakut (sah)
  • Selkup (sel)
  • Kildin Sami (sjd)
  • Siberian Tatar (sty)
  • Forest Nenets (syd-fne)
  • Tabasaran (tab)
  • Tsakhur (tkr)
  • Tuvan (tyv)
  • Udihe (ude)
  • Udmurt (udm)
  • Ukrainian (uk)
  • Urum (uum)
  • Kalmyk (xal)
  • Kamassian (xas)
  • Kilit (xme-klt)
  • Northern Yukaghir (ykg)
  • Tundra Nenets (yrk)
  • Sirenik (ysr)
  • Southern Yukaghir (yux)

local export = {}

function export.show(frame)
	local Map = require "Module:User:Erutuon/lang stuff/map"
	
	local languages = require "Module:languages/alldata"
	
	return Map:new(languages)
		:filter(
			function (data, code)
				return data.scripts and data.scripts[1] == "Cyrl" and not data.scripts[2]
			end)
		:map(
			function (data, code)
				return ("%s (<code>%s</code>)")
					:format(data[1], code)
			end)
		:sorted_concat("\n* ")
end

return export