Jump to content

Модул:languages/data/3/p

Аз Wiktionary

This module contains definitions and metadata for three-letter language codes starting with "p". See Wiktionary:Languages for more information.

This module must not be used directly in other modules or templates. The data should be accessed through Module:languages. For the corresponding extra data, see Модул:languages/data/3/p/extra.

Errors

[вироиш]

The following errors were detected by Module:data consistency check: Lua error in Модул:languages at line 1278: attempt to index field 'type' (a nil value).

Required values

[вироиш]

Every entry in the table must contain the following indexed fields:

1
The "canonical" name of the language. This is the name that is used in Wiktionary entries and category names.
2
The Wikidata item id (Q number) for the language. Can be specified as a number (a positive integer) or a string that starts with Q and ends with decimal digits. Set to nil if not known/present. This replaces the older wikipedia_article property, which can still be used to link to specific sections or language editions.

Optional values

[вироиш]
3
The code for the family that the language belongs to. See Wiktionary:Families.
4
A list of script codes. See Wiktionary:Scripts. These represent all the scripts (writing systems) that this language uses in the real world, as well as the ones that Wiktionary uses. The scripts that are used most often on Wiktionary should be first in the list, as this will speed up script detection.
Many templates and modules detect the script of text in a particular language using the findBestScript function in Module:scripts. This function goes down the list of scripts and counts how many characters in the text belong to each script. If all the characters belong to one script, that script will be returned; otherwise, the script with the most characters will be returned. Thus, script detection will be faster if the most frequently used scripts are first in the list. If none of the characters match any of the listed scripts, then the None script is returned (even if the characters would match a script not listed). Translingual (mul) and Undetermined (und) have the special value "All", which means they are treated as having every script. This value should not be set for any other language codes.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: "Latn, Brai, Shaw, Dsrt".
type
The type of language (which affects how it is handled on Wiktionary). Possible values are:
  • regular - This value is the default, so it doesn't need to be specified. It indicates that the is attested according to WT:CFI and therefore permitted in the main namespace. There may also be reconstructed terms for the language, which are placed in the Reconstruction namespace and must be prefixed with * to indicate a reconstruction.
  • reconstructed - This language is not attested according to CFI, and therefore is allowed only in the Reconstruction namespace. All terms in this language are reconstructed, and must be prefixed with *.
  • appendix-constructed - This language is attested but does not meet the additional requirements set out for constructed languages (WT:CFI#Constructed languages). Its entries must therefore be in the Appendix namespace, but they are not reconstructed and therefore should not have * prefixed in links.
ancestors
A list of the language codes of the direct ancestors of this language. For example, the ancestor of English is listed as enm (Middle English); ang (Old English, the ancestor of Middle English), gem-pro (Proto-Germanic, the ancestor of Old English), and ine-pro (Proto-Indo-European, the ancestor of Proto-Germanic) are not listed.
For most languages, only one ancestor code should be given, but multiple ancestors can be listed for pidgins, creoles and mixed languages.
The ancestor language list should not be included if the language's direct ancestor is the proto-language of the family to which the language belongs. In such a case, if the family code has been provided, Module:languages will automatically add the proto-language as the language's ancestor. For example, Proto-Germanic (gem-pro) belongs to the Indo-European (ine) family, and its direct ancestor is Proto-Indo-European (ine-pro). Because Proto-Indo-European is the proto-language of the Indo-European languages, Proto-Germanic does not need an ancestors table; Proto-Indo-European will be automatically returned as its ancestor by the getAncestors function.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: "cr, fr".
wikimedia_codes
A list of the Wikimedia language codes that this language maps to. This is used to translate Wiktionary codes to Wikimedia codes, which are usually the same but there are a few languages where it is different. The language codes must be valid Wikimedia codes (as determined by the wiki software), and if they are not defined in one of the language data modules, they must be defined in Module:wikimedia languages/data.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: "en, simple".
wikipedia_article
The name of the Wikipedia article for the language. Should normally only be supplied if the Wikidata id cannot be used.
translit
See the Substitutions section for instructions on syntax.
Defines how a language should be transliterated, which will be automatically applied to any terms in scripts that do not have their isTransliterated value set to false in Module:scripts/data. This is used by transliterate in Module:languages.
link_tr
Set this to true to link the language's transliteration. For instance, Gothic has entries in Gothic script and entries for transliterations: ҷинси мардона.
display_text
See the Substitutions section for instructions on syntax.
Defines replacements to create the display form of the text, which is the form actually displayed on the page. This is occasionally necessary if there is a recurring issue of editors adding the wrong character, which is sometimes an issue when two or more characters are easy to confuse. For example, the palochka ӏ, used in Cyrillic in many Caucasian languages, is frequently entered as I, or even Latin l or I. As this is an ongoing issue (even among native speakers), the easiest way to solve the problem is to automatically correct the display form for those languages. This is used by makeDisplayText in Module:languages.
entry_name
See the Substitutions section for instructions on syntax.
Defines replacements to create the entry name from the displayed form of a term. This can be used to remove certain diacritical marks according to the customs or standard practice of the language. For example, it is used to remove accent marks from Russian words (ру́сскийрусский), or macrons from Latin or Old English words (ōsos), as these are not used in the normal written form of these languages. This is used by makeEntryName in Module:languages.
sort_key
See the Substitutions section for instructions on syntax.
Defines replacements to create a category sort key from the page name. The purpose is to:
  1. Remove any characters that should be ignored in sorting.
  2. Replace characters with other characters, if the sorting rules for that language do not distinguish them. For example, in German, the characters "ä" and "a" are considered equivalent for sorting, and are both treated as "a".
  3. Replace characters that should be sorted in different places with special characters that mimic that behaviour, (which is necessary due to MediaWiki software using the Unicode codepoint to determine sort order, which is often arbitrary). For instance, in Mongolian, the letter "ү" should be sorted after "у", but due to its codepoint it is sorted after the final letter "я" by default. As such, we can replace "ү" with "у" plus a character with a very high codepoint, which ensures that it is always sorted straight after. The data modules contain an in-built way to do this for the sake of convenience: with the above example, this would be done by using "у" .. p[1]. Another character could be inserted straight after by using "у" .. p[2] (and so on).
Note: the term is converted to lowercase before applying any substitutions, so you should not try to process capital letters (as it will not work). This is used by makeSortKey in Module:languages.
dotted_dotless_i
Set this to true for languages that distinguish between the dotted and dotless I (such as some Turkic languages).

Substitutions

[вироиш]
translit, display_text, entry_name and sort_key all use the same syntax, which is designed to be as flexible as possible:
  • If they are a string, then this is treated as the name of a dedicated module which will be used to generate the output. For example, "sa-translit" refers to Module:sa-translit.
  • If they are a table, then it can contain two kinds of keys:
    1. The keys from, to, remove_diacritics and remove_exceptions relate to text substitution (see below).
    2. Script code keys are used to specify script-specific behaviour. These, in turn, can be strings (for dedicated modules) or tables (for text substitution). In addition, a value with the key 1 can be used as a fallback, which will be used if no specific behaviour is defined for that script.
Note: if script keys and text substitution keys are given in the same table, then the text substitution will be applied after the script-specific behaviour has completed. Ensure any fallback text substitutions are given as a subtable with key 1 if you want to avoid this. It is not possible to process the output of a script-specific module with another module, however: this should be done (for example) with a tail call in the first module.
Dedicated modules must take the arguments text, lang, sc, where text is the input text (usually the page name or input by the user), lang is the language code (not the language object), and sc is the script code (not the script object). For performance reasons, they should only be used when it is not possible to achieve the desired result via text substitution.
Text substitution replaces or removes certain characters (or sets of characters) for particular contexts. There are three ways to do this:
  1. Using the from and to keys.
  2. remove_diacritics (and optionally remove_exceptions).
  3. Both of the above (in that order).
from is paired with to, and both of them must be tables that are organised pairwise: each element in from is a pattern to identify which characters in the term to replace, while the corresponding element in to defines what to replace them with (as arguments to mw.ustring.gsub).
If the replacement is not present (or if it is false or nil), then any matching characters are removed altogether. This means that the from list can be longer than the to list, and an empty replacement will be assumed for any elements in from that have no counterpart in to.
The tables can contain literal characters, or the patterns (a simplified form regular expressions) that are used by the standard Scribunto mw.ustring.gsub function. See the Scribunto reference manual for more information. Note that patterns make double substitutions a viable way to achieve more complex results. See the Latin sortkey for Mandarin (cmn) as an example of this.
remove_diacritics is a string which contains characters that will be removed after the text is decomposed. For instance, if remove_diacritics is a combining acute accent, all acute accents will be stripped, even if they are part of precomposed characters (such as á or ά). Despite the name, the characters to be stripped need not be diacritics: for instance, including an apostrophe would remove all apostrophes (though be careful with hyphens, which must be be escaped as %-).
Furthermore, if remove_diacritics is given, then it is possible to specify a remove_exceptions table, which prevents specific characters from having their diacritics stripped. For instance, if remove_diacritics is a combining diaeresis, but remove_exceptions contains "ё", then any instances of ё will remain unchanged. On the other hand, an instance of ӱ would still become у (unless "ӱ" is also added to remove_exceptions).

Formerly supported values

[вироиш]
aliases, varieties, otherNames
This data is now located in the extra data modules; see Module:languages and Template:ҳуҷҷатҳои иловагии забон.
family
Now 3.
scripts
Now 4.

local u = mw.ustring.char
local m_langdata = require("Module:languages/data")
local c = m_langdata.chars
local p = m_langdata.puaChars
local s = m_langdata.shared

local m = {}

m["pab"] = {
	"Pareci",
	3504312,
	"awd",
	"Latn",
}

m["pac"] = {
	"Pacoh",
	3441136,
	"mkh-kat",
	"Latn",
}

m["pad"] = {
	"Paumarí",
	389827,
	"auf",
	"Latn",
}

m["pae"] = {
	"Pagibete",
	7124357,
	"bnt-bta",
	"Latn",
}

m["paf"] = {
	"Paranawát",
	12953806,
	"tup-gua",
	"Latn",
}

m["pag"] = {
	"Pangasinan",
	33879,
	"phi",
	"Latn, Tglg",
	entry_name = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer},
}

