text:
Module:User:Benwing2/labels/data/lang/zh

local labels = {}

-- NOTE: The labels below are grouped by "lect group" (e.g. Mandarin, Wu, Yue) and then alphabetized within each -- lect group. Hokkien is under "Min". If you don't find a given lect group, look under the "Other groups" below; -- also keep in mind the "Miscellaneous" at the bottom for labels that don't refer to a topolect.

-- Gan --

labels["Gan"] = { Wikidata = "Q33475", regional_categories = true, parent = true, }

labels["dialectal Gan"] = { nolect = true, Wikidata = "Q33475", -- article for Gan Chinese regional_categories = "Gan", }

-- FIXME: Category missing. labels["Changdu Gan"] = { -- A primary branch. Principal dialect: Nanchang. region = "northwestern Jiangxi Province and northeastern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Changdu"}, Wikidata = {"Q3497239", "Q6789768"}, -- the first ID is for English, the second for Chinese; they need to be merged plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Datong Gan"] = { -- A primary branch. Principal dialect: Daye. region = "southeastern Hubei Province and eastern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Datong"}, Wikidata = {"Q5207168", "Q6830838"}, -- the first ID is for English, the second for Chinese; they need to be merged plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Dongsui Gan"] = { -- A primary branch. Principal dialect: Dongkou. region = "southwestern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Dongsui"}, Wikidata = "Q6762652", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Fuguang Gan"] = { -- A primary branch. Principal dialect: Fuzhou (撫州) in Jiangsi. region = "central and eastern Jiangxi Province and southwestern Fujian Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Fuguang"}, Wikidata = "Q6794539", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Huaiyue Gan"] = { -- A primary branch. Principal dialect: Huaining. region = "southwestern Anhui Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Huaiyue"}, Wikidata = "Q6797985", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Jicha Gan"] = { -- A primary branch. Principal dialect: Ji'an. region = "central and southern Jiangxi Province and eastern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Jicha"}, Wikidata = "Q6844561", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Leizi Gan"] = { -- A primary branch. Principal dialect: Leiyang. region = "eastern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Leizi"}, Wikidata = "Q7212943", plain_categories = true, parent = true, }

labels["Lichuan Gan"] = { region = "Lichuan County, under the jurisdiction of the prefecture-level city of Fuzhou in northeastern Jiangxi Province (not to be confused with the Fuzhou city in Fujian Province)", aliases = {"Lichuan"}, -- FIXME: Correct? Wikidata = "Q6794539", -- article for Fuguang Gan plain_categories = true, parent = "Fuguang Gan", }

labels["Nanchang Gan"] = { -- This is thA variety of Changdu Gan (where it is the principal dialect). region = "Nanchang, capital of Jiangxi Province in south-central China", aliases = {"Nanchang"}, -- FIXME: Correct? Wikidata = "Q3497239", -- article for Changdu Gan in English, Nanchang Gan in Chinese plain_categories = true, parent = "Changdu Gan", }

labels["Pingxiang Gan"] = { region = "Pingxiang, a prefecture-level city in Jiangxi Province in south-central China", aliases = {"Pingxiang"}, -- FIXME: Correct? Wikidata = "Q8053438", -- article for Yiliu Gan plain_categories = true, parent = "Yiliu Gan", }

labels["Taining Gan"] = { region = ", under the jurisdiction of the prefecture-level city of Sanming in northwastern Fujian Province in southeast China", aliases = {"Taining"}, -- FIXME: Correct? Wikidata = "Q6794539", -- article for Fuguang Gan plain_categories = true, parent = "Fuguang Gan", }

-- FIXME: Category missing. labels["Yiliu Gan"] = { -- A primary branch. Principal dialect: Yichun. region = "central and western Jiangxi Province and eastern Hunan Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Yiliu"}, Wikidata = {"Q8053438", "Q6820035"}, -- the first ID is for English, the second for Chinese; they need to be merged plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Yingyi Gan"] = { -- A primary branch. Principal dialect: Yingtan. region = "northeastern Jiangxi Province, in south-central China", addl = "A primary branch of Gan.", aliases = {"Yingyi"}, Wikidata = {"Q3443012", "Q6654505"}, -- the first ID is for English, the second for Chinese; they need to be merged plain_categories = true, parent = true, }

-- Hakka --

labels["Hakka"] = { Wikidata = "Q33375", regional_categories = true, parent = true, }

labels["dialectal Hakka"] = { nolect = true, Wikidata = "Q33375", -- article for Hakka Chinese regional_categories = "Hakka", }

