<?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%3Adocumentation%2Ffunctions%2Faffix_lang-data</id>
	<title>Module:documentation/functions/affix lang-data - 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%3Adocumentation%2Ffunctions%2Faffix_lang-data"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:documentation/functions/affix_lang-data&amp;action=history"/>
	<updated>2026-05-23T08:38:45Z</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:documentation/functions/affix_lang-data&amp;diff=516475&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;return function (title, cats, lang_code) 	local lang = require(&quot;Module:languages&quot;).getByCode(lang_code) 	if not lang then 		return &quot;This module has an invalid language code in the title: &lt;code&gt;&quot; .. lang_code .. &quot;&lt;/code&gt;.&quot; 	end 	cats:insert(lang:getCanonicalName() .. &quot; data modules|affix&quot;) 	return &quot;This module contains data for affixes in &quot; 		.. lang:makeCategoryLink() 		.. &quot; that is used by &lt;code&gt;{{af|&quot; 		.. lang_code 		.. &quot;|...}}&lt;/code&gt;. &lt;code&gt;affix_m...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:documentation/functions/affix_lang-data&amp;diff=516475&amp;oldid=prev"/>
		<updated>2026-05-08T12:31:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;return function (title, cats, lang_code) 	local lang = require(&amp;quot;Module:languages&amp;quot;).getByCode(lang_code) 	if not lang then 		return &amp;quot;This module has an invalid language code in the title: &amp;lt;code&amp;gt;&amp;quot; .. lang_code .. &amp;quot;&amp;lt;/code&amp;gt;.&amp;quot; 	end 	cats:insert(lang:getCanonicalName() .. &amp;quot; data modules|affix&amp;quot;) 	return &amp;quot;This module contains data for affixes in &amp;quot; 		.. lang:makeCategoryLink() 		.. &amp;quot; that is used by &amp;lt;code&amp;gt;{{&lt;a href=&quot;/wiki/Template:Affix&quot; title=&quot;Template:Affix&quot;&gt;af&lt;/a&gt;|&amp;quot; 		.. lang_code 		.. &amp;quot;|...}}&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;affix_m...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;return function (title, cats, lang_code)&lt;br /&gt;
	local lang = require(&amp;quot;Module:languages&amp;quot;).getByCode(lang_code)&lt;br /&gt;
	if not lang then&lt;br /&gt;
		return &amp;quot;This module has an invalid language code in the title: &amp;lt;code&amp;gt;&amp;quot; .. lang_code .. &amp;quot;&amp;lt;/code&amp;gt;.&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	cats:insert(lang:getCanonicalName() .. &amp;quot; data modules|affix&amp;quot;)&lt;br /&gt;
	return &amp;quot;This module contains data for affixes in &amp;quot;&lt;br /&gt;
		.. lang:makeCategoryLink()&lt;br /&gt;
		.. &amp;quot; that is used by &amp;lt;code&amp;gt;{{[[Template:affix|af]]|&amp;quot;&lt;br /&gt;
		.. lang_code&lt;br /&gt;
		.. &amp;quot;|...}}&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;affix_mappings&amp;lt;/code&amp;gt; determines which page to link to when certain affixes are used.&amp;quot;&lt;br /&gt;
		.. &amp;quot; It maps from the affix supplied to the template to the desired entry to link to,&amp;quot;&lt;br /&gt;
		.. &amp;quot; or to a table that maps from sense IDs (the value of &amp;lt;code&amp;gt;|id&amp;lt;var&amp;gt;N&amp;lt;/var&amp;gt;=&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; if there is no sense ID) to desired entries.&amp;quot;&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>