m["pah"] = {
	"Tenharim",
	10266010,
	"tup-gua",
	"Latn",
}

m["pai"] = {
	"Pe",
	3914871,
	"nic-tar",
	"Latn",
}

m["pak"] = {
	"Parakanã",
	12953804,
	"tup-gua",
	"Latn",
}

m["pal"] = {
	"Middle Persian",
	32063,
	"ira-swi",
	"Latn, Phli, pal-Avst, Mani, Phlp, Phlv", -- Latn for translit; Phlv not in Unicode
	translit = {
		Phli = "Phli-translit",
		["pal-Avst"] = "Avst-translit",
		Mani = "Mani-translit",
	},
	ancestors = "peo",
}

m["pam"] = {
	"Kapampangan",
	36121,
	"phi",
	"Latn", -- also Kulitan, which lacks a code
}

m["pao"] = {
	"Northern Paiute",
	3360656,
	"azc-num",
	"Latn",
}

m["pap"] = {
	"Papiamentu",
	33856,
	"crp",
	"Latn",
	ancestors = "pt",
}

m["paq"] = {
	"Parya",
	1135134,
	"inc-cen",
	ancestors = "psu",
}

m["par"] = {
	"Panamint",
	33926,
	"azc-num",
	"Latn",
}

m["pas"] = {
	"Papasena",
	7132508,
	"paa-lkp",
	"Latn",
}