labels["Dabu Hakka"] = { region = " in eastern Guangdong Province in southern China, and in Taiwan", aliases = {"Dabu"}, Wikidata = "Q19855566", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Early Modern Hakka"] = { noreg = true, nolink = true, extinct = true, region = "the 19th century, especially in Bible translations", Wikidata = "Q33375", -- article for Hakka Chinese plain_categories = true, parent = true, }

labels["Hailu Hakka"] = { region = "Shanwei in Guangdong Province in southern China, as well as in Taiwan and West Kalimantan, Indonesia", aliases = {"Hailu"}, Wikidata = "Q19855025", -- see also Q17038519 "Hailu Hakka" in Wikidata, which duplicates Q19855025 and redirects to it in Chinese Wikipedia plain_categories = true, parent = true, }

labels["Hong Kong Hakka"] = { Wikidata = "Q2675834", plain_categories = true, parent = true, }

labels["Huiyang Hakka"] = { region = "Huizhou, Dongguan and Shenzhen, in east-central Guangdong Province in southern China, with Danshui Subdistrict in, Huizhou as its representative dialect", aliases = {"Huiyang"}, Wikidata = "Q16873881", plain_categories = true, parent = true, }

-- FIXME: Category missing. --labels["Jiangxi Hakka"] = { --	-- Multiple dialects; possibly referring to Tonggu County dialect. --	plain_categories = true, --}

-- FIXME: Category missing. labels["Malaysian Huiyang Hakka"] = { region = "Malaysia, originating in, Huizhou in east-central Guangdong Province in southern China", aliases = {"Malaysia Huiyang Hakka"}, Wikidata = "Q16873881", -- article for Huiyang Hakka plain_categories = true, parent = "Huiyang Hakka", }

labels["Meixian Hakka"] = { region = "Meixian District (similar to a county and surrounding the urban core of Meizhou), located in northeastern Guangdong Province; additionally, in numerous overseas countries", addl = "Meixian Hakka is the prestige dialect of Hakka.", aliases = {"Meixian", "Moiyan", "Moiyan Hakka", "Meizhou", "Meizhou Hakka"}, Wikidata = "Q839295", plain_categories = true, parent = true, }

labels["Northern Sixian Hakka"] = { region = "Taoyuan and Miaoli in the north of Taiwan", aliases = {"Northern Sixian"}, Wikidata = "Q9668261", -- article for Sixian Hakka plain_categories = true, parent = "Sixian Hakka", }

labels["Raoping Hakka"] = { region = " in Guangdong as well as Taoyuan, Hsinchu, Miaoli and Taichung in Taiwan", -- No Raoping alias because Chaoshan Min is also spoken. Wikidata = "Q19854038", plain_categories = true, parent = true, }

labels["Sixian Hakka"] = { region = "several parts of Taiwan, especially Taoyuan and Miaoli in the north, as well as the Liudui Region in Kaohsiung and Pingtung in the south", aliases = {"Sixian"}, Wikidata = "Q9668261", plain_categories = true, parent = "Taiwanese Hakka", }

labels["Southern Sixian Hakka"] = { region = "the Liudui Region in Kaohsiung and Pingtung in the south of Taiwan", aliases = {"Southern Sixian"}, Wikidata = {"Q98095139", "Q9668261"}, -- second is article for Sixian Hakka; Q98095139 is "Southern Sixian dialect" but has no articles linked parent = "Sixian Hakka", }

labels["Shangyou Hakka"] = { region = " in southwestern Jiangxi Province, in southeast China", aliases = {"Shangyou"}, Wikidata = "Q1282613", -- article for Shangyou County plain_categories = true, parent = true, }

labels["Taiwanese Hakka"] = { region = "Taiwan", parent = {"+", "C:Taiwanese Chinese"}, aliases = {"Taiwan Hakka"}, Wikidata = "Q2391532", plain_categories = true, parent = true, }

-- Skipped: Wuluo Hakka; appears to originate in Pingtung County, Taiwan and be part of Southern Sixian Hakka, maybe -- related to the Wuluo River, but extremely obscure; can't find anything about the dialect in Google.

labels["Yudu Hakka"] = { region = " in the south of Jiangxi Province, in southeast China", aliases = {"Yudu"}, Wikidata = "Q1816748", -- article for Yudu County plain_categories = true, parent = true, }

labels["Yunlin Hakka"] = { region = "Yunlin County in western Taiwan", parent = "Taiwanese Hakka", aliases = {"Yunlin"}, Wikidata = "Q153221", -- article for Yunlin County plain_categories = true, parent = "Taiwanese Hakka", }

labels["Zhao'an Hakka"] = { verb = "spoken originally", region = " in the prefecture-level city of Zhangzhou in southernmost Fujian Province in southeast China; now also in Yunlin County and the city of Taoyuan, in Taiwan", Wikidata = "Q6703311", plain_categories = true, parent = true, }

-- Jin --

labels["Jin"] = { Wikidata = "Q56479", regional_categories = true, parent = true, }

labels["dialectal Jin"] = { nolect = true, Wikidata = "Q56479", -- article for Jin Chinese regional_categories = "Jin", }

labels["Xinzhou Jin"] = { -- no "Xinzhou" alias; Xinzhou Wu (different Xinzhou) also exists Wikidata = "Q73119", -- article for Xinzhou (city in Shanxi) plain_categories = true, parent = true, -- actually in the Wutai subgroup; FIXME: add parent label }

-- Literary Chinese --

labels["Korean Classical Chinese"] = { Wikidata = "Q10496257", plain_categories = true, }

labels["Standard Written Chinese"] = { aliases = {"SWC", "WVC", "Written vernacular Chinese", "Written Vernacular Chinese"}, Wikidata = "Q783605", }

labels["Vietnamese Classical Chinese"] = { Wikidata = "Q17034227", plain_categories = true, }

-- Mandarin --

labels["Mandarin"] = { Wikidata = "Q9192", regional_categories = true, }

labels["dialectal Mandarin"] = { nolect = true, Wikidata = "Q9192", -- article for Mandarin Chinese regional_categories = "Mandarin", }

-- FIXME: Category missing. labels["Beijingic Mandarin"] = { -- A primary branch. "Beijingic" is the term used by Glottolog. Wikipedia calls this -- Beijing Mandarin (division of Mandarin) as opposed to Beijing dialect for Beijing Mandarin itself, -- but this is excessively ambiguous. -- Dialects per Wikipedia: Beijing dialect (with Standard Chinese as a child), -- Philippine Mandarin, Malaysian Mandarin, Chengde dialect (承德话), Chifeng dialect (赤峰话), Hailar -- dialect (海拉尔话). region = "areas surrounding Beijing in northeastern China, including Beijing as well as parts of Hebei Province, Inner Mongolia Autonomous Region, Liaoning Province and Tianjin Municipality", addl = "A primary branch of Mandarin.", aliases = {"Beijingic"}, Wikidata = "Q2169652", plain_categories = true, parent = true, }

labels["Beijing Mandarin"] = { region = "urban Beijing", aliases = {"Beijing", "Peking", "Pekingese"}, Wikidata = "Q1147606", plain_categories = true, parent = "Beijingic Mandarin", }

labels["Central Plains Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Dungan language, Gangou dialect, Kaifeng dialect (开封话), -- Luoyang dialect, Nanyang dialect (南阳话), Qufu dialect (曲埠话), Tianshui dialect (天水话), -- Xi'an dialect, Xuzhou dialect, Yan'an dialect (延安话), Zhengzhou dialect (郑州话). region = "central China, specifically in Henan Province, the central parts of Shaanxi Province in the Yellow River valley and eastern Gansu Province, as well as in southern Xinjiang Autonomous Region in far western China, due to recent migration", addl = "A primary branch of Mandarin.", aliases = {"Central Plains", "Zhongyuan Mandarin"}, Wikidata = "Q3048775", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Changchun Mandarin"] = { region = "Changchun, the capital of Jilin Province in northeastern China", aliases = {"Changchun"}, Wikidata = "Q17030513", plain_categories = true, parent = "Northeastern Mandarin", }

-- FIXME: Category missing. labels["Dalian Mandarin"] = { prep = "on", region = "the Liaodong Peninsula in coastal eastern China in the city of Dalian, as well as in parts of Dandong and Yikou", aliases = {"Dalian"}, Wikidata = "Q1375036", plain_categories = true, parent = "Jiaoliao Mandarin", }

-- FIXME: Category missing. labels["Fenhe Mandarin"] = { region = "Linfen and Yuncheng in the lower reaches of the in Shanxi Province, as well as in Hancheng in Shaanxi Province", aliases = {"Fenhe"}, Wikidata = "Q10379509", plain_categories = true, parent = "Central Plains Mandarin", }

-- FIXME: Category missing. labels["Gangou Mandarin"] = { region = " in far eastern Qinghai Province; strongly influenced by the (Mongolic) and Amdo Tibetan", aliases = {"Gangou"}, Wikidata = "Q17050290", plain_categories = true, parent = "Central Plains Mandarin", }

labels["Guangxi Mandarin"] = { -- No Guangxi alias; seems unlikely to be correct Wikidata = "Q2609239", -- article for Southwestern Mandarin plain_categories = true, parent = "Southwestern Mandarin", }

labels["Guanzhong Mandarin"] = { region = "the region of central Shaanxi Province, including the capital city Xi'an", aliases = {"Guanzhong"}, Wikidata = "Q3431648", plain_categories = true, parent = "Central Plains Mandarin", }

labels["Guilin Mandarin"] = { -- No Guilin alias; also Guilin Pinghua, Guilin Southern Min region = "Guilin in Guangxi Autonomous Region in southern China", Wikidata = "Q11111636", plain_categories = true, parent = "Guiliu Mandarin", -- a variety of Southwestern Mandarin }

labels["Guiliu Mandarin"] = { region = "northern Guangxi Autonomous Region in southern China, especially in the cities of Guilin and Liuzhou", Wikidata = "Q11111664", plain_categories = true, parent = "Southwestern Mandarin", }

labels["Guiyang Mandarin"] = { region = "Guiyang, the capital of Guizhou Province in southwestern China", aliases = {"Guiyang"}, Wikidata = "Q15911623", plain_categories = true, parent = "Southwestern Mandarin", }

labels["Harbin Mandarin"] = { region = "Harbin, the capital of Heilongjiang Province in northeastern China", aliases = {"Harbin"}, Wikidata = "Q1006919", plain_categories = true, parent = "Northeastern Mandarin", }

-- FIXME: Category missing. labels["Hefei Mandarin"] = { region = "Hefei, the capital of Anhui Province in central China", aliases = {"Hefei"}, Wikidata = "Q10916956", plain_categories = true, parent = "Jianghuai Mandarin", }

-- FIXME: Category missing. --labels["Hui Mandarin"] = { --	-- Hui is an ethnic group; multiple dialects depending on the city in question. --	Wikipedia = "???", --	plain_categories = true, --}

labels["Jianghuai Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Hefei dialect, Hainan Junjiahua (军家话), Nanjing dialect, -- Nantong dialect, Xiaogan dialect (孝感话), Yangzhou dialect (扬州话). region = "parts of Jiangsu and Anhui Provinces on the north bank of the Yangtze in east-central China, as well as some areas on the south bank, such as Nanjing in Jiangsu Province and Jiujiang in Jiangxi Province", addl = "A primary branch of Mandarin.", aliases = {"Jianghuai", "Jiang-Huai", "Jiang-Huai Mandarin", "Lower Yangtze Mandarin", "Huai"}, Wikidata = "Q2128953", plain_categories = true, parent = true, }

labels["Jiaoliao Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Dalian dialect, Dandong dialect, Qingdao dialect, Rizhao dialect, -- Weifang dialect, Weihai dialect, Yantai dialect (烟台话). region = "coastal eastern China, specifically: on the (from Yantai to Qingdao); in  in northeastern Jiangsu Province; on the Liaodong Peninsula (from Dalian to Dandong); and in parts of Heilongjiang Province, due to migration", addl = "A primary branch of Mandarin.", aliases = {"Jiaoliao", "Jiao-Liao", "Jiao-Liao Mandarin"}, Wikidata = "Q2597550", plain_categories = true, parent = true, }

labels["Jilu Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Baoding dialect (保定话), Jinan dialect, Shijiazhuang dialect (石家庄话), -- Tianjin dialect. region = "coastal eastern China, specifically: Hebei Province; the western part of Shandong Province; and parts of Heilongjiang, due to migration", addl = "A primary branch of Mandarin.", aliases = {"Jilu", "Ji-Lu", "Ji-Lu Mandarin"}, Wikidata = "Q516721", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Jinan Mandarin"] = { region = "Jinan, the capital of Shandong Province in eastern China", aliases = {"Jinan"}, Wikidata = "Q6202017", plain_categories = true, parent = "Jilu Mandarin", }

-- FIXME: Category missing. labels["Kunming Mandarin"] = { region = "Kunming, the capital of Yunnan Province in southwestern China", aliases = {"Kunming"}, Wikidata = "Q3372400", plain_categories = true, parent = "Southwestern Mandarin", }

labels["Lanyin Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Lanzhou dialect (兰州话), Xining dialect (西宁话), Yinchuan dialect (银川话). region = "Lanzhou and elsewhere in Gansu Province; Yinchuan and generally in the northern part of Ningxia Autonomous Region; and more recently in northern Xinjiang Autonomous Region", addl = "A primary branch of Mandarin.", aliases = {"Lanyin", "Lan-Yin Mandarin"}, Wikidata = "Q662754", plain_categories = true, parent = true, }

labels["Lanzhou Mandarin"] = { region = "Lanzhou, the capital of Gansu Province in central China", aliases = {"Lanzhou"}, Wikidata = "Q10893628", plain_categories = true, parent = "Lanyin Mandarin", }

labels["Liuzhou Mandarin"] = { region = "Liuzhou in north-central Guangxi Autonomous Region in southern China", Wikidata = "Q7224853", plain_categories = true, parent = "Guiliu Mandarin", -- a variety of Southwestern Mandarin }

labels["Luoyang Mandarin"] = { region = "Luoyang and nearby parts of Henan Province, in central-eastern China", aliases = {"Luoyang"}, Wikidata = "Q3431347", plain_categories = true, parent = "Central Plains Mandarin", }

labels["Malaysian Mandarin"] = { prep = "by", region = "ethnic Chinese in Malaysia", aliases = {"Malaysia Mandarin"}, Wikidata = "Q13646143", plain_categories = true, }

labels["Muping Mandarin"] = { region = "Muping District in the prefecture-level city of Yantai in northeastern Shandong Province, in northeastern China", aliases = {"Muping"}, -- there is also a Muping in Sichuan but it's not clear if it has a dialect Wikidata = {"Q281015", "Q15914589"}, -- articles for Muping District and for Denglian Mandarin (which includes Yantai and Muping varieties) plain_categories = true, parent = "Jiaoliao Mandarin", }

labels["Nanjing Mandarin"] = { region = "Nanjing, capital of Jiangsu Province in eastern China", aliases = {"Nanjing"}, Wikidata = "Q2681098", plain_categories = true, parent = "Jianghuai Mandarin", }

labels["Nantong Mandarin"] = { -- A subvariety of Tongtai (Tairu) Mandarin, which is a variety of Jianghuai (Lower Yangtze) Mandarin. -- On the English Wikipedia, 'Nantong dialect' redirects to Tong-Tai Mandarin. -- no Nantong alias; Nantong Wu also exists region = "Nantong in southeastern Jiangsu Province in eastern China", Wikidata = "Q10909110", plain_categories = true, parent = "Tongtai Mandarin", }

labels["Northeastern Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Changchun dialect, Harbin dialect, Qiqihar dialect (齐齐哈尔话), -- Shenyang dialect. region = ", including the provinces of Liaoning, Jilin and Heilongjiang but excluding the Liaodong Peninsula", addl = "A primary branch of Mandarin.", aliases = {"northeastern Mandarin", "NE Mandarin"}, Wikidata = "Q1064504", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Philippine Mandarin"] = { prep = "by", region = "s in the Philippines", aliases = {"Philippines Mandarin"}, Wikidata = "Q7185155", plain_categories = true, }

-- FIXME: Category missing. labels["Qingdao Mandarin"] = { region = "Qingdao and nearby towns, in Shandong Province in coastal eastern China", aliases = {"Qingdao"}, Wikidata = "Q7267815", plain_categories = true, parent = "Jiaoliao Mandarin", }

-- FIXME: Category missing. labels["Shenyang Mandarin"] = { region = "Shenyang, the capital of Liaoning Province in northeastern China", aliases = {"Shenyang"}, Wikidata = "Q7494349", plain_categories = true, parent = "Northeastern Mandarin", }

-- We use 'Singapore Mandarin' not 'Singaporean Mandarin' despite the Wikipedia article both to match all the other -- Singapore language varieties (which say 'Singapore' not 'Singaporean') and because the form with 'Singapore' seeems -- actually more common in Google Scholar. labels["Singapore Mandarin"] = { prep = "by", region = "s in Singapore", aliases = {"Singaporean Mandarin"}, Wikidata = "Q1048980", plain_categories = true, }

labels["Southwestern Mandarin"] = { -- A primary branch. -- Dialects per Wikipedia: Changde dialect (常德话), Chengdu dialect, Chongqing dialect, Dali dialect -- (大理话), Guiyang dialect (贵阳话), Kunming dialect, Liuzhou dialect (柳州话), Wuhan dialect, -- Xichang dialect, Yichang dialect (宜昌话), Hanzhong dialect (汉中话). region = "the provinces of Hubei, Sichuan, Guizhou, Yunnan, and the Mandarin-speaking areas of Hunan, Guangxi Autonomous Region and southern Shaanxi", addl = "A primary branch of Mandarin.", aliases = {"southwestern Mandarin", "Upper Yangtze Mandarin", "Southwest Mandarin"}, Wikidata = "Q2609239", plain_categories = true, parent = true, }

labels["Taiwanese Mandarin"] = { region = "Taiwan", aliases = {"Taiwan Mandarin"}, Wikidata = "Q262828", plain_categories = true, }

labels["Tianjin Mandarin"] = { region = "Tianjin in coastal eastern China as well as Sabah in Malaysia", aliases = {"Tianjin", "Tianjinese", "Tianjinese Mandarin"}, Wikidata = "Q7800220", plain_categories = true, parent = "Jilu Mandarin", }

-- FIXME: Category missing. labels["Tongtai Mandarin"] = { region = "east-central Jiangsu Province in Nantong and Taizhou", aliases = {"Tongtai", "Tairu Mandarin", "Tairu"}, Wikidata = "Q7820911", plain_categories = true, parent = "Jianghuai Mandarin", }

labels["Ürümqi Mandarin"] = { region = "Ürümqi, the capital of Xinjiang Autonomous Region in far northwestern China", aliases = {"Ürümqi", "Urumqi Mandarin", "Urumqi"}, Wikidata = "Q10878256", plain_categories = true, parent = "Lanyin Mandarin", }

labels["Wanrong Mandarin"] = { region = "Wanrong County in southern Shanxi Province in central China", aliases = {"Wanrong"}, -- Wanrong County in Shanxi; there is a Wanrong Township (mountain indigenous township) -- in Hualien County, Taiwan, mostly inhabited by Taiwan Aborigines Wikidata = "Q10379509", -- article on Fenhe Mandarin plain_categories = true, parent = "Fenhe Mandarin", -- a variety of Central Plains Mandarin }

-- FIXME: Category missing. labels["Weihai Mandarin"] = { region = "Weihai and environs, in eastern Shandong Province in coastal eastern China", aliases = {"Weihai"}, Wikidata = "Q3025951", plain_categories = true, parent = "Jiaoliao Mandarin", }

labels["Wuhan Mandarin"] = { region = "Wuhan, the capital of Hubei Province in central China", aliases = {"Wuhan", "Hankou", "Hankow"}, Wikidata = "Q11124731", plain_categories = true, parent = "Southwestern Mandarin", -- actually belongs to the Wutian variety of Southwestern Mandarin }

labels["Xi'an Mandarin"] = { region = "Xi'an, the capital of Shaanxi Province in central China", aliases = {"Xi'an"}, Wikidata = "Q123700130", -- currently a redirect to Guanzhong dialect plain_categories = true, parent = "Guanzhong Mandarin", -- a variety of Central Plains Mandarin }

-- FIXME: Category missing. labels["Xichang Mandarin"] = { region = "Xichang, in far southern Sichuan Province in southwestern China", aliases = {"Xichang"}, Wikidata = "Q17067030", plain_categories = true, parent = "Southwestern Mandarin", }

labels["Xining Mandarin"] = { region = "Xining, the capital of Qinghai Province in northwestern China", aliases = {"Xining"}, Wikidata = "Q662754", -- article on Lanyin Mandarin plain_categories = true, parent = "Lanyin Mandarin", }

labels["Xinjiang Mandarin"] = { -- Depending on where in Xinjiang, either a variety of Lanyin Mandarin or Central Plains Mandarin. region = "Xinjiang Autonomous Region; in the north, including varieties of and in the south, including varieties of ", aliases = {"Xinjiang"}, Wikidata = "Q93684068", plain_categories = true, }

labels["Xuzhou Mandarin"] = { region = "Xuzhou in northwestern Jiangsu Province in eastern China", aliases = {"Xuzhou"}, Wikidata = "Q8045307", plain_categories = true, parent = "Central Plains Mandarin", }

labels["Yangzhou Mandarin"] = { region = "Yangzhou in central Jiangsu Province in eastern China", aliases = {"Yangzhou"}, Wikidata = "Q11076194", plain_categories = true, parent = "Jianghuai Mandarin", }

labels["Yinchuan Mandarin"] = { region = "Yinchuan, capital of Ningxia Hui Autonomous Region in north-central China", aliases = {"Yinchuan"}, Wikidata = {"Q125021069", "Q662754"}, -- second is article on Lanyin Mandarin; "Yinchuan Mandarin" has its own Wikidata item Q125021069 but has no links plain_categories = true, parent = "Lanyin Mandarin", }

-- FIXME: Category missing. labels["Yunnan Mandarin"] = { region = "Yunnan Province in southwestern China", -- "Yunnan" as alias seems unlikely to be correct Wikidata = "Q10881055", plain_categories = true, parent = "Southwestern Mandarin", }

-- Sichuanese --

-- The following violates normal conventions, which would use "Sichuan Mandarin". But it matches the 'Sichuanese' -- language. labels["Sichuanese"] = { def = "Sichuanese, a variety of {{catlink|Southwestern Mandarin]] spoken in Sichuan Province and Chongqing (a {{w|direct-administered municipality), as well as the adjacent regions of neighboring provinces, such as Hubei, Guizhou, Yunnan, Hunan and Shaanxi", aliases = {"Sichuan"}, Wikidata = "Q2278732", regional_categories = true, parent = "Southwestern Mandarin", }

labels["Chengdu Sichuanese"] = { region = "Chengdu, the capital of Sichuan Province in southwestern China", aliases = {"Chengdu", "Chengdu Mandarin"}, Wikidata = "Q11074683", plain_categories = true, parent = "Chengyu Sichuanese", }

-- FIXME: Category missing. labels["Chengyu Sichuanese"] = { region = "northern and eastern Sichuan Province, the northeastern part of the {{w|Chengdu Plain}}, several cities or counties in southwestern Sichuan (Panzhihua, {{w|Dechang}}, {{w|Yanyuan}}, {{w|Huili}} and {{w|Ningnan}}), southern Shaanxi Province and western Hubei Province", addl = "It is a primary branch of Sichuanese and is named after the principal cities of Chengdu and Chongqing (based on the former {{w|Yu Prefecture}}).", aliases = {"Chengyu", "Chengyu Mandarin", "Chengdu-Chongqing", "Chengdu-Chongqing Mandarin"}, Wikidata = "Q5091311", plain_categories = true, parent = true, }

labels["Chongqing Sichuanese"] = { region = "Chonqing, a {{w|direct-administered municipality}} in western China", aliases = {"Chongqing", "Chongqing Mandarin"}, Wikidata = "Q15902531", plain_categories = true, parent = "Chengyu Sichuanese", }

-- FIXME: Category missing. labels["Leshan Sichuanese"] = { region = "Leshan in Sichuan Province, in southwestern China", aliases = {"Leshan", "Leshan Mandarin"}, Wikidata = "Q6530337", plain_categories = true, parent = "Minjiang Sichuanese", }

-- FIXME: Category missing. labels["Minjiang Sichuanese"] = { region = "the Min River in Sichuan Province or along the Yangtze in the southern and western parts of the {{w|Sichuan Basin}}, in southwestern China", addl = "It is a primary branch of Sichuanese.", aliases = {"Minjiang", "Minjiang Mandarin"}, Wikidata = "Q6867767", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Renfu Sichuanese"] = { region = "the lower reaches of the {{w|Tuo River|Tuo}} and Min Rivers in the {{w|Sichuan Basin}} in central-southern Sichuan Province", addl = "It is a primary branch of Sichuanese and is named after {{w|Renshou County}} and {{w|Fushun County, Sichuan|Fushun County}}.", -- Jianggong is used by zhwiki. aliases = {"Renfu", "Renfu Mandarin", "Renshou-Fushun", "Renshou-Fushun Mandarin", "Renshou-Fushun Sichuanese", "Jianggong", "Jianggong Mandarin", "Jianggong Sichuanese"}, Wikidata = "Q10883781", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Yamian Sichuanese"] = { region = "an area surrounding and to the southwest of Ya'an in central Sichuan Province in southwestern China", addl = "It is a primary branch of Sichuanese and named after the city of Ya'an and {{w|Shimian County}} to the southwest.", aliases = {"Yamian", "Yamian Mandarin"}, Wikidata = "Q56243639", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Zigong Sichuanese"] = { region = "Zigong in southeastern Sichuan Province in southwestern China", aliases = {"Zigong", "Zigong Mandarin"}, Wikidata = "Q8071810", plain_categories = true, parent = "Renfu Sichuanese", }

-- Min --

labels["Min"] = { Wikidata = "Q56504", regional_categories = true, }

labels["Central Min"] = { aliases = {"Min Zhong"}, Wikidata = "Q56435", regional_categories = true, }

labels["Coastal Min"] = { aliases = {"coastal Min"}, Wikidata = "Q20667215", }

-- The following violates normal conventions, which would use "Hainanese Min' or 'Hainan Min'. But it matches the -- 'Hainanese' language and Wikipedia. labels["Hainanese"] = {	aliases = {"Hainan Min", "Hainanese Min", "Hainan Min Chinese"},	Wikidata = "Q934541",	regional_categories = true, }

labels["Inland Min"] = { aliases = {"inland Min"}, Wikidata = "Q20667237", }

labels["Leizhou Min"] = { aliases = {"Leizhou"}, Wikidata = "Q1988433", regional_categories = true, }

labels["Puxian Min"] = { aliases = {"Puxian", "Pu-Xian Min", "Pu-Xian", "Xinghua", "Hinghwa"}, Wikidata = "Q56583", regional_categories = true, }

-- FIXME: Category missing. labels["Shaojiang Min"] = { aliases = {"Shaojiang"}, Wikidata = "Q3431451", regional_categories = true, }

labels["Zhongshan Min"] = { Wikidata = "Q8070958", regional_categories = true, }

-- Eastern Min --

labels["Eastern Min"] = { aliases = {"Min Dong"}, Wikidata = "Q36455", regional_categories = true, }

labels["dialectal Eastern Min"] = { nolect = true, aliases = {"dialectal Min Dong"}, Wikidata = "Q36455", -- article for Eastern Min regional_categories = "Eastern Min", }

-- FIXME: Category missing. labels["Changle Eastern Min"] = { -- A subvariety of Fuzhou Eastern Min, which is a subvariety of Houguan Eastern Min.	aliases = {"Changle"}, Wikidata = "Q19856351", plain_categories = true, }

-- FIXME: Category missing. labels["Fu'an Eastern Min"] = { -- A subvariety of Funing Eastern Min; the representative variety. aliases = {"Fu'an"}, Wikidata = "Q7216573", plain_categories = true, }

-- FIXME: Category missing. labels["Fuding Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Fuding", "Tongshan", "Tongshan Eastern Min"}, Wikidata = "Q19853248", plain_categories = true, }

-- FIXME: Category missing. labels["Funing Eastern Min"] = { -- A primary branch; should possibly be called North Eastern Min.	aliases = {"Funing"}, Wikidata = "Q18943896", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Fuqing Eastern Min"] = { -- A subvariety of Houguan Eastern Min.	aliases = {"Fuqing"}, Wikidata = "Q15895753", plain_categories = true, }

-- FIXME: Category missing. labels["Fuzhou Eastern Min"] = { -- A subvariety of Houguan Eastern Min; the representative variety. aliases = {"Fuzhou"}, Wikidata = "Q35571", plain_categories = true, }

-- FIXME: Category missing. labels["Gutian Eastern Min"] = { -- A subvariety of Houguan Eastern Min.	aliases = {"Gutian"}, Wikidata = "Q18944085", plain_categories = true, }

-- FIXME: Category missing. labels["Houguan Eastern Min"] = { -- A primary branch; should possibly be called South Eastern Min.	-- Other varieties of Houguan Eastern Min not given entries here because they have no associated Wikipedia -- articles or Wikidata entries: -- Minhou Eastern Min -- Youxi Eastern Min -- Dai Yunshan Eastern Min -- Yongtai Eastern Min -- Pingnan Eastern Min -- Pingtan Eastern Min -- Luoyuan Eastern Min aliases = {"Houguan"}, Wikidata = "Q18943758", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Lianjiang Eastern Min"] = { -- A subvariety of Fuzhou Eastern Min, which is a subvariety of Houguan Eastern Min.	aliases = {"Lianjiang"}, Wikidata = "Q19856291", plain_categories = true, }

-- FIXME: Category missing. labels["Manjiang Eastern Min"] = { -- A primary branch. Has some influences from Wu, but usually classified as Eastern Min.	-- Chinese Wikipedia distinguishes between "Manjiang" (蛮讲) and "Manhua" (蛮话) and claims they are two -- distinct varieties, but I think this is based on confusion; for example, they both have the same ISO 639-6 -- code "maua", and the English Wikipedia specifically asserts that both 蛮讲 and 蛮话 are the same. aliases = {"Manjiang", "Manhua Eastern Min", "Manhua", "Mango Eastern Min", "Mango"}, Wikidata = "Q3431721", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Matsu Eastern Min"] = { -- A subvariety of Fuzhou Eastern Min, which is a subvariety of Houguan Eastern Min.	aliases = {"Matsu"}, Wikidata = "Q19599280", plain_categories = true, }

-- FIXME: Category missing. labels["Minqing Eastern Min"] = { -- A subvariety of Houguan Eastern Min.	aliases = {"Minqing"}, Wikidata = "Q48897247", plain_categories = true, }

-- FIXME: Category missing. labels["Ningde Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Ningde"}, Wikidata = "Q18941249", plain_categories = true, }

-- FIXME: Category missing. labels["Shouning Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Shouning"}, Wikidata = "Q19852223", plain_categories = true, }

-- FIXME: Category missing. labels["Xiapu Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Xiapu"}, Wikidata = "Q15899756", plain_categories = true, }

-- FIXME: Category missing. labels["Zherong Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Zherong"}, Wikidata = "Q19852850", plain_categories = true, }

-- FIXME: Category missing. labels["Zhouning Eastern Min"] = { -- A subvariety of Funing Eastern Min.	aliases = {"Zhouning", "Zhoudun", "Zhoudun Eastern Min"}, Wikidata = "Q19852132", plain_categories = true, }

-- Northern Min --

labels["Northern Min"] = { aliases = {"Min Bei"}, Wikidata = "Q36457", regional_categories = true, }

-- FIXME: Category missing. labels["Chong'an Northern Min"] = { -- A subvariety of Xixi Northern Min.	aliases = {"Chong'an", "Wuyishan Northern Min", "Wuyishan"}, Wikidata = "Q19855654", plain_categories = true, }

-- FIXME: Category missing. labels["Dongxi Northern Min"] = { -- A primary branch. Maybe should be called East Northern Min. Note here that Dongxi is 東溪 (dōngxī); here dōng -- means "east", but the second xī does not mean "west" but more like "stream" or "creek". -- No Wikidata link or Wikipedia entry for this plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Xixi Northern Min"] = { -- A primary branch. Maybe should be called West Northern Min. Note here that Xixi is 西溪 (xīxī); here the first -- xī means "west", but the second xī does not mean "west" but more like "stream" or "creek". -- No Wikidata link or Wikipedia entry for this plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Jian'ou Northern Min"] = { -- A subvariety of Dongxi Northern Min; the representative variety. aliases = {"Jian'ou"}, Wikidata = "Q6191447", plain_categories = true, }

-- FIXME: Category missing. labels["Jianyang Northern Min"] = { -- A subvariety of Xixi Northern Min; the representative variety. aliases = {"Jianyang"}, Wikidata = "Q16930647", plain_categories = true, }

-- FIXME: Category missing. labels["Nanping Northern Min"] = { -- A subvariety of Dongxi Northern Min.	aliases = {"Nanping"}, Wikidata = "Q68534", -- the entry for the city of Nanping; currently no article for the lect plain_categories = true, }

-- FIXME: Category missing. labels["Songxi Northern Min"] = { -- A subvariety of Dongxi Northern Min.	aliases = {"Songxi"}, Wikidata = "Q19855892", plain_categories = true, }

-- FIXME: Category missing. labels["Zhenghe Northern Min"] = { -- A subvariety of Dongxi Northern Min.	aliases = {"Zhenghe"}, Wikidata = "Q19855758", plain_categories = true, }

-- Southern Min --

labels["Southern Min"] = { aliases = {"Min Nan"}, Wikidata = "Q36495", regional_categories = true, track = true, }

labels["dialectal Southern Min"] = { nolect = true, aliases = {"dialectal Min Nan"}, Wikidata = "Q36495", -- article for Eastern Min regional_categories = "Southern Min", }

labels["Datian Min"] = { aliases = {"Datian"}, Wikidata = "Q19855572", regional_categories = true, }

-- FIXME: Category missing. labels["Haklau Min"] = { aliases = {"Hoklo Min", "Haklau", "Hoklo"}, Wikidata = "Q120755728", regional_categories = true, }

Hokkien

labels["Hokkien"] = { Wikidata = "Q1624231", regional_categories = true, }

labels["Anxi Hokkien"] = { -- A type of Quanzhou Hokkien. aliases = {"Anxi"}, Wikipedia = "zh:安溪县#語言文化", plain_categories = true, }

labels["Changtai Hokkien"] = { -- A type of Zhangzhou Hokkien. aliases = {"Changtai"}, Wikipedia = "Changtai, Zhangzhou#Local Dialect", plain_categories = true, }

labels["Hsinchu Hokkien"] = { -- Taiwanese. Per Taiwanese_Hokkien, mixed Quanzhou-Zhangzhou dialect -- similar to Tong'an accent. aliases = {"Hsinchu"}, Wikipedia = "zh:新竹市#語言", plain_categories = true, }

labels["Hui'an Hokkien"] = { -- Mostly spoken in Hui'an in southern Fujian. aliases = {"Hui'an"}, Wikidata = "Q16241797", plain_categories = true, }

-- FIXME: Same as Medan Hokkien? labels["Indonesian Hokkien"] = { aliases = {"Indonesia Hokkien"}, Wikidata = "Q6805114", -- article for Medan Hokkien plain_categories = true, }

labels["Jinjiang Hokkien"] = { aliases = {"Jinjiang"}, Wikidata = "Q2251677", -- article for Quanzhou Hokkien plain_categories = true, }

labels["Kaohsiung Hokkien"] = { -- Taiwanese. Per Taiwanese_Hokkien, mixed Quanzhou-Zhangzhou dialect -- similar to Amoy accent. aliases = {"Kaohsiung"}, Wikipedia = "Kaohsiung#Languages", plain_categories = true, }

labels["Kinmen Hokkien"] = { -- Taiwanese. Per Kinmen, mostly Quanzhou dialect (but in Wuchiu/Wuqiu Township, Puxian Min is	-- spoken). aliases = {"Kinmen"}, Wikipedia = "Kinmen#Language", plain_categories = true, }

labels["Longyan Hokkien"] = { aliases = {"Longyan"}, Wikidata = "Q6674568", plain_categories = true, }

labels["Lukang Hokkien"] = { -- Taiwanese. Per Taiwanese_Hokkien, based on Quanzhou accent. Wikidata = "Q701693", -- article on Lukang Township plain_categories = true, }

labels["Malaysian Hokkien"] = { aliases = {"Malaysia Hokkien"}, Wikidata = "Q7570322", -- article on Southern Peninsular Malaysian Hokkien plain_categories = true, }

labels["Magong Hokkien"] = { -- Taiwanese. Apparently a subdialect of Penghu Hokkien. aliases = {"Magong"}, Wikidata = "Q701428", -- article on Magong city in Penghu County plain_categories = true, }

labels["Medan Hokkien"] = { -- Spoken in Indonesia. Wikidata = "Q6805114", plain_categories = true, }

labels["Penang Hokkien"] = { -- Malaysian. aliases = {"Penang"}, Wikidata = "Q11120689", plain_categories = true, }

labels["Penghu Hokkien"] = { -- Taiwanese. Per Penghu, mostly Tong'an dialect. aliases = {"Penghu"}, Wikipedia = "Penghu#Language", plain_categories = true, }

labels["Philippine Hokkien"] = { aliases = {"PH Hokkien", "Ph Hokkien", "PH", "PHH", "Philippines Hokkien"}, Wikidata = "Q3236692", plain_categories = true, }

labels["Quanzhou Hokkien"] = { aliases = {"Quanzhou", "Chinchew", "Choanchew"}, Wikidata = "Q2251677", plain_categories = true, }

labels["Sanxia Hokkien"] = { -- Taiwanese. Wikidata = "Q570349", -- article on Sanxia District (in New Taipei City) plain_categories = true, }

-- We use 'Singapore Hokkien' not 'Singaporean Hokkien' despite the Wikipedia article both to match all the other -- Singapore language varieties (which say 'Singapore' not 'Singaporean') and because the form with 'Singapore' seeems -- actually more common in Google Scholar. labels["Singapore Hokkien"] = { aliases = {"Singaporean Hokkien"}, Wikidata = "Q3846528", plain_categories = true, }

labels["Taichung Hokkien"] = { -- Taiwanese. Per Taiwanese_Hokkien, mostly Zhangzhou dialect. -- No alias for Taichung because there's also Taichung Mandarin (台中腔). Wikidata = "Q245023", -- article on Taichung plain_categories = true, }

labels["Tainan Hokkien"] = { -- Taiwanese. Per 臺灣話, part of "臺南混合腔" = "Tainan mixed dialect". aliases = {"Tainan"}, Wikipedia = "zh:臺南市#語言", plain_categories = true, }

labels["Taipei Hokkien"] = { -- Taiwanese. Per Taiwanese_Hokkien, mixed Quanzhou-Zhangzhou dialect -- similar to Tong'an accent. Wikidata = "Q1867", -- article on Taipei plain_categories = true, }

labels["Taiwanese Hokkien"] = { aliases = {"Taiwanese Southern Min", "Taiwanese Min Nan", "Taiwan Hokkien", "Taiwan Southern Min", "Taiwan Min Nan"}, Wikidata = "Q36778", plain_categories = true, track = true, }

labels["Tong'an Hokkien"] = { -- Taiwanese. Per 同安区, one of four main dialects of Hokkien in the southern Fujian region, -- along with Quanzhou, Zhangzhou and Xiamen. aliases = {"Tong'an"}, Wikipedia = "zh:同安区#語言", plain_categories = true, }

labels["Xiamen Hokkien"] = { aliases = {"Xiamen", "Amoy"}, Wikidata = "Q2705752", plain_categories = true, }

labels["Yilan Hokkien"] = { -- Taiwanese. Per 臺灣話, relatively pure Zhangzhou Hokkien. aliases = {"Yilan"}, Wikipedia = "zh:漳州话#與其他閩南語方言的比較", plain_categories = true, }

labels["Yongchun Hokkien"] = { aliases = {"Yongchun"}, Wikidata = "Q65118728", plain_categories = true, }

labels["Zhao'an Hokkien"] = { Wikipedia = "zh:詔安縣#詔安閩南語", plain_categories = true, }

labels["Zhangping Hokkien"] = { -- A type of Zhangzhou Hokkien. aliases = {"Zhangping"}, Wikidata = "Q15937822", plain_categories = true, }

labels["Zhangzhou Hokkien"] = { aliases = {"Zhangzhou", "Changchew"}, Wikidata = "Q8070492", plain_categories = true, }

Teochew

-- The following violates normal conventions, which would use "Teochew Southern Min" or possibly "Teochew Min". But it -- matches the 'Teochew' full language. labels["Teochew"] = { Wikidata = "Q24841591", -- article for Chaoshan Min; not Teochew dialect, which is a dialect of this language regional_categories = true, track = true, }

labels["Chaozhou Teochew"] = { aliases = {"Chaozhou"}, Wikidata = "Q36759", plain_categories = true, }

labels["Jieyang Teochew"] = { aliases = {"Jieyang"}, Wikidata = "Q26323", -- article for Jieyang in Guangdong, China plain_categories = true, }

labels["Pontianak Teochew"] = { -- spoken in West Kalimantan, Indonesia aliases = {"Pontianak"}, Wikidata = "Q14168", -- article for Pontianak; "Pontianak Teochew" has its own Wikidata entry Q106560423, but it has no links plain_categories = true, }

labels["Singapore Teochew"] = { aliases = {"Singaporean Teochew"}, Wikipedia = "Teochew people#Teochew immigration to Singapore", plain_categories = true, }

labels["Thai Teochew"] = { aliases = {"Thailand Teochew"}, Wikipedia = "Thai Chinese#Language", plain_categories = true, }

-- Pinghua --

labels["Pinghua"] = { aliases = {"Ping"}, Wikidata = "Q2735715", regional_categories = true, }

labels["Guilin Pinghua"] = { Wikidata = "Q84302463", -- article for Northern Pinghua; redirects in both English and Chinese to Pinghua article plain_categories = true, parent = "Northern Pinghua", }

labels["Nanning Pinghua"] = { Wikidata = "Q84302019", -- article for Southern Pinghua; redirects in both English and Chinese to Pinghua article plain_categories = true, parent = "Southern Pinghua", }

-- FIXME: Category missing. labels["Northern Pinghua"] = { -- Spoken in northern Guangxi, around the city of Guilin. -- English Wikipedia article redirects to Pinghua; Chinese Wikipedia article similarly redirects but contains -- more information on Northern Pinghua. Wikidata = "Q84302463", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Southern Pinghua"] = { -- Spoken in southern Guangxi, around the city of Nanning. -- English Wikipedia article redirects to Pinghua; Chinese Wikipedia article similarly redirects but contains -- more information on Southern Pinghua. Wikidata = "Q84302019", plain_categories = true, parent = true, }

-- Wu --

labels["Wu"] = { Wikidata = "Q34290", regional_categories = true, }

labels["dialectal Wu"] = { nolect = true, Wikidata = "Q34290", -- article for Wu Chinese regional_categories = "Wu", }

-- labels["Zhejiang Wu"] = { -- 	-- several dialects of different subgroups -- 	aliases = {"Zhejiang"}, -- 	Wikipedia = "Zhejiang", -- 	plain_categories = true, -- }

-- Northern Wu --

-- FIXME: Category missing. labels["Anji Wu"] = { region = "{{w|Anji County}} in northwestern Zhejiang Province in eastern China", aliases = {"Anji"}, Wikidata = "Q111270089", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Changxing Wu"] = { region = "Changxing County in northwestern Zhejiang Province in eastern China", aliases = {"Changxing"}, Wikidata = "Q11126990", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Changzhounese Wu"] = { region = "the city of Changzhou in southern Jiangsu Province in eastern China, along with surrounding areas", aliases = {"Changzhou Wu", "Changzhou", "Changzhounese"}, -- FIXME: Consider removing the following exception and letting it display as 'Changzhounese Wu'. display = "Changzhounese", Wikidata = "Q1021819", plain_categories = true, parent = "Piling Wu", }

labels["Danyang Wu"] = { region = "the county-level city of {{w|Danyang}} in southern Jiangsu Province in eastern China", addl = "It is on the border between Wu Chinese (to the south) and Mandarin Chinese (to the north).", aliases = {"Danyang"}, Wikidata = "Q925293", -- article for Danyang, Jiangsu plain_categories = true, parent = "Piling Wu", }

-- FIXME: Category missing. labels["Deqing Wu"] = { region = "Deqing County in northwestern Zhejiang Province in eastern China", aliases = {"Deqing"}, Wikidata = "Q109343820", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Fuyang Wu"] = { region = "parts of {{w|Fuyang District}} in the city of Hangzhou, the capital of Zhejiang Province, in eastern China; located in the northwest part of the province", addl = "The dialect geography in Fuyang District is complex, with multiple dialects from distinct groupings spoken in close proximity and several dialect islands.", aliases = {"Fuyang"}, Wikipedia = "zh:富阳话", -- no Wikidata item yet plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Haining Wu"] = { region = "{{w|Haining}}, a county-level city in northern Zhejiang Province in eastern China", aliases = {"Xiashi", "Xiashi Wu", "Haining"}, Wikidata = "Q286266", -- article for Haining city plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Haiyan Wu"] = { region = "{{w|Haiyang County, Zhejiang|Haiyang County}} in northern Zhejiang Province in eastern China", aliases = {"Haiyan"}, Wikidata = "Q1334198", -- article for Haiyan prefecture plain_categories = true, parent = "Sujiahu Wu", }

labels["Hangzhounese Wu"] = { region = "the city of Hangzhou in northwestern Zhejiang Province in eastern China, and its immediate suburbs", addl = "It is an isolated variety of Northern Wu with heavy influence from Northern Mandarin lects due to migration during the {{w|Southern Song dynasty}}, but without significant influence from the nearby {{catlink|Jianghuai Mandarin}} lects.", aliases = {"Hangzhou", "Hangzhounese", "Hangzhou Wu"}, -- FIXME: Consider removing the following exception and letting it display as 'Hangzhounese Wu'. display = "Hangzhounese", Wikidata = "Q5648144", plain_categories = true, parent = "Northern Wu", }

labels["Huzhounese Wu"] = { region = "the urban ({{w|Wuxing District}}) and suburban ({{w|Nanxun District}}) parts of Huzhou in northwestern Zhejiang Province in eastern China", aliases = {"Huzhou", "Huzhou Wu", "Huzhounese"}, -- FIXME: Consider removing the following exception and letting it display as 'Huzhounese Wu'. display = "Huzhounese", Wikidata = "Q15901269", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Jiangyin Wu"] = { region = "the county-level city of Jiangyin in southeast Jiangsu Province in eastern China", aliases = {"Jiangyin"}, Wikidata = "Q6191803", plain_categories = true, parent = "Piling Wu", -- but transitional to Sujiahu Wu }

-- FIXME: Category missing. labels["Jiaxing Wu"] = { region = "the urban {{w|Xiuzhou District|Xiuzhou}} and {{Nanhu District}}s of the prefecture-level city of Jiaxing in far northern Zhejiang Province in eastern China", aliases = {"Jiaxing"}, Wikidata = "Q30130993", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Jinhui Wu"] = { region = "the town of {{w|lang=zh|金汇镇|Jinhui}} in the suburban Fengxian District of Shanghai, in eastern China", aliases = {"Jinhui", "Dangdai Wu", "Dangdai", "Dônđäc"}, Wikidata = "Q16259341", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Jintan Wu"] = { region = "{{w|Jintan District}} of the prefecture-level city of Changzhou in southern Jiangsu Province in eastern China", aliases = {"Jintan"}, Wikidata = "Q15904190", plain_categories = true, parent = "Piling Wu", }

-- FIXME: Category missing. labels["Jinxiang Wu"] = { region = "Cangnan County in far southern Zhejiang Province in eastern China", addl = "It is an exclave of Northern Wu surrounded by {{cat|Southern Min}} varieties.", aliases = {"Jinxiang"}, Wikidata = "Q2427960", plain_categories = true, parent = "Northern Wu", }

-- FIXME: Category missing. labels["Jingjiang Wu"] = { region = "the county-level city of Jingjiang in southeast Jiangsu Province in eastern China", aliases = {"Lao'an", "Jingjiang", "Lao'an"}, Wikipedia = "zh:老岸话", -- no Wikidata item yet plain_categories = true, parent = "Piling Wu", }

-- FIXME: Category missing. labels["Lin'an Wu"] = { region = "{{w|Lin'an District}}, an urban district of the prefecture-level city of Hangzhou, the capital of Zhejiang Province, in eastern China; located in the northwest part of the province", aliases = {"Lin'an"}, Wikidata = "Q1022464", -- article for Lin'an District (part of the prefecture-level city of Hangzhou) plain_categories = true, parent = "Linshao Wu", }

labels["Linshao Wu"] = { region = "much of north-central Zhejiang Province in eastern China, including especially the central part of the city of Shaoxing as well as some parts (but not the central part) of Hangzhou", aliases = {"Linshao", "Lin-Shao Wu", "Lin-Shao"}, Wikidata = "Q7489194", -- article for Shaoxing dialect, the representative variety plain_categories = true, parent = "Northern Wu", }

labels["Ningbonese Wu"] = { region = "the prefecture-level cities of Ningbo and Zhoushan in northeastern Zhejiang Province in eastern China", aliases = {"Ningbonese", "Ningbo Wu", "Ningbo"}, -- FIXME: Consider removing the following exception and letting it display as 'Ningbonese Wu'. display = "Ningbonese", Wikidata = "Q3972199", plain_categories = true, parent = "Yongjiang Wu", }

labels["Northern Wu"] = { region = "the city of Shanghai as well as southern Jiangsu Province, northern Zhejiang Province and southeastern Anhui Province", addl = "It is a primary branch of {{w|Wu Chinese}}. Notable cities where Northern Wu is spoken include Shanghai, Suzhou, Hangzhou, Shaoxing, Ningbo, Zhoushan, Wuxi and Changzhou.", aliases = {"Taihu", "Taihu Wu"}, Wikidata = "Q7675988", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Old Guangde Wu"] = { region = "southeastern {{w|Guangde}}, a county-level city in the southeastern portion of Anhui Province, bordering northwestern Zhejiang Province in eastern China", addl = "It is an exclave of {{catlink|Northern Wu}}, surrounded by New Guangde (a {{catlink|Jianghuai Mandarin}} variety) and {{catlink|Xuanzhou Wu}}.", aliases = {"Old Guangde", "Southeast Guangde Wu", "Southeast Guangde"}, Wikidata = "Q7084146", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Old Langxi Wu"] = { region = "parts of northern and northwestern {{w|Langxi County}} and northwen {{w|Guangde}}, in southeastern Anhui Province, in eastern China", aliases = {"Old Langxi", "Lao Langxi Wu", "Lao Langxi"}, Wikidata = "Q15911930", plain_categories = true, parent = "Piling Wu", }

-- FIXME: Category missing. labels["Piling Wu"] = { region = "much of southern Jiangsu Province (including especially the city of Changzhou) as well as a few parts of southeastern Anhui Province, in eastern China", aliases = {"Piling"}, Wikidata = "Q1021819", -- article for Changzhou dialect plain_categories = true, parent = "Northern Wu", }

labels["Shadi Wu"] = { region = "Chongming Island, Haimen District of the city of Nantong, and the city of {{w|Qidong, Jiangsu|Qidong}} in southeastern Jiangsu Province in eastern China, as well as in some areas of the city of {{w|Zhangjiagang}}", aliases = {"Shadi", "Chongming", "Chongming Wu", "Qihai", "Qihai Wu"}, Wikidata = "Q6112340", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Shanghainese Wu"] = { region = "the central districts and surrounding areas of Shanghai in eastern China", aliases = {"Shanghai Wu", "Shanghainese"}, -- FIXME: Consider removing the following exception and letting it display as 'Shanghainese Wu'. display = "Shanghainese", Wikidata = "Q36718", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Shangyu Wu"] = { region = "{{w|Shangyu District}} in northeastern Zhejiang Province, in eastern China", aliases = {"Shangyu"}, Wikipedia = "zh:上虞話", -- no Wikidata item yet plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Shaoxing Wu"] = { region = "the central {{w|Yuecheng District}} of the prefecture-level city of Shaoxing in northeastern Zhejiang Province, in eastern China", aliases = {"Shaoxing", "Shaoxingnese", "Shaoxingnese Wu", "Shaoxingese", "Shaoxingese Wu"}, Wikidata = "Q7489194", plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Shengzhou Wu"] = { region = "{{w|Shengzhou}}, a county-level city in eastern Zhejiang Province, in eastern China", aliases = {"Shengzhou"}, Wikidata = "Q11054430", plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Songjiang Wu"] = { region = "Songjiang District, a suburban district of Shanghai, in eastern China", aliases = {"Songjiang"}, Wikidata = "Q662380", -- article for Songjiang district plain_categories = true, parent = "Shanghainese Wu", }

-- FIXME: Category missing. labels["Sujiahu Wu"] = { region = "the city of Shanghai as well as adjacent areas to the north (in southern Jiangsu Province) and the south (in northern Zhejiang Province)", addl = "It is named after the cities of Suzhou (Su), Jiaxing (Jia) and Shanghai (Hu, the abbreviation of Shanghai, based on an old name for {{w|Suzhou Creek}}, which passes through the center of Shanghai). It also encompasses the varieties spoken in Wuxi, Changshu and Nantong. Although it is a common grouping, it may be areal in nature and not a proper clade.", aliases = {"Sujiahu", "Su-Jia-Hu Wu", "Su-Jia-Hu", "Suhujia Wu", "Suhujia", "Su-Hu-Jia Wu", "Su-Hu-Jia"}, -- not Suzhou-Jiaxing-Huzhou Wikidata = "Q17036256", -- display = "Sujiahu Wu", plain_categories = true, parent = "Northern Wu", }

labels["Suzhounese Wu"] = { region = "the city of Suzhou and adjacent parts of southeastern Jiangsu Province and parts of Shanghai, in eastern China", aliases = {"Suzhou", "Suzhounese", "Suzhou Wu"}, -- FIXME: Consider removing the following exception and letting it display as 'Suzhounese Wu'. display = "Suzhounese", Wikidata = "Q831744", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Tiaoxi Wu"] = { region = "nearly all of the prefecture-level city of Huzhou in northwestern Zhejiang Province in eastern China, as well as parts of Jiaxing and Hangzhou (in Zhejiang Province) and Suzhou (in Jiangsu Province)", aliases = {"Tiaoxi"}, Wikidata = "Q110104620", plain_categories = true, parent = "Northern Wu", }

-- FIXME: Category missing. labels["Tonglu Wu"] = { region = "{{w|Tonglu County}} in northwestern Zhejiang Province, in eastern China", aliases = {"Tonglu"}, Wikidata = "Q18654008", plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Tongxiang Wu"] = { region = "{{w|Tongxiang}}, a county-level city in northern Zhejiang Province, bordering Jiangsu Province to the north, in eastern China", aliases = {"Tongxiang", "Tongxiang dialect"}, Wikidata = "Q1204548", -- article for Tongxiang prefecture plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Urban Shanghainese Wu"] = { region = "the city center of Shanghai in eastern China; generally on the west bank of the Huangpu River", addl = "Urban Shanghainese is changing rapidly and can be further subdivided into Old, Middle, New and Newest periods.", aliases = {"Urban Shanghai Wu", "Urban Shanghainese", "Urban Shanghai"}, Wikipedia = "Shanghainese#Classification", plain_categories = true, parent = "Shanghainese Wu", }

-- FIXME: Category missing. labels["Wuxi Wu"] = { region = "the city of Wuxi in southern Jiangsu Province in eastern China", aliases = {"Wuxi"}, Wikidata = "Q2325035", plain_categories = true, parent = "Sujiahu Wu", }

-- FIXME: Category missing. labels["Xiaoshan Wu"] = { region = "{{w|Xiaoshan District}}, an urban district of Hangzhou in northwestern Zhejiang Province in eastern China, and in the village of Jiangdong in {{w|Qiantang District}} of Hangzhou", aliases = {"Xiaoshan"}, Wikidata = "Q60993472", plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Xinchang Wu"] = { region = "{{w|Xinchang County}} in east-central Zhejiang Province, in eastern China", aliases = {"Xinchang"}, Wikidata = "Q11082821", plain_categories = true, parent = "Linshao Wu", }

-- FIXME: Category missing. labels["Yixing Wu"] = { region = "the county-level city of {{w|Yixing}} in southern Jiangsu Province in eastern China", aliases = {"Yixing"}, Wikipedia = "zh:宜興話", -- no Wikidata item yet plain_categories = true, parent = "Piling Wu", }

-- FIXME: Category missing. labels["Yongjiang Wu"] = { region = "most areas of the prefecture-level city of Ningbo as well as the entire Zhoushan archipelago, in northeastern Zhejiang Province in eastern China", aliases = {"Yongjiang"}, Wikidata = "Q15503785", plain_categories = true, parent = "Northern Wu", }

-- FIXME: Category missing. labels["Yuhang Wu"] = { region = "{{w|Yuhang District}} of the city of Hangzhou, the capital of Zhejiang Province in eastern China", aliases = {"Yuhang"}, Wikidata = "Q109414979", plain_categories = true, parent = "Tiaoxi Wu", }

-- FIXME: Category missing. labels["Zhoushan Wu"] = { region = "the Zhoushan archipelago in northeastern Zhejiang Province in eastern China", aliases = {"Zhoushan"}, Wikidata = "Q58324", -- article on the prefecture-level city of Zhoushan plain_categories = true, parent = "Yongjiang Wu", }

-- FIXME: Category missing. labels["Zhuji Wu"] = { region = "{{w|Zhuji}}, a county-level city in north-central Zhejiang Province, in eastern China", aliases = {"Zhuji"}, Wikidata = "Q18119187", plain_categories = true, parent = "Linshao Wu", }

-- Southern Wu --

-- FIXME: Category missing. labels["Baizhang Wu"] = { aliases = {"Baizhang", "Xialu Wu", "Xialu"}, Wikipedia = "zh:百丈口话", -- no Wikidata item yet plain_categories = true, parent = "Oujiang Wu", }

-- FIXME: Category missing. labels["Beitai Wu"] = { aliases = {"Beitai"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Taizhou Wu", }

-- FIXME: Category missing. labels["Changbei Wu"] = { -- A divergent subvariety of Taigao Wu. aliases = {"Changbei"}, Wikipedia = "zh:昌北话", -- no Wikidata item yet plain_categories = true, parent = "Taigao Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Chuqu Wu"] = { -- A primary branch. aliases = {"Chuqu"}, Wikidata = "Q5116499", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Chuzhou Wu"] = { aliases = {"Chuzhou"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Chuqu Wu", }

-- FIXME: Category missing. labels["Dongyang Wu"] = { aliases = {"Dongyang"}, Wikidata = "Q109417928", plain_categories = true, parent = "Yiyong Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Duze Wu"] = { aliases = {"Duze"}, Wikipedia = "zh:杜泽话", -- no Wikidata item yet plain_categories = true, parent = "Longqu Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Gaochun Wu"] = { aliases = {"Gaochun"}, Wikidata = "Q17035529", plain_categories = true, parent = "Taigao Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Hongqiao Wu"] = { aliases = {"Hongqiao"}, Wikidata = "Q15933359", plain_categories = true, parent = "Oujiang Wu", }

-- FIXME: Category missing. labels["Hou'an Wu"] = { aliases = {"Hou'an"}, Wikidata = "Q10911034", plain_categories = true, parent = "Shiling Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Jiangshan Wu"] = { aliases = {"Jiangshan"}, Wikidata = "Q6112693", plain_categories = true, parent = "Shangshan Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Jingxian Wu"] = { aliases = {"Jingxian"}, Wikidata = "Q11151690", plain_categories = true, parent = "Tongjing Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Jinhua Wu"] = { aliases = {"Jinhua", "Jinhuanese", "Jinhuanese Wu"}, Wikidata = "Q13583347", plain_categories = true, parent = "Jinlan Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Jinlan Wu"] = { aliases = {"Jinlan"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Wuzhou Wu", }

-- FIXME: Category missing. labels["Jiuhua Wu"] = { aliases = {"Jiuhua"}, Wikipedia = "zh:九华话", -- no Wikidata item yet plain_categories = true, parent = "Longqu Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Jujiang Wu"] = { aliases = {"Jujiang"}, Wikipedia = "zh:莒江话", -- no Wikidata item yet plain_categories = true, parent = "Oujiang Wu", -- possibly? also has characteristics of Chuqu Wu }

-- FIXME: Category missing. labels["Lanxi Wu"] = { aliases = {"Lanxi"}, Wikidata = "Q17059873", plain_categories = true, parent = "Jinlan Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Lishui Wu"] = { -- NOTE: Chuzhou was a historical administrative division that includes modern day Lishui & Wuyi, -- and is a proposed top-level division of Wu. Pucheng, Fujian is majority Wu-speaking. aliases = {"Lishui", "Lishuinese"}, Wikidata = "Q58294", -- article on the prefecture-level city of Lishui in Zhejiang plain_categories = true, parent = "Chuzhou Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Pucheng Wu"] = { -- no "Pucheng" alias because per Wikipedia, Northern Min (Shibei dialect) is also spoken Wikidata = "Q1338032", -- article on Pucheng County, Fujian plain_categories = true, parent = "Chuzhou Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Longqu Wu"] = { aliases = {"Longqu"}, Wikipedia = "zh:龙衢小片", -- no Wikidata item yet plain_categories = true, parent = "Chuqu Wu", }

-- FIXME: Category missing. labels["Longyou Wu"] = { aliases = {"Longyou"}, Wikidata = "Q15908274", plain_categories = true, parent = "Longqu Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Nanji Wu"] = { aliases = {"Nanji"}, Wikidata = "Q10908223", plain_categories = true, parent = "Taigao Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Nantai Wu"] = { aliases = {"Nantai"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Taizhou Wu", }

-- FIXME: Category missing. labels["Old Xuanzhou Wu"] = { aliases = {"Old Xuanzhou"}, Wikidata = "Q15914865", plain_categories = true, parent = "Tongjing Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Oujiang Wu"] = { -- A primary branch. aliases = {"Oujiang"}, Wikidata = "Q710218", -- article for Wenzhounese plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Pan'an Wu"] = { aliases = {"Yiwu"}, Wikidata = "Q55695855", plain_categories = true, parent = "Yiyong Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Pucheng Ou Wu"] = { aliases = {"Pucheng Ou"}, Wikipedia = "zh:蒲城瓯语", -- no Wikidata item yet plain_categories = true, parent = "Oujiang Wu", }

-- FIXME: Category missing. labels["Pucheng Wu"] = { aliases = {"Pucheng"}, Wikipedia = "zh:浦城话", -- no Wikidata item yet plain_categories = true, parent = "Chuzhou Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Qingtian Wu"] = { aliases = {"Qingtian"}, Wikidata = "Q2074456", plain_categories = true, parent = "Chuzhou Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Quzhou Wu"] = { aliases = {"Quzhou", "Quzhounese", "Quzhounese Wu"}, Wikidata = "Q6112429", plain_categories = true, parent = "Longqu Wu", -- a variety of Chuqu Wu }

-- FIXME: Category missing. labels["Rui'an Wu"] = { aliases = {"Rui'an"}, Wikidata = "Q4415352", plain_categories = true, parent = "Oujiang Wu", }

-- FIXME: Category missing. labels["Shangrao Wu"] = { aliases = {"Shangrao", "Shangraonese", "Shangraonese Wu"}, Wikidata = "Q363479", -- Shangrao, a prefecture-level city in Jiangxi plain_categories = true, parent = "Chuqu Wu", }

-- FIXME: Category missing. labels["Shangshan Wu"] = { aliases = {"Shangshan"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Chuqu Wu", }

-- FIXME: Category missing. labels["Shiling Wu"] = { aliases = {"Shiling"}, Wikidata = "Q15923670", plain_categories = true, parent = "Xuanzhou Wu", }

labels["Southern Wu"] = { Wikipedia = "Wu Chinese#Southern Wu", plain_categories = true, }

-- FIXME: Category missing. labels["Taigao Wu"] = { aliases = {"Taigao"}, Wikipedia = "zh:宣州片#太高小片", plain_categories = true, parent = "Xuanzhou Wu", }

-- FIXME: Category missing. labels["Taiping Wu"] = { aliases = {"Taiping", "Old Taiping Wu", "Old Taiping"}, Wikidata = "Q10941478", plain_categories = true, parent = "Taigao Wu", -- a variety of Xuanzhou Wu }

-- Per User:ND381, there is not a single Urban Taizhou Wu lect. Who knows, then, what Wikidata item Q3972406 -- (Taizhou dialect) corresponds to, if anything. -- -- FIXME: Category missing. --labels["Urban Taizhou Wu"] = { --	aliases = {"Urban Taizhou"}, --	Wikidata = "Q3972406", --	plain_categories = true, --	parent = "Nantai Wu", -- a variety of Taizhou Wu --}

-- FIXME: Category missing. labels["Taizhou Wu"] = { -- A primary branch. Called "Taizhou Wu" in Wikipedia, distinct from "Taizhou dialect"; but these names are too -- ambiguous. We have provisionally adopted "Taizhou Wu" for the larger group and "Urban Taizhou Wu" for the dialect -- of the urban area of Taizhou city. Per English Wikipedia, has the following varieties: -- Taizhou dialect -- Linhai dialect -- Sanmen dialect -- Tiantai dialect -- Xianju dialect -- Huangyan dialect -- Jiaojiang dialect -- Wenling dialect -- Yuhuan dialect -- Yueqing dialect -- Ninghai dialect aliases = {"Taizhou"}, Wikidata = "Q7676678", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Tangxi Wu"] = { aliases = {"Tangxi"}, Wikidata = "Q11136233", plain_categories = true, parent = "Wuzhou Wu", }

-- FIXME: Category missing. labels["Tiantai Wu"] = { aliases = {"Tiantai"}, Wikidata = "Q85809509", plain_categories = true, parent = "Beitai Wu", -- a variety of Taizhou Wu }

-- FIXME: Category missing. labels["Tongjing Wu"] = { aliases = {"Tongjing"}, Wikidata = "Q17028746", plain_categories = true, parent = "Xuanzhou Wu", }

-- FIXME: Category missing. labels["Tongling Wu"] = { aliases = {"Tongling"}, Wikidata = "Q15909611", plain_categories = true, parent = "Tongjing Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Wencheng Wu"] = { aliases = {"Wencheng"}, Wikidata = "Q7982335", plain_categories = true, parent = "Oujiang Wu", }

labels["Wenzhounese Wu"] = { aliases = {"Wenzhounese", "Wenzhou Wu", "Wenzhou", "Oujiang"}, -- FIXME: Consider removing the following exception and letting it display as 'Wenzhounese Wu'. display = "Wenzhounese", Wikidata = "Q710218", plain_categories = true, parent = "Oujiang Wu", }

-- FIXME: Category missing. labels["Wuhu County Wu"] = { aliases = {"Wuhu County"}, Wikidata = "Q15911448", plain_categories = true, parent = "Tongjing Wu", -- a variety of Xuanzhou Wu }

-- FIXME: Category missing. labels["Wuyi Wu"] = { aliases = {"Yiwu"}, Wikidata = "Q11124837", plain_categories = true, parent = "Yiyong Wu", -- a variety of Wuzhou Wu }

labels["Wuzhou Wu"] = { -- A primary branch. Per English Wikipedia, has the following varieties: -- Jinhua dialect -- Lanxi dialect -- Pujiang dialect -- Yiwu dialect -- Dongyang dialect -- Pan'an dialect -- Yongkang dialect -- Wuyi dialect -- Jiande dialect aliases = {"Wuzhou"}, Wikidata = "Q2779891", plain_categories = true, parent = true, }

labels["Xuanzhou Wu"] = { -- A primary branch. Per English Wikipedia, has the following varieties: -- Xuancheng -- Tong–Jing -- Tongling dialect -- Jing County dialect -- Fanchang dialect -- etc.	 -- Shi–Ling -- Shitai dialect -- Lingyang (陵阳) dialect -- etc.	 -- Tai–Gao -- Taiping dialect -- Gaochun dialect -- etc.	aliases = {"Xuanzhou"}, Wikidata = "Q1939756", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Yiwu Wu"] = { aliases = {"Yiwu"}, Wikidata = "Q15898526", plain_categories = true, parent = "Yiyong Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Yiyong Wu"] = { aliases = {"Yiyong"}, -- Undefined in Chinese Wikipedia plain_categories = true, parent = "Wuzhou Wu", }

-- FIXME: Category missing. labels["Yongkang Wu"] = { aliases = {"Yongkang"}, Wikidata = "Q11132026", plain_categories = true, parent = "Yiyong Wu", -- a variety of Wuzhou Wu }

-- FIXME: Category missing. labels["Yushan Wu"] = { aliases = {"Yushan"}, Wikidata = "Q17040715", plain_categories = true, parent = "Shangshan Wu", -- a variety of Chuqu Wu }

-- Xiang --

labels["Xiang"] = { Wikidata = "Q13220", regional_categories = true, }

labels["dialectal Xiang"] = { nolect = true, Wikidata = "Q13220", -- article on Xiang Chinese regional_categories = "Xiang", }

-- FIXME: Category missing. labels["Changsha Xiang"] = { aliases = {"Changsha"}, Wikidata = "Q3044809", plain_categories = true, }

-- FIXME: Category missing. labels["Hengyang Xiang"] = { aliases = {"Hengyang"}, Wikidata = "Q20689035", plain_categories = true, }

-- FIXME: Category missing. labels["Hengzhou Xiang"] = { aliases = {"Hengzhou"}, Wikidata = "Q20689035", -- article on Hengyang Xiang plain_categories = true, }

labels["Loudi Xiang"] = { aliases = {"Loudi"}, Wikidata = "Q10943823", plain_categories = true, }

-- FIXME: Category missing. labels["New Xiang"] = { Wikidata = "Q7012696", plain_categories = true, }

labels["Old Xiang"] = { Wikidata = "Q7085453", plain_categories = true, }

labels["Shuangfeng Xiang"] = { aliases = {"Shuangfeng"}, Wikidata = "Q10911980", plain_categories = true, }

-- Yue --

labels["Cantonese"] = { -- A variety of Yuehai Yue. Wikidata = "Q9186", regional_categories = true, }

labels["dialectal Cantonese"] = { nolect = true, Wikidata = "Q9186", -- article on Cantonese regional_categories = "Cantonese", }

-- FIXME: Category missing. labels["Bobai Yue"] = { -- A subvariety of Yulin Yue, a variety of Goulou Yue. aliases = {"Bobai"}, Wikidata = "Q4934549", plain_categories = true, }

-- FIXME: Category missing. labels["Dapeng Cantonese"] = { -- A subvariety of Guanbao Cantonese, a variety of Yuehai Yue (the primary branch that includes standard Cantonese). aliases = {"Dapeng Yue", "Dapeng"}, Wikidata = "Q1939845", plain_categories = true, }

-- FIXME: Category missing. labels["Dongguan Cantonese"] = { -- A subvariety of Guanbao Cantonese, which is a variety of Yuehai Yue (the primary branch that includes standard	-- Cantonese). aliases = {"Dongguan Yue"}, -- no alias for Dongguan, as Hakka is also spoken. Wikidata = "Q97351966", plain_categories = true, }

-- FIXME: Category missing. labels["Fangcheng Yue"] = { -- A variety of Qinlian Yue. aliases = {"Fangcheng"}, Wikidata = "Q111949144", plain_categories = true, }

-- FIXME: Category missing. labels["Gaoyang Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Gaozhou dialect -- Yangjiang dialect aliases = {"Gaoyang"}, Wikidata = "Q2812583", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Goulou Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Yulin dialect -- Bobai dialect -- Guangning dialect -- Huaiji dialect -- Fengkai dialect -- Deqing dialect -- Yunan dialect -- Shanglin dialect -- Binyang dialect -- Tengxian dialect aliases = {"Goulou"}, Wikidata = "Q5588322", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Guanbao Cantonese"] = { -- A variety of Yuehai Yue (the primary branch including standard Cantonese). aliases = {"Guanbao Yue", "Guanbao"}, Wikidata = "Q13530474", plain_categories = true, }

-- FIXME: Category missing. labels["Guangfu Cantonese"] = { -- A variety of Yuehai Yue (the primary branch including standard Cantonese). This variety includes standard -- Guangzhou Cantonese as a subvariety. aliases = {"Guangfu", "Guangfu Yue"}, plain_categories = true, }

-- FIXME: Category missing. -- labels["Guangxi Yue"] = { -- -- Multiple Yue subgroups spoken in Guangxi -- 	-- Guangxi alias not correct as there are multiple languages spoken in Guangxi -- 	Wikipedia = "Guangxi", -- 	plain_categories = true, -- }

labels["Guangzhou Cantonese"] = { -- A subvariety of Guangfu Cantonese, a variety of Yuehai Yue. The prestige variety of Cantonese. aliases = {"Guangzhou"}, Wikidata = "Q9186", -- article for "Cantonese" plain_categories = true, }

-- FIXME: Category missing. labels["Guixian Yue"] = { -- A variety of Goulou Yue. aliases = {"Guixian"}, Wikidata = "Q15926547", plain_categories = true, }

labels["Hong Kong Cantonese"] = { -- A subvariety of Cantonese (in the narrow sense), a variety of Yuehai Yue. aliases = {"HKC"}, Wikidata = "Q5894342", plain_categories = true, }

-- FIXME: Category missing. labels["Huizhou Yue"] = { -- A variety of Wuhua Yue. -- No Huizhou alias because of Huizhou Cantonese (a different lect). Wikidata = "Q9484916", plain_categories = true, }

-- FIXME: Category missing. labels["Jiujiang Cantonese"] = { -- A subvariety of Sanyi Cantonese, which is a variety of Yuehai Yue (the primary branch that includes standard	-- Cantonese). aliases = {"Jiujiang Yue", "Jiujiang"}, Wikidata = "Q6203399", plain_categories = true, }

-- FIXME: Category missing. labels["Luoguang Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Luoding dialect -- Zhaoqing dialect -- Sihui dialect -- Yangshan dialect -- Lianzhou dialect -- Lianshan dialect -- Qingyuan dialect aliases = {"Luoguang"}, Wikidata = "Q6704497", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Macau Cantonese"] = { -- A subvariety of Cantonese (in the narrow sense), a variety of Yuehai Yue. aliases = {"Macao Cantonese", "Macanese Cantonese"}, Wikidata = "Q113659847", plain_categories = true, }

-- FIXME: Category missing. labels["Malaysian Cantonese"] = { -- A subvariety of Cantonese (in the narrow sense), a variety of Yuehai Yue. aliases = {"Malaysia Cantonese"}, Wikidata = "Q56272241", plain_categories = true, }

-- FIXME: Category missing. labels["Nantou Cantonese"] = { -- A subvariety of Guanbao Cantonese, which is a variety of Yuehai Yue (the primary branch that includes standard	-- Cantonese). Formerly spoken by residents of Nantou (historic town), a former walled city in Shenzhen. aliases = {"Nantou Yue"}, -- no "Nantou" alias because Nantou is also a city in Taiwan Wikidata = "Q110110348", plain_categories = true, }

-- FIXME: Category missing. labels["Qinlian Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Plain Speech -- Beihai dialect -- Qinzhou dialect -- Fangcheng dialect -- Lingshan downtown dialect -- Transitional dialets -- Naamhong dialect -- Tanka dialect (not the same as Tanka Cantonese given above as a Yuehai Yue variety; per Wikipedia, Tanka		 --   Cantonese is the "absolute Tanka accent" spoken by the elderly, while young and middle aged people speak		  --   a Tanka dialect that is mixed with Beihai Plain Speech) -- Overseas-Chinese Plain Speech -- Saanhau dialect -- Lianzhou dialect -- Nga dialect -- Coastal dialects (possibly a Min Chinese variety?) -- Lingshan dialect -- Xiaojiang dialect -- Slanlap dialect aliases = {"Qinlian"}, Wikidata = "Q7267753", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Sanyi Cantonese"] = { -- A variety of Yuehai Yue (the primary branch including standard Cantonese). aliases = {"Sanyi Yue", "Sanyi", "Nanpanshun Cantonese", "Nanpanshun Yue", "Nanpanshun"}, plain_categories = true, }

-- FIXME: Category missing. labels["Shiqi Cantonese"] = { -- A subvariety of Xiangshan Cantonese, which is a variety of Yuehai Yue (the primary branch that includes standard	-- Cantonese). aliases = {"Shiqi Yue", "Shiqi"}, Wikidata = "Q836038", plain_categories = true, }

-- FIXME: Category missing. labels["Singapore Cantonese"] = { -- A subvariety of Cantonese (in the narrow sense), a variety of Yuehai Yue. aliases = {"Singaporean Cantonese"}, Wikipedia = "Chinese Singaporeans#Cantonese", plain_categories = true, }

-- FIXME: Category missing. labels["Siyi Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Taishanese -- Xinhui dialect -- Siqian dialect -- Guzhen dialect -- Enping dialect -- Kaiping dialect aliases = {"Siyi"}, Wikidata = "Q2391679", plain_categories = true, parent = true, }

-- The following violates normal conventions, which would use "Taishan Yue" or "Taishanese Yue". But it matches the -- current 'Taishanese' full language. If (as proposed by User:Wpi) we demote Taishanese to an etym-only variety -- of Siyi Yue, we should consider renaming to Taishan Yue or Taishanese Yue. labels["Taishanese"] = { -- A variety of Siyi Yue. aliases = {"Toishanese", "Toisanese", "Hoisanese"}, Wikidata = "Q2208940", regional_categories = true, }

-- FIXME: Category missing. labels["Tanka Cantonese"] = { -- A subvariety of Guangfu Cantonese, a variety of Yuehai Yue (the primary branch that includes standard Cantonese). -- Spoken by the Tanka people, an ethnic group traditionally living on junks in coastal parts of southern -- China. aliases = {"Tanka Yue", "Tanka", "Danjia Cantonese", "Danjia Yue", "Danjia", "Shuishang Cantonese", "Shuishang Yue", "Shuishang"}, Wikidata = "Q7211307", plain_categories = true, }

-- FIXME: Category missing. labels["Weitou Cantonese"] = { -- A subvariety of Guanbao Cantonese, which is a variety of Yuehai Yue (the primary branch that includes standard	-- Cantonese). Spoken by older residents of Shenzhen. aliases = {"Weitou Yue", "Weitou", "Bao'an Cantonese", "Bao'an Yue", "Bao'an"}, Wikidata = "Q846599", plain_categories = true, }

-- FIXME: Category missing. labels["Wuhua Yue"] = { -- A primary branch. -- Per English Wikipedia, has the following lects: -- Wuchuan dialect -- Huazhou dialect aliases = {"Wuhua"}, Wikidata = "Q8038858", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Xiangshan Cantonese"] = { -- A variety of Yuehai Yue (the primary branch including standard Cantonese). aliases = {"Xiangshan Yue", "Xiangshan"}, plain_categories = true, }

-- FIXME: Category missing. labels["Xiguan Cantonese"] = { -- A subvariety of Guangfu Cantonese (the variety of Yuehai Yue that includes standard Cantonese). aliases = {"Xiguan Yue", "Xiguan"}, Wikidata = "Q8044409", plain_categories = true, }

-- FIXME: Category missing. labels["Xinhui Yue"] = { -- A variety of Siyi Yue. aliases = {"Xinhui"}, Wikidata = "Q97168096", plain_categories = true, }

labels["Yangjiang Yue"] = { -- A variety of Gaoyang Yue. -- no alias for Yangjiang as Yangjiang Hakka also exists. Wikidata = "Q65406156", plain_categories = true, }

-- FIXME: Category missing. labels["Yongxun Yue"] = { -- A primary branch, or possibly a subvariety of Yuehai Yue (Cantonese proper). -- Per English Wikipedia, has the following lects: -- Nanning dialect -- Yongning dialect -- Guiping dialect -- Chongzuo dialect -- Ningmin dialect -- Hengxian dialect -- Baise dialect aliases = {"Yongxun"}, Wikidata = "Q8054950", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Yuehai Yue"] = { -- A primary branch, which includes standard Cantonese. Per English Wikipedia, has the following lects: -- Guangfu dialects -- Guangzhou dialect -- Hong Kong dialect -- Macau dialect -- Xiguan dialect -- Wuzhou dialect -- Tanka dialect -- Sanyi / Nanpanshun dialects -- Nanhai dialect -- Jiujiang dialect -- Xiqiao dialect -- Shunde dialect -- Xiangshan dialect -- Shiqi dialect -- Sanjiao dialect -- Guanbao dialect -- Dongguan dialect -- Bao'an dialect (Waitau) aliases = {"Yuehai"}, Wikidata = "Q8060260", plain_categories = true, parent = true, }

-- FIXME: Category missing. labels["Yulin Yue"] = { -- A variety of Goulou Yue. aliases = {"Yulin"}, Wikidata = "zh:Q15942798", -- Yulin dialect also exists but redirects to Goulou Yue. plain_categories = true, }

-- Other groups --

-- FIXME: Category missing. labels["Danzhou Chinese"] = { aliases = {"Danzhou"}, Wikidata = "Q2578935", plain_categories = true, }

labels["Dungan"] = { Wikidata = "Q33050", regional_categories = true, }

labels["Gansu Dungan"] = { display = "Gansu Dungan", plain_categories = true, }

labels["Huizhou"] = { aliases = {"Huizhou Chinese"}, Wikidata = "Q56546", regional_categories = true, }

labels["Shehua"] = { aliases = {"She Chinese", "She"}, Wikidata = "Q24841605", regional_categories = true, }

labels["Waxiang"] = { Wikidata = "Q2252191", regional_categories = true, }

-- Miscellaneous --

labels["American (–1980)"] = { aliases = {"America 1", "United States 1", "USA 1", "US 1"}, Wikidata = "Q1516704", -- article on History of Chinese Americans regional_categories = true, }

labels["American (1980–)"] = { aliases = {"America 2", "United States 2", "USA 2", "US 2"}, Wikidata = "Q1516704", -- article on History of Chinese Americans regional_categories = true, }

labels["North America"] = { aliases = {"North American"}, display = "Canada, US", regional_categories = {"Canadian", "American"}, }

return require("Module:labels").finalize_data(labels)


text:
Module:User:Benwing2/labels/data/lang/zh/functions

local export = {}

export.postprocess_handlers = {}

local labels_module = "Module:User:Benwing2/labels"

-- Remove duplicated labels like 'Taiwanese' in 'Taiwanese Hokkien|and|Taiwanese Hakka'. Also remove duplicated labels -- in things like -- * 'Quanzhou|_|Hokkien' (which canonicalizes to 'Quanzhou Hokkien|_|Hokkien'); -- * 'Xiamen|and|Quanzhou|_|Hokkien' (which canonicalizes to 'Xiamen Hokkien|and|Quanzhou Hokkien|_|Hokkien'); -- * 'Xiamen|and|Anxi|_|Hokkien' (which canonicalizes to 'Xiamen Hokkien|and|Anxi|_|Hokkien'); -- * 'Xiamen|Zhangzhou|and|Quanzhou|_|Hokkien' (which canonicalizes to 'Xiamen Hokkien|Zhangzhou Hokkien|and|Quanzhou Hokkien|_|Hokkien'); -- * 'Xiamen|Zhangzhou|and|Anxi|_|Hokkien' (which canonicalizes to 'Xiamen Hokkien|Zhangzhou Hokkien|and|Anxi|_|Hokkien'). -- We do two passes. The first pass fixes cases like 'Quanzhou Hokkien|_|Hokkien', irrespective of whether there's an -- "and" present. The second pass looks for a stretch of labels where (a) all of the labels have the same prefix or -- suffix, and (b) in between the labels is at least one occurrence of "and" (which can also start out as "&" but is -- canonicalized to "and"); but (c) we count two labels separated by "_" (which is canonicalized to a blank label) as a -- single label. table.insert(export.postprocess_handlers,	function(data)		local labels = data.labels		if #labels == 1 then			return		end		local m_labels = require(labels_module)

-- First, split the labels into `link` and `display` component parts (done only once). local split_labels = {} for i, label in ipairs(labels) do			local link, display = m_labels.split_display_form(label.label) split_labels[i] = {link = link, display = display} end

-- Then compute "label starts" (indices of label sets to consider when looking for runs with the same prefix or		-- suffix), where a label start is either a single label or a set of two labels separated by an underscore, -- and where we take occurrences of "and" into consideration. local label_starts = {} local i = 1 while i <= #labels do			local start = i			local followed_by_and = false local after_underscore if i <= #labels - 4 and labels[i + 1].label == "" and labels[i + 2] == "and" and labels[i + 3] == "" then -- 'Foo|_|and|_|Bar'; redundant underscores followed_by_and = true i = i + 3 elseif i <= #labels - 2 and labels[i + 1].label == "and" then followed_by_and = true i = i + 1 elseif i <= #labels - 2 and labels[i + 1].label == "" then after_underscore = i + 2 i = i + 1 end table.insert(label_starts, {				start = start,				followed_by_and = followed_by_and,				after_underscore = after_underscore			}) i = i + 1 end

-- Now the main loop.

-- Each spec is {"affix", `at_beginning`}, or {{"affix", "affix"}, `at_beginning`} where "affix" is a prefix or -- suffix to remove and `at_beginning` indicates whether "affix" is a prefix or suffix. If more than one affix -- is listed, any affix counts, e.g. 'Taiwan Mandarin|and|Taiwanese Hokkien'. for _, affix_spec in ipairs { {{"Taiwanese", "Taiwan"}, true}, {"Chinese"}, {"Gan"}, {"Hakka"}, {"Hokkien"}, {"Mandarin"}, {"Southern Min"}, {"Min"}, {"Wu"}, {"Xiang"} } do			local affixes, at_beginning = unpack(affix_spec) if type(affixes) == "string" then affixes = {affixes} end

-- Does `item` match against the prefix or suffix when both prefix/suffix and something else are -- present? If so, return the something else, which is what we need to set the label to if we remove -- the prefix/suffix. local function matches_affix_with_space(item) for _, affix in ipairs(affixes) do local space_regex = at_beginning and "^" .. affix .. " (.+)$" or "^(.+) " .. affix .. "$"					local rest = item:match(space_regex) if rest then return rest end end return false end -- Does `item` match against the prefix or suffix exactly? If so, return an empty string, which is what -- we need to set the label to if we remove the prefix/suffix. local function matches_affix_exactly(item) for _, affix in ipairs(affixes) do					if item == affix then return "" end end return false end -- Does the link or display at `label_index` match with `match_function`? If so, return a three-element -- list of `label_index`, `component` (either "link" or "display") and the return value of `match_function`. local function check_match(label_index, match_function) local link, display = split_labels[label_index].link, split_labels[label_index].display local rest = display and match_function(display) if rest then return {label_index, "display", rest} else rest = link and matches_affix_with_space(link) if rest then return {label_index, "link", rest} end end return nil end -- Given {`label_index`, `component`, `value`}, set the link or display component (depending on `component`) -- of the label at `label_index` to `value`. local function set_component_value(to_erase) local label_index, component, value = unpack(to_erase) if value == "" then labels[label_index].label = "" else local link, display = split_labels[label_index].link, split_labels[label_index].display if component == "display" then display = value else link = value end labels[label_index].label = m_labels.combine_display_form_parts(link, display) end end

-- First pass: Look for two labels separated by an underscore, with the suffix occurring on both parts. -- (This shouldn't happen with prefixes.) if not at_beginning then for _, label_start in ipairs(label_starts) do					local to_erase = check_match(label_start.start, matches_affix_with_space) if to_erase and label_start.after_underscore and check_match(label_start.after_underscore, matches_affix_exactly) then set_component_value(to_erase) end end end

-- Second pass.

-- Check whether a prefix or suffix matches the given label start index (index of a label set in the			-- `label_starts` list; see above). If it matches, return value is {`index`, `component`, `value`}, i.e.			-- the label index to change, the component ("link" or "display") to change and the value to set the -- component to. Otherwise, return nil. local function affix_matches(label_start_index) local label_start = label_starts[label_start_index] -- If we're dealing with a suffix, there are two cases: (1) 'Quanzhou Hokkien'; -- (2) 'Quanzhou|_|Hokkien'. If we're dealing with a prefix, there are similarly (1) 'Taiwanese Hakka'; -- (2) 'Taiwanese|_|Hakka'. In addition, we have to check both the link and the display. local to_erase = check_match(label_start.start, matches_affix_with_space) if to_erase then return to_erase end local after_underscore = label_start.after_underscore if not after_underscore then return nil end return check_match(at_beginning and label_start.start or after_underscore, matches_affix_exactly) end

-- Now, try to find a run of two or more label sets with the same prefix or suffix, with at least one "and" -- in the middle. local j = 1 while j <= #label_starts - 1 do				local saw_and = false local run = {} local match = affix_matches(j) if match then table.insert(run, match) local k = j + 1 while k <= #label_starts do						match = affix_matches(k) if not match then break end table.insert(run, match) if label_starts[k - 1].followed_by_and then saw_and = true end k = k + 1 end if #run > 1 and saw_and then -- We saw a run of two or more with at least one 'and' in the middle. Remove the prefix or						-- suffix from all but the last (if we're dealing with a suffix) or all but the first (if we're						-- dealing with a prefix). if at_beginning then table.remove(run, 1) else table.remove(run) end for _, to_erase in ipairs(run) do							set_component_value(to_erase) end end j = k + 1 else j = j + 1 end end end end )

return export

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Module:User:Benwing2/labels/templates

local export = {}

local labels_module = "Module:User:Benwing2/labels"

-- Add tracking category for PAGE. The tracking category linked to is Tracking/labels/PAGE. local function track(page) require("Module:debug/track")("labels/" .. page) end

function export.show(frame) local parent_args = frame:getParent.args local compat = (frame.args["compat"] or "") ~= "" and parent_args["lang"] local term_mode = (frame.args["term"] or "") ~= "" local params = { [1] = {required = true, type = "language", etym_lang = true, default = "und"}, [2] = {required = true, list = true, default = "example"}, ["nocat"] = {type = "boolean"}, ["sort"] = {}, }	if compat then params["lang"] = params[1] params[1] = params[2] params[2] = nil end local args = require("Module:parameters").process(parent_args, params) -- Gather parameters local lang = args[compat and "lang" or 1] local labels = args[compat and 1 or 2]

-- Temporary tracking for the weird arguments. if (args.sort) then track("sort") end return require(labels_module).show_labels { lang = lang, labels = labels, sort = args.sort, nocat = args.nocat, mode = term_mode and "term-label" or nil, } end

return export

title: Module:User:Benwing2/labels/templates


text:
magneettinen dipoli

Phrase

 * 1)  magnetic dipole

title: magneettinen dipoli


text:
User:Benwing2/label

Defined labels
The following labels are defined:

title: User:Benwing2/label


text: Wiktionary:Word of the day/2024/April 13


text: archaic smiles

title: archaic smiles


text:
応永

Proper noun

 * 1) the Ōei era, 1394-1428

title: 応永


text:
Pentre

Etymology
From.

title: Pentre


text: PcD

title: PcD


text:
جهاندار

Etymology
.

Noun

 * 1)  "possessor of the world":

title: جهاندار


text:
tĕtĕs

Etymology
..

Verb

 * 1) penetrated, pierced

Noun

 * 1) penetrating, breaking through, coming out, hatching
 * 2) a way of embroidering

title: tĕtĕs


text:
seestara

Etymology
From. Cognates include 🇨🇬 and 🇨🇬.

Noun

 * 1) currant

Usage notes

 * By default, the red currant is meant. When having to specify, the terms and  are used.

title: seestara


text:
llysiau'r ysgyfaint

Noun

 * 1) lungwort ( spp.), especially
 * 2) angelica ( spp.), especially
 * 1) angelica ( spp.), especially

title: llysiau'r ysgyfaint


text:
thaum

Conjunction

 * 1) the time when; at, during

title: thaum


text:
seestarain

Etymology
From.

title: seestarain


text:
thaum twg

Adverb

 * 1) when? at what time? which time?

title: thaum twg


text:
seestaramarja

Etymology
From.

Noun

 * 1) berry of currant

title: seestaramarja


text:
twg

Etymology
From.

Adverb

 * 1)  which?

title: twg


text:
musta seestara

Etymology
Literally: "Black currant".

Noun

 * 1) blackcurrant

title: musta seestara


text: myzornises

title: myzornises


text:
sawv ntxov

Etymology
🇰🇲.

Noun

 * 1) morning (roughly, 3 AM - 12 PM)

title: sawv ntxov


text:
punain seestara

Etymology
Literally: "Red currant".

Noun

 * 1) redcurrant

title: punain seestara


text:
musta seestaramarja

Etymology
Literally: "Black currant berry".

Noun

 * 1) blackcurrant berry

title: musta seestaramarja


text:
ݙاہ

Etymology
. Cognate with 🇨🇬 and 🇨🇬.

Noun

 * 1) news; information

title: ݙاہ


text:
punain seestaramarja

Etymology
Literally: "Red currant berry".

Noun

 * 1) redcurrant berry

title: punain seestaramarja


text: puts on airs

title: puts on airs


text: putting on airs

title: putting on airs


text: giving oneself airs

title: giving oneself airs


text:
Appendix:Variations of "posa"

The word “posa” appears in many languages with many variations in the use of capitalization, punctuation, and diacritics.

Capitalization and punctuation

 * posa
 * Posa
 * POSA

Diacritics

 * posá
 * posà
 * Poša
 * poŝa
 * poşa
 * pósa, Pósa
 * pösa
 * pøsa

Other scripts

 * Cyrillic
 * Поса
 * Поша

 * Greek
 * ποσά
 * πόσα

 * Hiragana
 * ぽさ

title: Appendix:Variations of "posa"


text: gave oneself airs

title: gave oneself airs


text:
roosterlike

Adjective

 * 1) Resembling or characteristic of a rooster.

title: roosterlike


text: given oneself airs

title: given oneself airs


text: Zuñi River

title: Zuñi River


text: gives oneself airs

title: gives oneself airs


text:
punain seestarain

Etymology
Literally: "Red little currant".

title: punain seestarain


text: Жикгимонтъ

title: Жикгимонтъ


text:
seestaraisripsu

Etymology
From.

Noun

 * 1) cluster of currants

title: seestaraisripsu


text:
Appendix:Variations of "sopa"

The word “sopa” appears in many languages with many variations in the use of capitalization, punctuation, and diacritics.

Capitalization and punctuation

 * sopa
 * Sopa
 * SOPA

Diacritics

 * sopá
 * sopà
 * sópa
 * sõpa
 * šopa

Other scripts

 * Cyrillic
 * сопа (sopa), Сопа (Sopa)
 * шопа (šopa), Шопа (Šopa)

title: Appendix:Variations of "sopa"


text:
seestaraispehko

Etymology
From.

Noun

 * 1) currant bush

title: seestaraispehko


text:
selkänahkain

Etymology
From.

title: selkänahkain


text:
hnub ntseg

Etymology
🇰🇲.

Noun

 * 1) noon (12 PM)

title: hnub ntseg


text:
selskoi

Etymology
Borrowed from.

Noun

 * 1) (village) elder

title: selskoi


text:
semmoin

Etymology
From. Akin to 🇨🇬.

Determiner

 * 1) such (a)

title: semmoin


text: Category:Ingrian terms suffixed with -moin


text:
-moin

Etymology
From. Cognate with 🇨🇬.

Suffix

 * 1) -like

title: -moin


text: strojni

title: strojni


text:
tav su

Etymology
🇰🇲.

Noun

 * 1) noon (12 PM)

title: tav su


text: neosocialistas

title: neosocialistas


text: sambianas

title: sambianas


text:
Semena

Etymology
Borrowed from.

title: Semena


text: sambiana

title: sambiana


text: rectificativas

title: rectificativas


text: strojna

title: strojna


text: rectificativos

title: rectificativos


text: rectificativa

title: rectificativa


text: bociblancas

title: bociblancas


text: bociblanca

title: bociblanca


text: bociblancos

title: bociblancos


text: strojną

title: strojną


text: strojne

title: strojne


text: wisdomas

title: wisdomas


text:
gehyscan

Etymology
Equivalent to ang

Verb

 * 1) to deride, mock

title: gehyscan


text: hyscton

title: hyscton


text: hyscþ

title: hyscþ


text: hyscte

title: hyscte


text: hysceþ

title: hysceþ


text: hyscende

title: hyscende


text: gehyscende

title: gehyscende


text: gehyscþ

title: gehyscþ


text: gehyscton

title: gehyscton


text: gehysceþ

title: gehysceþ


text: gehyscte

title: gehyscte


text: miscyrre

title: miscyrre


text: hawige

title: hawige


text: hawaþ

title: hawaþ


text: hawigen

title: hawigen


text: hawode

title: hawode


text: hawodon

title: hawodon


text: hawiaþ

title: hawiaþ


text: hawoden

title: hawoden


text: hawienne

title: hawienne


text: drenccuppan

title: drenccuppan


text: gehefeþ

title: gehefeþ


text: gehebbe

title: gehebbe


text: gehof

title: gehof


text: gehofon

title: gehofon


text: gehefe

title: gehefe


text: gehebbaþ

title: gehebbaþ


text: gehofe

title: gehofe


text: gehebbende

title: gehebbende


text: gehefen

title: gehefen


text: gehæfen

title: gehæfen


text: Treuddyn

title: Treuddyn


text: gewædod

title: gewædod


text: gewædaþ

title: gewædaþ


text: gewædode

title: gewædode


text:
siikaverkko

Etymology
From.

Noun

 * 1) net used for catching whitefish

title: siikaverkko


text: 𤩅

title: 𤩅


text: foregengles

title: foregengles


text:
美圖

Etymology
From, a company, and its photo-editing software   popular amongst Chinese.

Verb

 * 1)  to photoshop

title: 美圖


text:
siije

Etymology 1
From. Cognate with 🇨🇬.

Noun

 * 1) drizzle

title: siije


text:
Siiteri

Etymology
Borrowed from.

title: Siiteri


text:
przewrót pałacowy

Etymology
lit. 'palace coup'.

Noun

 * 1)  palace coup

title: przewrót pałacowy


text:
Forden with Leighton and Trelystan

Proper noun

 * , which includes the named places.

title: Forden with Leighton and Trelystan


text: 𪇌

title: 𪇌


text:
ઓળંભો

Etymology
, from, from. . Cognate with 🇨🇬, 🇨🇬, 🇨🇬, and 🇨🇬.

Noun

 * 1) rebuke
 * 2) complaint
 * 1) complaint

title: ઓળંભો


text: ἱστορίαι

title: ἱστορίαι


text:
llysiau'r afon

Etymology
Literally “river herbs”. Alteration of standard.

Noun

 * 1) liverwort

title: llysiau'r afon