<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tes5.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3ACategory_tree%2Ftopic_cat%2Fdata%2FPlaces</id>
	<title>Module:Category tree/topic cat/data/Places - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tes5.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3ACategory_tree%2Ftopic_cat%2Fdata%2FPlaces"/>
	<link rel="alternate" type="text/html" href="https://tes5.st34an.tech/index.php?title=Module:Category_tree/topic_cat/data/Places&amp;action=history"/>
	<updated>2026-04-17T20:02:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://tes5.st34an.tech/index.php?title=Module:Category_tree/topic_cat/data/Places&amp;diff=917&amp;oldid=prev</id>
		<title>Jsrs701: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://tes5.st34an.tech/index.php?title=Module:Category_tree/topic_cat/data/Places&amp;diff=917&amp;oldid=prev"/>
		<updated>2026-04-15T08:10:43Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:10, 15 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawikidb:diff:1.41:old-916:rev-917 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jsrs701</name></author>
	</entry>
	<entry>
		<id>https://tes5.st34an.tech/index.php?title=Module:Category_tree/topic_cat/data/Places&amp;diff=916&amp;oldid=prev</id>
		<title>Bob&gt;Juelos: Text replacement - &quot;(\[\[)([^#][^:\]\[\|]*?)(\]\])&quot; to &quot;\1Wiktionary:\2|\2\3&quot;</title>
		<link rel="alternate" type="text/html" href="https://tes5.st34an.tech/index.php?title=Module:Category_tree/topic_cat/data/Places&amp;diff=916&amp;oldid=prev"/>
		<updated>2024-08-31T19:58:30Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;(\[\[)([^#][^:\]\[\|]*?)(\]\])&amp;quot; to &amp;quot;\1Wiktionary:\2|\2\3&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local labels = {}&lt;br /&gt;
local handlers = {}&lt;br /&gt;
&lt;br /&gt;
local m_shared = require(&amp;quot;Module:place/shared-data&amp;quot;)&lt;br /&gt;
local m_strutils = require(&amp;quot;Module:string utilities&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
--[=[&lt;br /&gt;
&lt;br /&gt;
This module contains specifications that are used to create labels that allow {{auto cat}} and&lt;br /&gt;
{{topic cat}} to create the appropriate definitions for topic categories for places (e.g.&lt;br /&gt;
&amp;#039;en:Waterfalls&amp;#039;, &amp;#039;de:Hokkaido&amp;#039;, &amp;#039;es:Cities in France&amp;#039;, &amp;#039;pt:Municipalities of Tocantins, Brazil&amp;#039;,&lt;br /&gt;
etc.). Note that this module doesn&amp;#039;t actually create the categories; that must be done manually,&lt;br /&gt;
with the text &amp;quot;{{auto cat}}&amp;quot; as the definition of the category. (This process should automatically&lt;br /&gt;
happen periodically for non-empty categories, because they will appear in [[Special:WantedCategories]]&lt;br /&gt;
and a bot will periodically examine that list and create any needed category.)&lt;br /&gt;
&lt;br /&gt;
There are two ways that such labels are created: (1) by manually adding an entry to the &amp;#039;labels&amp;#039;&lt;br /&gt;
table, keyed by the label (minus the language code) with a value consisting of a Lua table&lt;br /&gt;
specifying the description text and the category&amp;#039;s parents; (2) through handlers (pieces of&lt;br /&gt;
Lua code) added to the &amp;#039;handlers&amp;#039; list, which recognize labels of a specific type (e.g.&lt;br /&gt;
&amp;#039;Cities in France&amp;#039;) and generate the appropriate specification for that label on-the-fly.&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function lcfirst(label)&lt;br /&gt;
	return mw.getContentLanguage():lcfirst(label)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;places&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names for geographical [[Wiktionary:place|place]]s; [[Wiktionary:toponym|toponym]]s.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;names&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- general labels&lt;br /&gt;
&lt;br /&gt;
-- Each entry is {LABEL, DESCRIPTION, PARENTS}.&lt;br /&gt;
local general_labels = {&lt;br /&gt;
	{&amp;quot;airports&amp;quot;, &amp;quot;[[Wiktionary:airport|airport]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;atolls&amp;quot;, &amp;quot;[[Wiktionary:atoll|atoll]]s&amp;quot;, {&amp;quot;islands&amp;quot;}},&lt;br /&gt;
	{&amp;quot;bays&amp;quot;, &amp;quot;[[Wiktionary:bay|bay]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;beaches&amp;quot;, &amp;quot;[[Wiktionary:beach|beach]]es&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;boroughs&amp;quot;, &amp;quot;[[Wiktionary:borough|borough]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;capital cities&amp;quot;, &amp;quot;[[Wiktionary:capital|capital]] [[Wiktionary:city|cities]]: the [[Wiktionary:seat of government|seats of government]] for a country&amp;quot;, {&amp;quot;cities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;census-designated places&amp;quot;, &amp;quot;[[Wiktionary:census-designated place|census-designated place]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;cities&amp;quot;, &amp;quot;[[Wiktionary:city|cities]], [[Wiktionary:town|town]]s and [[Wiktionary:village|village]]s of all sizes&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;communities&amp;quot;, &amp;quot;[[Wiktionary:community|communities]] of all sizes&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;continents&amp;quot;, &amp;quot;the [[Wiktionary:continents|continents]] of the world&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;countries&amp;quot;, &amp;quot;[[Wiktionary:country|countries]]&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;dependencies&amp;quot;, &amp;quot;[[Wiktionary:dependency|dependencies]]&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;deserts&amp;quot;, &amp;quot;[[Wiktionary:desert|desert]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;forests&amp;quot;, &amp;quot;[[Wiktionary:forest|forest]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;gulfs&amp;quot;, &amp;quot;[[Wiktionary:gulf|gulf]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;headlands&amp;quot;, &amp;quot;[[Wiktionary:headland|headland]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;historical and traditional regions&amp;quot;, &amp;quot;regions that have no administrative significance&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;historical political subdivisions&amp;quot;, &amp;quot;[[Wiktionary:political|political]] [[Wiktionary:subdivision|subdivision]]s (states, provinces, counties, etc.) that no longer exist&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;historical polities&amp;quot;, &amp;quot;[[Wiktionary:polity|polities]] (countries, kingdoms, empires, etc.) that no longer exist&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;hills&amp;quot;, &amp;quot;[[Wiktionary:hill|hill]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;islands&amp;quot;, &amp;quot;[[Wiktionary:island|island]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;kibbutzim&amp;quot;, &amp;quot;[[Wiktionary:kibbutz|kibbutz]]im&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;lakes&amp;quot;, &amp;quot;[[Wiktionary:lake|lake]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;landforms&amp;quot;, &amp;quot;[[Wiktionary:landform|landform]]s&amp;quot;, {&amp;quot;Earth&amp;quot;}},&lt;br /&gt;
	{&amp;quot;mountains&amp;quot;, &amp;quot;[[Wiktionary:mountain|mountain]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;moors&amp;quot;, &amp;quot;[[Wiktionary:moor|moor]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;neighborhoods&amp;quot;, &amp;quot;[[Wiktionary:neighborhood|neighborhood]]s, [[Wiktionary:district|district]]s and other subportions of a [[Wiktionary:city|city]]&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	-- FIXME, is the following parent correct?&lt;br /&gt;
	{&amp;quot;oceans&amp;quot;, &amp;quot;[[Wiktionary:ocean|ocean]]s&amp;quot;, {&amp;quot;Seas&amp;quot;}},&lt;br /&gt;
	{&amp;quot;parks&amp;quot;, &amp;quot;[[Wiktionary:park|park]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;peninsulas&amp;quot;, &amp;quot;[[Wiktionary:peninsula|peninsula]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;plateaus&amp;quot;, &amp;quot;[[Wiktionary:plateau|plateau]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;political subdivisions&amp;quot;, &amp;quot;[[Wiktionary:political|political]] [[Wiktionary:subdivision|subdivision]]s, such as [[Wiktionary:province|province]]s, [[Wiktionary:state|state]]s or [[Wiktionary:region|region]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;polities&amp;quot;, &amp;quot;[[Wiktionary:polity|polities]] or [[Wiktionary:political|political]] [[Wiktionary:division|division]]s&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;provinces&amp;quot;, &amp;quot;[[Wiktionary:province|province]]s&amp;quot;, {&amp;quot;political subdivisions&amp;quot;}},&lt;br /&gt;
	{&amp;quot;rivers&amp;quot;, &amp;quot;[[Wiktionary:river|river]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;rural municipalities&amp;quot;, &amp;quot;[[Wikipedia:rural municipality|rural municipalities]]&amp;quot;, {&amp;quot;political subdivisions&amp;quot;}},&lt;br /&gt;
	{&amp;quot;seas&amp;quot;, &amp;quot;[[Wiktionary:sea|sea]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;straits&amp;quot;, &amp;quot;[[Wiktionary:strait|strait]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;subdistricts&amp;quot;, &amp;quot;[[Wiktionary:subdistrict|subdistrict]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;suburbs&amp;quot;, &amp;quot;[[Wiktionary:suburb|suburb]]s of a [[Wiktionary:city|city]]&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;towns&amp;quot;, &amp;quot;[[Wiktionary:town|town]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;townships&amp;quot;, &amp;quot;[[Wiktionary:township|township]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;unincorporated communities&amp;quot;, &amp;quot;[[Wiktionary:unincorporated|unincorporated]] [[Wiktionary:community|communities]]&amp;quot;, {&amp;quot;places&amp;quot;}},&lt;br /&gt;
	{&amp;quot;valleys&amp;quot;, &amp;quot;[[Wiktionary:valley|valley]]s&amp;quot;, {&amp;quot;places&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
	{&amp;quot;villages&amp;quot;, &amp;quot;[[Wiktionary:village|village]]s&amp;quot;, {&amp;quot;polities&amp;quot;}},&lt;br /&gt;
	{&amp;quot;waterfalls&amp;quot;, &amp;quot;[[Wiktionary:waterfall|waterfall]]s&amp;quot;, {&amp;quot;landforms&amp;quot;, &amp;quot;water&amp;quot;}},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
for _, label_spec in ipairs(general_labels) do&lt;br /&gt;
	local label, desc, parents = unpack(label_spec)&lt;br /&gt;
	table.insert(parents, &amp;quot;list of sets&amp;quot;)&lt;br /&gt;
	labels[label] = {&lt;br /&gt;
		description = &amp;quot;{{{langname}}} names of &amp;quot; .. desc .. &amp;quot;.&amp;quot;,&lt;br /&gt;
		parents = parents,&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;city nicknames&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} informal alternative names for [[Wiktionary:city|cities]] (e.g., [[Wiktionary:Big Apple|Big Apple]] for [[Wiktionary:New York City|New York City]]).&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;cities&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;exonyms&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} [[Wiktionary:exonym|exonym]]s.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;places&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Generate bare labels in &amp;#039;label&amp;#039; for all polities.&lt;br /&gt;
for _, group in ipairs(m_shared.polities) do&lt;br /&gt;
	for key, value in pairs(group.data) do&lt;br /&gt;
		group.bare_label_setter(labels, group, key, value)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;cities in the Bahamas&amp;quot;, &amp;quot;rivers in Western Australia&amp;quot;, etc.&lt;br /&gt;
-- Places that begin with &amp;quot;the&amp;quot; are recognized and handled specially.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local place_type, place = label:match(&amp;quot;^([a-z%- ]-) in (.*)$&amp;quot;)&lt;br /&gt;
	if place_type and m_shared.generic_place_types[place_type] then&lt;br /&gt;
		for _, group in ipairs(m_shared.polities) do&lt;br /&gt;
			local placedata = group.data[place]&lt;br /&gt;
			if placedata then&lt;br /&gt;
				placedata = group.value_transformer(group, place, placedata)&lt;br /&gt;
				local spelling_matches = true&lt;br /&gt;
				if place_type == &amp;quot;neighborhoods&amp;quot; and placedata.british_spelling or&lt;br /&gt;
					place_type == &amp;quot;neighbourhoods&amp;quot; and not placedata.british_spelling then&lt;br /&gt;
					spelling_matches = false&lt;br /&gt;
				end&lt;br /&gt;
				if spelling_matches and not placedata.nocities then&lt;br /&gt;
					local parent&lt;br /&gt;
					if placedata.containing_polity then&lt;br /&gt;
						parent = place_type .. &amp;quot; in &amp;quot; .. placedata.containing_polity&lt;br /&gt;
					elseif place_type == &amp;quot;neighbourhoods&amp;quot; then&lt;br /&gt;
						parent = &amp;quot;neighborhoods&amp;quot;&lt;br /&gt;
					else&lt;br /&gt;
						parent = place_type&lt;br /&gt;
					end&lt;br /&gt;
					local bare_place, linked_place = m_shared.construct_bare_and_linked_version(place)&lt;br /&gt;
					local keydesc = placedata.keydesc or linked_place&lt;br /&gt;
					if place_type == &amp;quot;places&amp;quot; then&lt;br /&gt;
						parents1 = {{name = parent, sort = bare_place}, bare_place, &amp;quot;list of sets&amp;quot;}&lt;br /&gt;
					else&lt;br /&gt;
						parents1 = {{name = parent, sort = bare_place}, bare_place, &amp;quot;list of sets&amp;quot;, &amp;quot;places in &amp;quot; .. place}&lt;br /&gt;
					end&lt;br /&gt;
					return {&lt;br /&gt;
						description = &amp;quot;{{{langname}}} names of &amp;quot; .. m_shared.generic_place_types[place_type] .. &amp;quot; in &amp;quot; .. keydesc .. &amp;quot;.&amp;quot;,&lt;br /&gt;
						parents = parents1&lt;br /&gt;
					}&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;provinces of the Philippines&amp;quot;, &amp;quot;counties of Wales&amp;quot;, etc.&lt;br /&gt;
-- Places that begin with &amp;quot;the&amp;quot; are recognized and handled specially.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local place_type, place = label:match(&amp;quot;^([a-z%- ]-) of (.*)$&amp;quot;)&lt;br /&gt;
	if place then&lt;br /&gt;
		for _, group in ipairs(m_shared.polities) do&lt;br /&gt;
			local placedata = group.data[place]&lt;br /&gt;
			if placedata then&lt;br /&gt;
				placedata = group.value_transformer(group, place, placedata)&lt;br /&gt;
				local divcat = nil&lt;br /&gt;
				if placedata.poldiv then&lt;br /&gt;
					for _, div in ipairs(placedata.poldiv) do&lt;br /&gt;
						if place_type == div then&lt;br /&gt;
							divcat = &amp;quot;poldiv&amp;quot;&lt;br /&gt;
							break&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				if not divcat and placedata.miscdiv then&lt;br /&gt;
					for _, div in ipairs(placedata.miscdiv) do&lt;br /&gt;
						if place_type == div then&lt;br /&gt;
							divcat = &amp;quot;miscdiv&amp;quot;&lt;br /&gt;
							break&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				if divcat then&lt;br /&gt;
					local linkdiv = m_shared.political_subdivisions[place_type]&lt;br /&gt;
					if not linkdiv then&lt;br /&gt;
						error(&amp;quot;Saw unknown place type &amp;#039;&amp;quot; .. place_type .. &amp;quot;&amp;#039; in label &amp;#039;&amp;quot; .. label .. &amp;quot;&amp;#039;&amp;quot;)&lt;br /&gt;
					end&lt;br /&gt;
					local bare_place, linked_place = m_shared.construct_bare_and_linked_version(place)&lt;br /&gt;
					local keydesc = placedata.keydesc or linked_place&lt;br /&gt;
					local desc = &amp;quot;{{{langname}}} names of &amp;quot; .. linkdiv .. &amp;quot; of &amp;quot; .. keydesc .. &amp;quot;.&amp;quot;&lt;br /&gt;
					if divcat == &amp;quot;poldiv&amp;quot; then&lt;br /&gt;
						return {&lt;br /&gt;
							description = desc,&lt;br /&gt;
							parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = bare_place}, bare_place, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
						}&lt;br /&gt;
					else&lt;br /&gt;
						return {&lt;br /&gt;
							description = desc,&lt;br /&gt;
							parents = {bare_place, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
						}&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;counties of Alabama&amp;quot;, &amp;quot;parishes of Louisiana&amp;quot;, etc.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local county_type, state = label:match(&amp;quot;^([a-z ]-) of (.*)$&amp;quot;)&lt;br /&gt;
	if state then&lt;br /&gt;
		local state_desc = m_shared.us_states[state .. &amp;quot;, USA&amp;quot;]&lt;br /&gt;
		if state_desc then&lt;br /&gt;
			local expected_county_type = state_desc.county_type or &amp;quot;counties&amp;quot;&lt;br /&gt;
			local linked_county_type = m_shared.political_subdivisions[expected_county_type]&lt;br /&gt;
			if county_type == expected_county_type then&lt;br /&gt;
				return {&lt;br /&gt;
					description = &amp;quot;{{{langname}}} names of &amp;quot; .. linked_county_type .. &amp;quot; of [[Wiktionary:&amp;quot; .. state .. &amp;quot;|&amp;quot; .. state .. &amp;quot;]], a state of the [[Wiktionary:United States|United States]].&amp;quot;,&lt;br /&gt;
					parents = {{name = &amp;quot;counties of the United States&amp;quot;,&lt;br /&gt;
						sort = state}, state .. &amp;quot;, USA&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
				}&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;county seats of Alabama&amp;quot;, &amp;quot;parish seats of Louisiana&amp;quot;, etc.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local seat_type, state = label:match(&amp;quot;^([a-z ]-) of (.*)$&amp;quot;)&lt;br /&gt;
	if state then&lt;br /&gt;
		local state_desc = m_shared.us_states[state .. &amp;quot;, USA&amp;quot;]&lt;br /&gt;
		if state_desc then&lt;br /&gt;
			local expected_county_type = state_desc.county_type or &amp;quot;counties&amp;quot;&lt;br /&gt;
			local expected_seat_type = m_strutils.singularize(expected_county_type) .. &amp;quot; seats&amp;quot;&lt;br /&gt;
			local linked_seat_type = m_shared.political_subdivisions[expected_seat_type]&lt;br /&gt;
			if seat_type == expected_seat_type then&lt;br /&gt;
				return {&lt;br /&gt;
					description = &amp;quot;{{{langname}}} names of &amp;quot; .. linked_seat_type .. &amp;quot; of [[Wiktionary:&amp;quot; .. state .. &amp;quot;|&amp;quot; .. state .. &amp;quot;]], a state of the [[Wiktionary:United States|United States]].&amp;quot;,&lt;br /&gt;
					parents = {{name = &amp;quot;county seats of the United States&amp;quot;,&lt;br /&gt;
						sort = state}, state .. &amp;quot;, USA&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
				}&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;municipalities of Tocantins, Brazil&amp;quot;, etc.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local state = label:match(&amp;quot;^municipalities of (.*), Brazil$&amp;quot;)&lt;br /&gt;
	if state and m_shared.brazilian_states[state .. &amp;quot;, Brazil&amp;quot;] then&lt;br /&gt;
		return {&lt;br /&gt;
			description = &amp;quot;{{{langname}}} names of [[Wiktionary:municipality|municipalities]] of [[Wiktionary:&amp;quot; .. state .. &amp;quot;|&amp;quot; .. state .. &amp;quot;]], a state of [[Wiktionary:Brazil|Brazil]].&amp;quot;,&lt;br /&gt;
			parents = {{name = &amp;quot;municipalities of Brazil&amp;quot;, sort = state}, state .. &amp;quot;, Brazil&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;municipalities of Cebu, Philippines&amp;quot;, etc.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local province = label:match(&amp;quot;^municipalities of (.*), Philippines$&amp;quot;)&lt;br /&gt;
	if province and m_shared.philippine_provinces[province .. &amp;quot;, Philippines&amp;quot;] then&lt;br /&gt;
		return {&lt;br /&gt;
			description = &amp;quot;{{{langname}}} names of [[Wiktionary:municipality|municipalities]] of [[Wiktionary:&amp;quot; .. province .. &amp;quot;|&amp;quot; .. province .. &amp;quot;]], a province of the [[Wiktionary:Philippines|Philippines]].&amp;quot;,&lt;br /&gt;
			parents = {{name = &amp;quot;municipalities of the Philippines&amp;quot;, sort = province}, province .. &amp;quot;, Philippines&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;municipalities of Upper Austria&amp;quot; and other Austrian states.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local state = label:match(&amp;quot;^municipalities of (.*)$&amp;quot;)&lt;br /&gt;
	if state and m_shared.austrian_states[state] then&lt;br /&gt;
		return {&lt;br /&gt;
			description = &amp;quot;{{{langname}}} names of [[Wiktionary:municipality|municipalities]] of [[Wiktionary:&amp;quot; .. state .. &amp;quot;|&amp;quot; .. state .. &amp;quot;]], a state of [[Wiktionary:Austria|Austria]].&amp;quot;,&lt;br /&gt;
			parents = {{name = &amp;quot;municipalities of Austria&amp;quot;, sort = state}, state, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
-- Handler for &amp;quot;municipalities of Ostrobothnia, Finland&amp;quot;, etc.&lt;br /&gt;
table.insert(handlers, function(label)&lt;br /&gt;
	label = lcfirst(label)&lt;br /&gt;
	local region = label:match(&amp;quot;^municipalities of (.*), Finland$&amp;quot;)&lt;br /&gt;
	if region and m_shared.finnish_regions[region .. &amp;quot;, Finland&amp;quot;] then&lt;br /&gt;
		-- Need to construct bare and linked versions due to &amp;quot;the Åland Islands&amp;quot;.&lt;br /&gt;
		local bare_region, linked_region = m_shared.construct_bare_and_linked_version(region)&lt;br /&gt;
		return {&lt;br /&gt;
			description = &amp;quot;{{{langname}}} names of [[Wiktionary:municipality|municipalities]] of &amp;quot; .. linked_region .. &amp;quot;, a region of [[Wiktionary:Finland|Finland]].&amp;quot;,&lt;br /&gt;
			parents = {{name = &amp;quot;municipalities of Finland&amp;quot;, sort = bare_region}, bare_region .. &amp;quot;, Finland&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;Hokkaido&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} terms related to [[Wiktionary:Hokkaido|Hokkaido]], a [[Wiktionary:prefecture|prefecture]] of [[Wiktionary:Japan|Japan]].&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;Prefectures of Japan&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- &amp;quot;regions in (continent)&amp;quot;, esp. for regions that span multiple countries&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions in the world&amp;quot;] = { -- for multinational regions which do not fit neatly within one continent&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:region|region]]s in the world (which do not fit neatly within one country or continent).&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;places&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions in Africa&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:region|region]]s in Africa.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;Africa&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions in the Americas&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:region|region]]s in the Americas.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;America&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions in Asia&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:region|region]]s in Asia.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;Asia&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions in Europe&amp;quot;] = { &lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:region|region]]s in Europe.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;Europe&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- &amp;quot;countries in (continent)&amp;quot;, &amp;quot;rivers in (continent)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for _, continent in ipairs({&amp;quot;Africa&amp;quot;, &amp;quot;Asia&amp;quot;, &amp;quot;Central America&amp;quot;, &amp;quot;Europe&amp;quot;, &amp;quot;North America&amp;quot;, &amp;quot;Oceania&amp;quot;, &amp;quot;South America&amp;quot;}) do&lt;br /&gt;
	labels[&amp;quot;countries in &amp;quot; .. continent] = {&lt;br /&gt;
		description = &amp;quot;{{{langname}}} names of [[Wiktionary:country|countries]] in [[Wiktionary:&amp;quot; .. continent .. &amp;quot;|&amp;quot; .. continent .. &amp;quot;]].&amp;quot;,&lt;br /&gt;
		parents = {{name = &amp;quot;countries&amp;quot;, sort = continent}, continent, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
	}&lt;br /&gt;
	labels[&amp;quot;rivers in &amp;quot; .. continent] = {&lt;br /&gt;
		description = &amp;quot;{{{langname}}} names of [[Wiktionary:river|river]]s in [[Wiktionary:&amp;quot; .. continent .. &amp;quot;|&amp;quot; .. continent .. &amp;quot;]].&amp;quot;,&lt;br /&gt;
		parents = {{name = &amp;quot;rivers&amp;quot;, sort = continent}, continent, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- autonomous communities, oblasts, etc&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;autonomous communities of Spain&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of the [[Wikipedia:Autonomous communities of Spain|autonomous communities of Spain]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Spain&amp;quot;}, &amp;quot;Spain&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- boroughs&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;boroughs in England&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of boroughs, local government districts and unitary authorities in [[Wiktionary:England|England]].&amp;quot;, &lt;br /&gt;
	parents = {{name = &amp;quot;boroughs&amp;quot;, sort = &amp;quot;England&amp;quot;}, &amp;quot;England&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;boroughs in Pennsylvania&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of boroughs in [[Wiktionary:Pennsylvania|Pennsylvania]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;boroughs in the United States&amp;quot;, sort = &amp;quot;Pennsylvania&amp;quot;}, &amp;quot;Pennsylvania, USA&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;boroughs in New Jersey&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of boroughs in [[Wiktionary:New Jersey|New Jersey]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;boroughs in the United States&amp;quot;, sort = &amp;quot;New Jersey&amp;quot;}, &amp;quot;New Jersey, USA&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;boroughs in New York City&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of boroughs in [[Wiktionary:New York City|New York City]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;boroughs in the United States&amp;quot;, sort = &amp;quot;New York City&amp;quot;}, &amp;quot;New York City&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;boroughs in the United States&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:borough|borough]]s in the [[Wiktionary:United States|United States]].&amp;quot;,&lt;br /&gt;
	-- parent is &amp;quot;boroughs&amp;quot; not &amp;quot;political subdivisions&amp;quot; and category says &amp;quot;in&amp;quot;&lt;br /&gt;
	-- not &amp;quot;of&amp;quot;, because boroughs aren&amp;#039;t really political subdivisions in the US&lt;br /&gt;
	-- (more like cities)&lt;br /&gt;
	parents = {{name = &amp;quot;boroughs&amp;quot;, sort = &amp;quot;United States&amp;quot;}, &amp;quot;United States&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- census-designated places&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;census-designated places in the United States&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of [[Wiktionary:census-designated place|census-designated place]]s in the [[Wiktionary:United States|United States]].&amp;quot;,&lt;br /&gt;
	-- parent is just United States; census-designated places have no political&lt;br /&gt;
	-- status and exist only in the US, so no need for a top-level&lt;br /&gt;
	-- &amp;quot;census-designated places&amp;quot; category&lt;br /&gt;
	parents = {&amp;quot;United States&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- cities&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;cities in Hokkaido&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of cities in [[Wiktionary:Hokkaido|Hokkaido]] Prefecture.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;cities in Japan&amp;quot;, sort = &amp;quot;Hokkaido&amp;quot;}, &amp;quot;Hokkaido&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;cities in Tokyo&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of cities in [[Wiktionary:Tokyo|Tokyo]] Metropolis.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;cities in Japan&amp;quot;, sort = &amp;quot;Tokyo&amp;quot;}, &amp;quot;Tokyo&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- counties&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;counties of Northern Ireland&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of the counties of [[Wiktionary:Northern Ireland|Northern Ireland]]&amp;quot;,&lt;br /&gt;
	-- has two parents: &amp;quot;political subdivisions&amp;quot; and &amp;quot;counties of Ireland&amp;quot;&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Northern Ireland&amp;quot;}, {name = &amp;quot;counties of Ireland&amp;quot;, sort = &amp;quot;Northern Ireland&amp;quot;}, &amp;quot;Northern Ireland&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
--Canadian counties&lt;br /&gt;
-- only these five provinces have counties&lt;br /&gt;
for _, province in ipairs({&amp;quot;New Brunswick&amp;quot;, &amp;quot;Nova Scotia&amp;quot;, &amp;quot;Ontario&amp;quot;, &amp;quot;Prince Edward Island&amp;quot;, &amp;quot;Quebec&amp;quot;}) do&lt;br /&gt;
	labels[&amp;quot;counties of &amp;quot; .. province] = {&lt;br /&gt;
		description = &amp;quot;default-set&amp;quot;,&lt;br /&gt;
		parents = {{name =&amp;quot;counties of Canada&amp;quot;, sort = province}, province, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- municipalities&lt;br /&gt;
&lt;br /&gt;
for _, province in ipairs({&amp;quot;Saskatchewan&amp;quot;, &amp;quot;Manitoba&amp;quot;, &amp;quot;Prince Edward Island&amp;quot;}) do&lt;br /&gt;
	labels[&amp;quot;rural municipalities of &amp;quot; .. province] = {&lt;br /&gt;
		description = &amp;quot;{{{langname}}} names of [[Wikipedia:rural municipality|rural municipalities]] of [[Wiktionary:&amp;quot; .. province .. &amp;quot;|&amp;quot; .. province .. &amp;quot;]], a [[Wiktionary:province|province]] of [[Wiktionary:Canada|Canada]].&amp;quot;, &lt;br /&gt;
		parents = {{name = &amp;quot;rural municipalities&amp;quot;, sort = province}, province, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- regions and &amp;quot;regional units&amp;quot;&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;regions of Greece&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of the regions (peripheries) of [[Wiktionary:Greece|Greece]]&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Greece&amp;quot;}, &amp;quot;Greece&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- subdistricts and subprefectures&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;subdistricts of Jakarta&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;default-set&amp;quot;,&lt;br /&gt;
	-- not listed in the normal place because no categories like &amp;quot;cities in Jakarta&amp;quot;&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Jakarta&amp;quot;}, &amp;quot;Indonesia&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;subprefectures of Hokkaido&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of subprefectures of [[Wiktionary:Hokkaido|Hokkaido]] Prefecture.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;subprefectures of Japan&amp;quot;, sort = &amp;quot;Hokkaido&amp;quot;}, &amp;quot;Hokkaido&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;subprefectures of Japan&amp;quot;] = {&lt;br /&gt;
	-- special-cased description&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of subprefectures of Japanese prefectures.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Japan&amp;quot;}, &amp;quot;Japan&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;subprefectures of Tokyo&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of subprefectures of [[Wiktionary:Tokyo|Tokyo]] Metropolis.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;subprefectures of Japan&amp;quot;, sort = &amp;quot;Tokyo&amp;quot;}, &amp;quot;Tokyo&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- towns and townships&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;townships in Canada&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of townships in [[Wiktionary:Canada|Canada]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;townships&amp;quot;, sort = &amp;quot;Canada&amp;quot;}, &amp;quot;Canada&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;townships in Ontario&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of townships in [[Wiktionary:Ontario|Ontario]]. Municipalities in Ontario can be called as a city, a town, a township, or a village.&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;townships in Canada&amp;quot;, sort = &amp;quot;Ontario&amp;quot;}, &amp;quot;Ontario&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- misc to be sorted; putting here so old module can be deleted&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;special wards of Tokyo, Japan&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} names of special wards of [[Wiktionary:Tokyo|Tokyo]] Metropolis, [[Wiktionary:Japan|Japan]].&amp;quot;,&lt;br /&gt;
	parents = {{name = &amp;quot;political subdivisions&amp;quot;, sort = &amp;quot;Tokyo&amp;quot;}, &amp;quot;Tokyo&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- temporary while users adjust to recent changes, also kept in case of desire to use for its topical purpose, see description; can be removed later if unused&lt;br /&gt;
&lt;br /&gt;
labels[&amp;quot;place names&amp;quot;] = {&lt;br /&gt;
	description = &amp;quot;{{{langname}}} terms like &amp;#039;&amp;#039;hydronym&amp;#039;&amp;#039;, for names for geographical [[Wiktionary:place|place]]s.&amp;quot;,&lt;br /&gt;
	parents = {&amp;quot;names&amp;quot;, &amp;quot;list of sets&amp;quot;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return {LABELS = labels, HANDLERS = handlers}&lt;/div&gt;</summary>
		<author><name>Bob&gt;Juelos</name></author>
	</entry>
</feed>