m["pat"] = {
	"Papitalai",
	6528659,
	"poz-aay",
	"Latn",
}

m["pau"] = {
	"Palauan",
	33776,
	"poz-sus",
	"Latn",
}

m["pav"] = {
	"Wari'",
	3027909,
	"sai-cpc",
	"Latn",
}

m["paw"] = {
	"Pawnee",
	56751,
	"cdd",
	"Latn",
}

m["pax"] = {
	"Pankararé",
	25559779,
	nil,
	"Latn",
}

m["pay"] = {
	"Pech",
	4898889,
	"cba",
	"Latn",
}

m["paz"] = {
	"Pankararú",
	7131310,
	nil,
	"Latn",
}

m["pbb"] = {
	"Páez",
	33677,
	nil,
	"Latn",
}

m["pbc"] = {
	"Patamona",
	3915921,
	"sai-pem",
	"Latn",
}

m["pbe"] = {
	"Mezontla Popoloca",
	42365630,
	"omq-pop",
	"Latn",
}

m["pbf"] = {
	"Coyotepec Popoloca",
	5180100,
	"omq-pop",
	"Latn",
}

m["pbg"] = {
	"Paraujano",
	3501747,
	"awd-taa",
	"Latn",
}

m["pbh"] = {
	"Panare",
	56610,
	"sai-ven",
	"Latn",
}

m["pbi"] = {
	"Podoko",
	3515096,
	"cdc-cbm",
	"Latn",
}

m["pbl"] = {
	"Mak (Nigeria)",
	3915349,
	"alv-bwj",
	"Latn",
}

m["pbm"] = {
	"Puebla Mazatec",
	nil,
	"omq-maz",
	"Latn",
}

m["pbn"] = {
	"Kpasam",
	3914902,
	"alv-mye",
	"Latn",
}

m["pbo"] = {
	"Papel",
	36314,
	"alv-pap",
	"Latn",
}

m["pbp"] = {
	"Badyara",
	35095,
	"alv-ten",
	"Latn",
}

m["pbr"] = {
	"Pangwa",
	3847550,
	"bnt-bki",
	"Latn",
}

m["pbs"] = {
	"Central Pame",
	3361763,
	"omq",
	"Latn",
}

m["pbv"] = {
	"Pnar",
	3501850,
	"aav-pkl",
	"Latn",
}

m["pby"] = {
	"Pyu",
	2567925,
	"paa-asa",
	"Latn",
}

m["pca"] = {
	"Santa Inés Ahuatempan Popoloca",
	42365276,
	"omq-pop",
	"Latn",
}

m["pcb"] = {
	"Pear",
	6583669,
	"mkh-pea",
	"Khmr",
}

m["pcc"] = {
	"Bouyei",
	35100,
	"tai-nor",
	"Latn, Hani",
	sort_key = {Hani = "Hani-sortkey"},
}

m["pcd"] = {
	"Picard",
	34024,
	"roa-oil",
	"Latn",
	ancestors = "fro",
	sort_key = s["roa-oil-sortkey"],
}

m["pce"] = {
	"Ruching Palaung",
	12953798,
	"mkh-pal",
}

m["pcf"] = {
	"Paliyan",
	7127643,
	"dra",
}

m["pcg"] = {
	"Paniya",
	7131211,
	"dra",
}

m["pch"] = {
	"Pardhan",
	7133207,
	"dra",
	ancestors = "gon",
}

m["pci"] = {
	"Duruwa",
	56753,
	"dra",
	"Deva, Orya",
}

m["pcj"] = {
	"Parenga",
	3111396,
	"mun",
}

m["pck"] = {
	"Paite",
	12952337,
	"tbq-kuk",
}

m["pcl"] = {
	"Pardhi",
	7136554,
	"inc-bhi",
}

m["pcm"] = {
	"Nigerian Pidgin",
	33655,
	"crp",
	"Latn",
	ancestors = "en",
	entry_name = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.caron .. c.macronbelow},
	sort_key = {
		remove_diacritics = c.tilde,
		from = {"ẹ", "gb", "kp", "ọ", "sh", "zh"},
		to = {"e" .. p[1], "g" .. p[1], "k" .. p[1], "o" .. p[1], "s" .. p[1], "z" .. p[1]}
	},
}

m["pcn"] = {
	"Piti",
	3913375,
	"nic-kne",
	"Latn",
}

m["pcp"] = {
	"Pacahuara",
	2591165,
	"sai-pan",
	"Latn",
}

m["pcw"] = {
	"Pyapun",
	3438807,
	nil,
	"Latn",
}

m["pda"] = {
	"Anam",
	3501930,
	"ngf-mad",
	"Latn",
}

m["pdc"] = {
	"Pennsylvania German",
	22711,
	"gmw",
	"Latn",
	ancestors = "gmw-rfr",
}

m["pdi"] = {
	"Pa Di",
	3359940,
	nil,
	"Latn",
}

m["pdn"] = {
	"Fedan",
	7206699,
	"poz-ocw",
	"Latn",
}

m["pdo"] = {
	"Padoe",
	3360370,
	"poz-btk",
	"Latn",
}

