<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Areconstruction</id>
	<title>Module:reconstruction - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Areconstruction"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:reconstruction&amp;action=history"/>
	<updated>2026-06-01T17:53:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:reconstruction&amp;diff=519713&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;local export = {}  -- from WT:POS local POS_headers = require &quot;Module:table&quot;.listToSet { 	&quot;Adjective&quot;, &quot;Adverb&quot;, &quot;Ambiposition&quot;, &quot;Article&quot;, &quot;Circumfix&quot;, 	&quot;Circumposition&quot;, &quot;Classifier&quot;, &quot;Combining form&quot;, &quot;Conjunction&quot;, 	&quot;Contraction&quot;, &quot;Counter&quot;, &quot;Determiner&quot;, &quot;Diacritical mark&quot;, &quot;Han character&quot;, 	&quot;Hanja&quot;, &quot;Hanzi&quot;, &quot;Ideophone&quot;, &quot;Infix&quot;, &quot;Interfix&quot;, &quot;Interjection&quot;, &quot;Kanji&quot;, 	&quot;Letter&quot;, &quot;Ligature&quot;, &quot;Noun&quot;, &quot;Number&quot;, &quot;Numeral&quot;, &quot;Participle&quot;, &quot;Particle&quot;, 	&quot;Phrase&quot;, &quot;Postpo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:reconstruction&amp;diff=519713&amp;oldid=prev"/>
		<updated>2026-05-09T10:36:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local export = {}  -- from &lt;a href=&quot;/w/index.php?title=WT:POS&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WT:POS (page does not exist)&quot;&gt;WT:POS&lt;/a&gt; local POS_headers = require &amp;quot;Module:table&amp;quot;.listToSet { 	&amp;quot;Adjective&amp;quot;, &amp;quot;Adverb&amp;quot;, &amp;quot;Ambiposition&amp;quot;, &amp;quot;Article&amp;quot;, &amp;quot;Circumfix&amp;quot;, 	&amp;quot;Circumposition&amp;quot;, &amp;quot;Classifier&amp;quot;, &amp;quot;Combining form&amp;quot;, &amp;quot;Conjunction&amp;quot;, 	&amp;quot;Contraction&amp;quot;, &amp;quot;Counter&amp;quot;, &amp;quot;Determiner&amp;quot;, &amp;quot;Diacritical mark&amp;quot;, &amp;quot;Han character&amp;quot;, 	&amp;quot;Hanja&amp;quot;, &amp;quot;Hanzi&amp;quot;, &amp;quot;Ideophone&amp;quot;, &amp;quot;Infix&amp;quot;, &amp;quot;Interfix&amp;quot;, &amp;quot;Interjection&amp;quot;, &amp;quot;Kanji&amp;quot;, 	&amp;quot;Letter&amp;quot;, &amp;quot;Ligature&amp;quot;, &amp;quot;Noun&amp;quot;, &amp;quot;Number&amp;quot;, &amp;quot;Numeral&amp;quot;, &amp;quot;Participle&amp;quot;, &amp;quot;Particle&amp;quot;, 	&amp;quot;Phrase&amp;quot;, &amp;quot;Postpo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local export = {}&lt;br /&gt;
&lt;br /&gt;
-- from [[WT:POS]]&lt;br /&gt;
local POS_headers = require &amp;quot;Module:table&amp;quot;.listToSet {&lt;br /&gt;
	&amp;quot;Adjective&amp;quot;, &amp;quot;Adverb&amp;quot;, &amp;quot;Ambiposition&amp;quot;, &amp;quot;Article&amp;quot;, &amp;quot;Circumfix&amp;quot;,&lt;br /&gt;
	&amp;quot;Circumposition&amp;quot;, &amp;quot;Classifier&amp;quot;, &amp;quot;Combining form&amp;quot;, &amp;quot;Conjunction&amp;quot;,&lt;br /&gt;
	&amp;quot;Contraction&amp;quot;, &amp;quot;Counter&amp;quot;, &amp;quot;Determiner&amp;quot;, &amp;quot;Diacritical mark&amp;quot;, &amp;quot;Han character&amp;quot;,&lt;br /&gt;
	&amp;quot;Hanja&amp;quot;, &amp;quot;Hanzi&amp;quot;, &amp;quot;Ideophone&amp;quot;, &amp;quot;Infix&amp;quot;, &amp;quot;Interfix&amp;quot;, &amp;quot;Interjection&amp;quot;, &amp;quot;Kanji&amp;quot;,&lt;br /&gt;
	&amp;quot;Letter&amp;quot;, &amp;quot;Ligature&amp;quot;, &amp;quot;Noun&amp;quot;, &amp;quot;Number&amp;quot;, &amp;quot;Numeral&amp;quot;, &amp;quot;Participle&amp;quot;, &amp;quot;Particle&amp;quot;,&lt;br /&gt;
	&amp;quot;Phrase&amp;quot;, &amp;quot;Postposition&amp;quot;, &amp;quot;Prefix&amp;quot;, &amp;quot;Preposition&amp;quot;, &amp;quot;Prepositional phrase&amp;quot;,&lt;br /&gt;
	&amp;quot;Pronoun&amp;quot;, &amp;quot;Proper noun&amp;quot;, &amp;quot;Proverb&amp;quot;, &amp;quot;Punctuation mark&amp;quot;, &amp;quot;Romanization&amp;quot;,&lt;br /&gt;
	&amp;quot;Root&amp;quot;, &amp;quot;Suffix&amp;quot;, &amp;quot;Syllable&amp;quot;, &amp;quot;Symbol&amp;quot;, &amp;quot;Verb&amp;quot;, &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- This isn&amp;#039;t a perfect pattern, but should work in entries that don&amp;#039;t have&lt;br /&gt;
-- bad syntax.&lt;br /&gt;
local title_pattern = &amp;quot;%f[^\n%z]==+%s*(.-)%s*==+&amp;quot;&lt;br /&gt;
local function count_POS_headers(title)&lt;br /&gt;
	local POS_count = 0&lt;br /&gt;
	local content = title:getContent()&lt;br /&gt;
	if content then&lt;br /&gt;
		for header in content:gmatch(title_pattern) do&lt;br /&gt;
			if POS_headers[header] then&lt;br /&gt;
				POS_count = POS_count + 1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return POS_count&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function has_header(title, header_to_find)&lt;br /&gt;
	local content = title:getContent()&lt;br /&gt;
	if content then&lt;br /&gt;
		for header in content:gmatch(title_pattern) do&lt;br /&gt;
			if header == header_to_find then&lt;br /&gt;
				return true&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Invoked by {{reconstruction}}, requested by Victar.&lt;br /&gt;
function export.main(frame)&lt;br /&gt;
	local title = mw.title.getCurrentTitle()&lt;br /&gt;
	local cats = {}&lt;br /&gt;
	&lt;br /&gt;
	local language = title.text:match &amp;quot;^[^/]+&amp;quot;&lt;br /&gt;
	local langcode = require(&amp;quot;Module:languages&amp;quot;).getByCanonicalName(language)&lt;br /&gt;
	if not langcode then&lt;br /&gt;
		-- Can happen e.g. if used on a user page&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	if count_POS_headers(title) &amp;gt; 1 then&lt;br /&gt;
		table.insert(cats, language .. &amp;quot; entries with more than one part of speech&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return temp_rfref .. require(&amp;quot;Module:utilities&amp;quot;).format_categories(cats, langcode)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>