m["pdt"] = {
	"Plautdietsch",
	1751432,
	"gmw",
	"Latn",
	ancestors = "nds-de",
}

m["pdu"] = {
	"Kayan",
	7123283,
	"kar",
	"Latn",
}

m["pea"] = {
	"Peranakan Indonesian",
	653415,
	nil,
	"Latn",
}

m["peb"] = {
	"Eastern Pomo",
	3396032,
	"nai-pom",
	"Latn",
}

m["ped"] = {
	"Mala (New Guinea)",
	11732569,
	"ngf-mad",
	"Latn",
}

m["pee"] = {
	"Taje",
	12953902,
	nil,
	"Latn",
}

m["pef"] = {
	"Northeastern Pomo",
	3396018,
	"nai-pom",
	"Latn",
}

m["peg"] = {
	"Pengo",
	56758,
	"dra",
	"Orya",
}

m["peh"] = {
	"Bonan",
	32983,
	"xgn-shr",
}

m["pei"] = {
	"Chichimeca-Jonaz",
	3915427,
	"omq-otp",
	"Latn",
}

m["pej"] = {
	"Northern Pomo",
	3396021,
	"nai-pom",
	"Latn",
}

m["pek"] = {
	"Penchal",
	3374631,
	"poz-aay",
	"Latn",
}

m["pel"] = {
	"Pekal",
	3241781,
	nil,
	"Latn",
}

m["pem"] = {
	"Phende",
	7162372,
	"bnt-pen",
	"Latn",
}

m["peo"] = {
	"Old Persian",
	35225,
	"ira-swi",
	"Xpeo, Latinx",
	translit = "peo-translit",
}

m["pep"] = {
	"Kunja",
	6444807,
	nil,
	"Latn",
}

m["peq"] = {
	"Southern Pomo",
	3396023,
	"nai-pom",
	"Latn",
}

-- "pes" IS TREATED AS "fa" (or as etymology-only), SEE WT:LT

m["pev"] = {
	"Pémono",
	3439012,
	"sai-map",
	"Latn",
}

m["pex"] = {
	"Petats",
	3376353,
	"poz-ocw",
	"Latn",
}

m["pey"] = {
	"Petjo",
	940486,
	nil,
	"Latn",
}


m["pez"] = {
	"Eastern Penan",
	18638342,
	"poz-swa",
	"Latn",
}

m["pfa"] = {
	"Pááfang",
	3063517,
	"poz-mic",
	"Latn",
}

m["pfe"] = {
	"Peere",
	36377,
	"alv-dur",
	"Latn",
}

m["pga"] = {
	"Juba Arabic",
	1262143,
	"crp",
	"Latn",
	ancestors = "apd",
}

m["pgd"] = {
	"Gandhari",
	nil,
	"inc-mid",
	"Deva, Khar",
	ancestors = "inc-ash",
	translit = "Khar-translit",
}

m["pgg"] = {
	"Pangwali",
	13600429,
	"him",
	"Deva, Takr",
	translit = "hi-translit",
}

m["pgi"] = {
	"Pagi",
	7124354,
	"paa-brd",
	"Latn",
}

m["pgk"] = {
	"Rerep",
	586907,
	"poz-vnc",
	"Latn",
}

m["pgl"] = {
	"Primitive Irish",
	3320030,
	"cel-gae",
	"Ogam",
	translit = "pgl-translit",
}

m["pgn"] = {
	"Paelignian",
	nil,
	"itc-sbl",
	"Latn",
}

m["pgs"] = {
	"Pangseng",
	3914027,
	"alv-mum",
	"Latn",
}

m["pgu"] = {
	"Pagu",
	7124462,
	"paa-nha",
	"Latn",
}

m["pgz"] = {
	"Papua New Guinean Sign Language",
	25044405,
	"sgn",
}

m["pha"] = {
	"Pa-Hng",
	2625410,
	"hmn",
}

m["phd"] = {
	"Phudagi",
	7188289,
}

m["phg"] = {
	"Phuong",
	7188376,
	"mkh-kat",
}

m["phh"] = {
	"Phukha",
	7188298,
	"tbq-lol",
}

m["phk"] = {
	"Phake",
	7675798,
	"tai-swe",
	"Mymr",
	translit = "aio-phk-translit",
	entry_name = {remove_diacritics = c.VS01},
}

m["phl"] = {
	"Phalura",
	2449549,
	"inc-dar",
	"Latn, ur-Arab",
}

m["phm"] = {
	"Phimbi",
	11007144,
	"bnt-sna",
	"Latn",
}

m["phn"] = {
	"Phoenician",
	36734,
	"sem-can",
	"Phnx",
	translit = "Phnx-translit",
}

m["pho"] = {
	"Phunoi",
	7188361,
	"tbq-lol",
}

m["phq"] = {
	"Phana'",
	7180427,
	"tbq-lol",
}

m["phr"] = {
	"Pahari-Potwari",
	33739,
	"inc-pan",
	"pa-Arab, Guru",
	ancestors = "lah",
	translit = {
		Guru = "Guru-translit",
		["pa-Arab"] = "pa-Arab-translit",
	},
	entry_name = {
		["pa-Arab"] = {
			remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.nunghunna,
			from = {"ݨ", "ࣇ"},
			to = {"ن", "ل"}
		},
	}
}

m["pht"] = {
	"Phu Thai",
	3626597,
	"tai-swe",
}

m["phu"] = {
	"Phuan",
	3915665,
}

m["phv"] = {
	"Pahlavani",
	7124567,
}

m["phw"] = {
	"Phangduwali",
	12953036,
	"sit-kie",
	ancestors = "ybh",
}

m["pia"] = {
	"Pima Bajo",
	3388544,
	"azc",
	"Latn",
}

m["pib"] = {
	"Yine",
	3135432,
	"awd",
	"Latn",
}

m["pic"] = {
	"Pinji",
	36296,
	"bnt-tso",
	"Latn",
}

m["pid"] = {
	"Piaroa",
	3382207,
	nil,
	"Latn",
}

m["pie"] = {
	"Piro",
	7198055,
	"nai-kta",
	"Latn",
}

m["pif"] = {
	"Pingelapese",
	36421,
	"poz-mic",
	"Latn",
}

m["pig"] = {
	"Pisabo",
	966883,
	"sai-pan",
	"Latn",
}

m["pih"] = {
	"Pitcairn-Norfolk",
	36554,
	"crp",
	"Latn",
	ancestors = "en",
}

m["pii"] = {
	"Pini",
	10631925,
}

m["pij"] = {
	"Pijao",
	7193519,
}

m["pil"] = {
	"Yom",
	36893,
	"nic-yon",
}

m["pim"] = {
	"Powhatan",
	2270532,
	"alg-eas",
	"Latn",
}

m["pin"] = {
	"Piame",
	7190042,
}

m["pio"] = {
	"Piapoco",
	3382208,
	"awd-nwk",
	"Latn",
}

m["pip"] = {
	"Pero",
	2411063,
	"cdc-wst",
}

m["pir"] = {
	"Piratapuyo",
	3389119,
	"sai-tuc",
	"Latn",
}

m["pis"] = {
	"Pijin",
	36699,
	"crp",
	"Latn",
	ancestors = "en",
}

m["pit"] = {
	"Pitta-Pitta",
	6433116,
	"aus-kar",
	"Latn",
}

m["piu"] = {
	"Pintupi-Luritja",
	2591175,
	"aus-pam",
}

m["piv"] = {
	"Pileni",
	2976736,
	"poz-pnp",
	"Latn",
}

m["piw"] = {
	"Pimbwe",
	3894132,
	"bnt-mwi",
}

m["pix"] = {
	"Piu",
	7199578,
}

m["piy"] = {
	"Piya-Kwonci",
	3440492,
}

m["piz"] = {
	"Pije",
	3388339,
	"poz-cln",
	"Latn",
}

m["pjt"] = {
	"Pitjantjatjara",
	2982063,
	"aus-pam",
	"pjt-Latn",
}

m["pka"] = {
	"Ardhamagadhi Prakrit",
	2652214,
	"inc-mid",
	"Brah, Deva",
	translit = "Brah-translit",
	ancestors = "inc-pra",
}

m["pkb"] = {
	"Kipfokomo",
	7208693,
	"bnt-sab",
	"Latn",
}

m["pkc"] = {
	"Baekje",
	4841264,
	"qfa-kor",
	"Hani, Kana",
	sort_key = {Hani = "Hani-sortkey"},
}

m["pkg"] = {
	"Pak-Tong",
	3360711,
}

m["pkh"] = {
	"Pankhu",
	7130962,
	"tbq-kuk",
}

m["pkn"] = {
	"Pakanha",
	954916,
	"aus-pmn",
}

m["pko"] = {
	"Pökoot",
	36323,
	"sdv-kln",
}

m["pkp"] = {
	"Pukapukan",
	36447,
	"poz-pnp",
	"Latn",
}

m["pkr"] = {
	"Attapady Kurumba",
	16835180,
	"dra",
}

m["pks"] = {
	"Pakistan Sign Language",
	22964057,
	"sgn",
}

m["pkt"] = {
	"Maleng",
	6583562,
	"mkh-vie",
}

m["pku"] = {
	"Paku",
	2932604,
}

m["pla"] = {
	"Miani",
	12952844,
	nil,
	"Latn",
}

m["plb"] = {
	"Polonombauk",
	7225957,
	"poz-vnc",
	"Latn",
}

m["plc"] = {
	"Central Palawano",
	12953795,
	"phi",
	"Latn",
}

m["ple"] = {
	"Palu'e",
	2196866,
	"poz-cet",
	"Latn",
}

m["plg"] = {
	"Pilagá",
	2748259,
	"sai-guc",
	"Latn",
}

m["plh"] = {
	"Paulohi",
	7155331,
	"poz-cma",
}

m["plj"] = {
	"Polci",
	3914383,
}

m["plk"] = {
	"Kohistani Shina",
	12953882,
	"inc-dar",
}

m["pll"] = {
	"Shwe Palaung",
	27941664,
	"mkh-pal",
}

m["pln"] = {
	"Palenquero",
	36665,
	"crp",
	"Latn",
	ancestors = "es",
}

m["plo"] = {
	"Oluta Popoluca",
	5908687,
	"nai-miz",
	"Latn",
}

m["plq"] = {
	"Palaic",
	36582,
	"ine-ana",
	"Xsux",
}

m["plr"] = {
	"Palaka Senoufo",
	36346,
	"alv-snf",
	"Latn",
}

m["pls"] = {
	"San Marcos Tlalcoyalco Popoloca",
	12641692,
	"omq-pop",
	"Latn",
}

m["plu"] = {
	"Palikur",
	3073448,
	"awd",
	"Latn",
}

m["plv"] = {
	"Southwest Palawano",
	15614922,
	"phi",
	"Latn",
}

m["plw"] = {
	"Brooke's Point Palawano",
	12953796,
	"phi",
	"Latn",
}

m["ply"] = {
	"Bolyu",
	3361723,
	"mkh-pkn",
	"Latn",
}

m["plz"] = {
	"Paluan",
	7128795,
	nil,
	"Latn",
}

m["pma"] = {
	"Paama",
	3130286,
	"poz-vnc",
	"Latn",
}

m["pmb"] = {
	"Pambia",
	36267,
	"znd",
	"Latn",
}

m["pmd"] = {
	"Pallanganmiddang",
	7127734,
	"aus-pam",
	"Latn",
}

m["pme"] = {
	"Pwaamei",
	3411152,
	"poz-cln",
	"Latn",
}

m["pmf"] = {
	"Pamona",
	3513320,
	"poz-kal",
	"Latn",
}

m["pmh"] = {
	"Maharastri Prakrit",
	2586773,
	"inc-mid",
	"Brah, Deva",
	ancestors = "inc-pra",
	translit = "Brah-translit",
}

m["pmi"] = {
	"Northern Pumi",
	3403245,
	"sit-qia",
}

m["pmj"] = {
	"Southern Pumi",
	3403246,
	"sit-qia",
}

m["pmk"] = {
	"Pamlico",
	nil,
	"alg-eas",
	"Latn",
}

m["pml"] = {
	"Sabir",
	636479,
	"crp",
	"Latn",
	ancestors = "lij, pro, vec",
}

m["pmm"] = {
	"Pol",
	36408,
	"bnt-kak",
	"Latn",
}

m["pmn"] = {
	"Pam",
	7129017,
	"alv-mbm",
}

m["pmo"] = {
	"Pom",
	7227178,
	"poz-hce",
	"Latn",
}

m["pmq"] = {
	"Northern Pame",
	3361762,
	"omq",
	"Latn",
}

m["pmr"] = {
	"Paynamar",
	3450824,
}

m["pms"] = {
	"Piedmontese",
	15085,
	"roa-git",
	"Latn",
}

m["pmt"] = {
	"Tuamotuan",
	36763,
	"poz-pep",
	"Latn",
}

m["pmu"] = {
	"Mirpur Panjabi",
	6874480,
}

m["pmw"] = {
	"Plains Miwok",
	3391031,
	"nai-you",
	"Latn",
}

m["pmx"] = {
	"Poumei Naga",
	12952910,
	"tbq-anp",
}

m["pmy"] = {
	"Papuan Malay",
	12473446,
	nil,
	"Latn",
}

m["pmz"] = {
	"Southern Pame",
	3361765,
	"omq",
	"Latn",
}

m["pna"] = {
	"Punan Bah-Biau",
	4842201,
}

m["pnb"] = {
	"Western Panjabi",
	58635,
	"inc-pan",
	"pa-Arab",
	ancestors = "pa",
}

m["pnc"] = {
	"Pannei",
	7131391,
}

m["pnd"] = {
	"Mpinda",
	63308194,
	"bnt-kmb",
}

m["pne"] = {
	"Western Penan",
	12953808,
	"poz-swa",
	"Latn",
}

m["png"] = {
	"Pongu",
	36282,
	"nic-shi",
}

m["pnh"] = {
	"Penrhyn",
	3130301,
	"poz-pep",
	"Latn",
}

m["pni"] = {
	"Aoheng",
	4778608,
	"poz",
}

m["pnj"] = {
	"Pinjarup",
	33103591,
}

m["pnk"] = {
	"Paunaca",
	2064378,
	"awd",
	"Latn",
}

m["pnl"] = {
	"Paleni",
	7127118,
	"alv-wan",
	"Latn",
}

m["pnm"] = {
	"Punan Batu",
	7259892,
}

m["pnn"] = {
	"Pinai-Hagahai",
	5638511,
}

m["pno"] = {
	"Panobo",
	3141869,
	"sai-pan",
	"Latn",
}

m["pnp"] = {
	"Pancana",
	7130204,
}

m["pnq"] = {
	"Pana (West Africa)",
	7129739,
	"nic-gnn",
	"Latn",
}

m["pnr"] = {
	"Panim",
	11732562,
	"ngf-mad",
}

m["pns"] = {
	"Ponosakan",
	7227956,
	"phi",
}

m["pnt"] = {
	"Pontic Greek",
	36748,
	"grk",
	"Grek, Latn, Cyrl",
	ancestors = "gkm",
	translit = "el-translit",
	entry_name = {remove_diacritics = c.caron .. c.diaerbelow .. c.brevebelow},
	sort_key = s["Grek-sortkey"],
}

m["pnu"] = {
	"Jiongnai Bunu",
	56325,
	"hmn",
}

m["pnv"] = {
	"Pinigura",
	10631927,
	"aus-psw",
	"Latn",
}

m["pnw"] = {
	"Panyjima",
	3913830,
	"aus-nga",
	"Latn",
}

m["pnx"] = {
	"Phong-Kniang",
	3914627,
	"mkh",
}

m["pny"] = {
	"Pinyin",
	36250,
	"nic-nge",
	"Latn",
}

m["pnz"] = {
	"Pana (Central Africa)",
	36241,
	"alv-mbm",
	"Latn",
}

m["poc"] = {
	"Poqomam",
	36416,
	"myn",
	"Latn",
}

m["poe"] = {
	"San Juan Atzingo Popoloca",
	12953819,
	"omq-pop",
	"Latn",
}

m["pof"] = {
	"Poke",
	7208577,
	"bnt-ske",
}

m["pog"] = {
	"Potiguára",
	56722,
	"tup-gua",
	"Latn",
}

m["poh"] = {
	"Poqomchi'",
	36414,
	"myn",
	"Latn",
}

m["poi"] = {
	"Highland Popoluca",
	7511556,
	"nai-miz",
	"Latn",
}

m["pok"] = {
	"Pokangá",
	25559704,
	"sai-tuc",
	"Latn",
}

m["pom"] = {
	"Southeastern Pomo",
	3396025,
	"nai-pom",
	"Latn",
}

m["pon"] = {
	"Pohnpeian",
	28422,
	"poz-mic",
	"Latn",
}

m["poo"] = {
	"Central Pomo",
	3396020,
	"nai-pom",
	"Latn",
}

m["pop"] = {
	"Pwapwa",
	3411153,
	"poz-cln",
	"Latn",
}

m["poq"] = {
	"Texistepec Popoluca",
	5908707,
	"nai-miz",
	"Latn",
}

m["pos"] = {
	"Sayula Popoluca",
	5908722,
	"nai-miz",
	"Latn",
}

m["pot"] = {
	"Potawatomi",
	56749,
	"alg",
	"Latn",
}

m["pov"] = {
	"Guinea-Bissau Creole",
	33339,
	"crp",
	"Latn",
	ancestors = "pt",
}

m["pow"] = {
	"San Felipe Otlaltepec Popoloca",
	25559598,
	"omq-pop",
	"Latn",
}

m["pox"] = {
	"Polabian",
	36741,
	"zlw-lch",
	"Latn",
}

m["poy"] = {
	"Pogolo",
	2429648,
	"bnt-kil",
}

m["ppa"] = {
	"Pao",
	7132069,
}

m["ppe"] = {
	"Papi",
	7132809,
}

m["ppi"] = {
	"Paipai",
	56726,
	"nai-yuc",
	"Latn",
}

m["ppk"] = {
	"Uma",
	7881036,
	"poz-kal",
	"Latn",
}

m["ppl"] = {
	"Pipil",
	1186896,
	"azc-nah",
	"Latn",
	entry_name = {remove_diacritics = c.acute .. c.macron},
}

m["ppm"] = {
	"Papuma",
	7133239,
	"poz-hce",
	"Latn",
}

m["ppn"] = {
	"Papapana",
	3362757,
	"poz-ocw",
	"Latn",
}

m["ppo"] = {
	"Folopa",
	5464843,
	"paa",
	"Latn",
}

m["ppq"] = {
	"Pei",
	7160903,
}

m["pps"] = {
	"San Luís Temalacayuca Popoloca",
	25559602,
	"omq-pop",
	"Latn",
}

m["ppt"] = {
	"Pa",
	3504757,
	"ngf",
	"Latn",
}

m["ppu"] = {
	"Papora",
	2094884,
	"map",
	"Latn",
}

m["pqa"] = {
	"Pa'a",
	3441315,
	"cdc-wst",
}

m["pqm"] = {
	"Malecite-Passamaquoddy",
	3183144,
	"alg-eas",
	"Latn",
}

m["prc"] = {
	"Parachi",
	2640637,
	"ira-orp",
}

-- "prd" IS NOT INCLUDED, SEE WT:LT

m["pre"] = {
	"Principense",
	36520,
	"crp",
	"Latn",
	ancestors = "pt",
}

m["prf"] = {
	"Paranan",
	7135433,
	"phi",
}

m["prg"] = {
	"Old Prussian",
	35501,
	"bat",
	"Latn",
}

m["prh"] = {
	"Porohanon",
	6583710,
	"phi",
}

m["pri"] = {
	"Paicî",
	732131,
	"poz-cln",
	"Latn",
}

m["prk"] = {
	"Parauk",
	3363719,
	"mkh-pal",
}

m["prl"] = {
	"Peruvian Sign Language",
	3915508,
	"sgn",
}

m["prm"] = {
	"Kibiri",
	56745,
	"paa",
}

m["prn"] = {
	"Prasuni",
	32689,
	"nur-nor",
}

m["pro"] = {
	"Old Occitan",
	2779185,
	"roa-ocr",
	"Latn",
	sort_key = {remove_diacritics = c.cedilla},
}

-- "prp" IS NOT INCLUDED, SEE WT:LT

m["prq"] = {
	"Ashéninka Perené",
	3450601,
	"awd",
	"Latn",
}

m["prr"] = {
	"Puri",
	7261687,
}

-- "prs" IS TREATED AS "fa" (or as etymology-only), SEE WT:LT

m["prt"] = {
	"Phai",
	7180184,
	"mkh",
}

m["pru"] = {
	"Puragi",
	7260800,
	"ngf-sbh",
}

m["prw"] = {
	"Parawen",
	7136291,
	"ngf-mad",
}

m["prx"] = {
	"Purik",
	567905,
	"sit-lab",
}

m["prz"] = {
	"Providencia Sign Language",
	3322084,
	"sgn",
}

m["psa"] = {
	"Asue Awyu",
	11266334,
}

m["psc"] = {
	"Persian Sign Language",
	7170221,
	"sgn",
}

m["psd"] = {
	"Plains Indian Sign Language",
	2380124,
	"sgn",
}

m["pse"] = {
	"Central Malay",
	3367751,
	"poz-mly",
}

m["psg"] = {
	"Penang Sign Language",
	4924925,
	"sgn",
}

m["psh"] = {
	"Southwest Pashayi",
	16112270,
	"inc-dar",
}

m["psi"] = {
	"Southeast Pashayi",
	23713536,
	"inc-dar",
	"Arab",
}

m["psl"] = {
	"Puerto Rican Sign Language",
	7258608,
	"sgn-fsl",
}

m["psm"] = {
	"Pauserna",
	2912846,
	"tup-gua",
	"Latn",
}

m["psn"] = {
	"Panasuan",
	7130113,
	"poz",
}

m["pso"] = {
	"Polish Sign Language",
	3915194,
	"sgn-gsl",
}

m["psp"] = {
	"Philippine Sign Language",
	3551357,
	"sgn-fsl",
}

m["psq"] = {
	"Pasi",
	7142091,
}

m["psr"] = {
	"Portuguese Sign Language",
	3915472,
	"sgn",
}

m["pss"] = {
	"Kaulong",
	3194294,
	"poz-ocw",
}

m["psu"] = {
	"Sauraseni Prakrit",
	2452885,
	"inc-psu",
	"Brah, Deva",
	translit = "Brah-translit",
	ancestors = "inc-pra",
}

m["psw"] = {
	"Port Sandwich",
	3398324,
	"poz-vnc",
	"Latn",
}

m["psy"] = {
	"Piscataway",
	3504233,
	"alg-eas",
}

m["pta"] = {
	"Pai Tavytera",
	7124619,
	"tup-gua",
	"Latn",
}

m["pth"] = {
	"Pataxó Hã-Ha-Hãe",
	7144304,
}

m["pti"] = {
	"Pintiini",
	10632026,
	"aus-pam",
}

m["ptn"] = {
	"Patani",
	7144242,
	"poz-hce",
	"Latn",
}

m["pto"] = {
	"Zo'é",
	8073148,
	"tup-gua",
	"Latn",
}

m["ptp"] = {
	"Patep",
	3368679,
	"poz-ocw",
	"Latn",
}

m["ptq"] = {
	"Pattapu",
	nil,
	"dra",
}

m["ptr"] = {
	"Piamatsina",
	7190040,
	"poz-vnc",
	"Latn",
}

m["ptt"] = {
	"Enrekang",
	12953520,
}

m["ptu"] = {
	"Bambam",
	4853321,
	"poz-ssw",
}

m["ptv"] = {
	"Port Vato",
	3398323,
	nil,
	"Latn",
}

m["ptw"] = {
	"Pentlatch",
	2069475,
}

m["pty"] = {
	"Pathiya",
	7144790,
	"dra",
}

m["pua"] = {
	"Purepecha",
	16114351,
	"qfa-iso",
	"Latn",
	sort_key = {remove_diacritics = c.acute},
}

m["pub"] = {
	"Purum",
	6400562,
	"tbq-kuk",
	"Latn",
}

m["puc"] = {
	"Punan Merap",
	7259895,
}

m["pud"] = {
	"Punan Aput",
	4782333,
}

m["pue"] = {
	"Puelche",
	33660,
}

m["puf"] = {
	"Punan Merah",
	7259894,
}

m["pug"] = {
	"Phuie",
	36375,
	"nic-gnw",
}

m["pui"] = {
	"Puinave",
	3027918,
}

m["puj"] = {
	"Punan Tubu",
	7259896,
	"poz-swa",
}

m["pum"] = {
	"Puma",
	33736,
	"sit-kic",
}

m["puo"] = {
	"Puoc",
	6440803,
	"mkh",
}

m["pup"] = {
	"Pulabu",
	7259163,
	"ngf-mad",
}

m["puq"] = {
	"Puquina",
	1207739,
}

m["pur"] = {
	"Puruborá",
	7261619,
	"tup",
}

m["put"] = {
	"Putoh",
	12953832,
	"poz-swa",
	"Latn",
}

m["puu"] = {
	"Punu",
	36401,
	"bnt-sir",
	"Latn",
}

m["puw"] = {
	"Puluwat",
	36397,
	"poz-mic",
	"Latn",
}

m["pux"] = {
	"Puare",
	3507983,
}

m["puy"] = {
	"Purisimeño",
	2967638,
	"nai-chu",
	"Latn",
}

m["pwa"] = {
	"Pawaia",
	7156099,
	"paa",
	"Latn",
}

m["pwb"] = {
	"Panawa",
	47385077,
	"nic-jer",
	"Latn",
	ancestors = "jer",
}

m["pwg"] = {
	"Gapapaiwa",
	3095245,
	"poz-ocw",
	"Latn",
}

m["pwi"] = {
	"Patwin",
	3370188,
	"nai-wtq",
	"Latn",
}

m["pwm"] = {
	"Molbog",
	6895718,
	"poz-san",
	"Latn",
}

m["pwn"] = {
	"Paiwan",
	715755,
	"map",
	"Latn",
}

m["pwo"] = {
	"Western Pwo",
	7988202,
	"kar",
	"Mymr",
}

m["pwr"] = {
	"Powari",
	12640277,
	"inc-hie",
	"Deva",
}

m["pww"] = {
	"Northern Pwo",
	7058885,
	"kar",
	"Thai",
}

m["pxm"] = {
	"Quetzaltepec Mixe",
	6842374,
	"nai-miz",
	"Latn",
}

m["pye"] = {
	"Pye Krumen",
	11157382,
	"kro-grb",
}

m["pym"] = {
	"Fyam",
	3914025,
	"nic-ple",
	"Latn",
}

m["pyn"] = {
	"Poyanáwa",
	3401023,
	"sai-pan",
}

m["pys"] = {
	"Paraguayan Sign Language",
	7134698,
	"sgn",
}

m["pyu"] = {
	"Puyuma",
	716690,
	"map",
	"Latn",
}

m["pyx"] = {
	"Tircul",
	36259,
	"sit",
}

m["pyy"] = {
	"Pyen",
	7262966,
	"tbq-lol",
}

m["pzh"] = {
	"Pazeh",
	36435,
	"map",
	"Latn",
}

m["pzn"] = {
	"Para Naga",
	7133667,
	"sit-aao",
}

return require("Module:languages").addDefaultTypes(m, true)