<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://test6.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3ALabels%2Fdata%2Ffunctions</id>
	<title>Module:Labels/data/functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://test6.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3ALabels%2Fdata%2Ffunctions"/>
	<link rel="alternate" type="text/html" href="https://test6.st34an.tech/index.php?title=Module:Labels/data/functions&amp;action=history"/>
	<updated>2026-04-22T16:58:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://test6.st34an.tech/index.php?title=Module:Labels/data/functions&amp;diff=226&amp;oldid=prev</id>
		<title>imported&gt;Djpwikiadmin: Created page with &quot;export = {}  function export.handle_languages(labels) 	if type(labels) ~= &quot;table&quot; then 		error(&#039;The function &quot;handle_languages&quot; requires a table as argument.&#039;) 	end 	 	for lab...&quot;</title>
		<link rel="alternate" type="text/html" href="https://test6.st34an.tech/index.php?title=Module:Labels/data/functions&amp;diff=226&amp;oldid=prev"/>
		<updated>2019-04-01T06:23:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;export = {}  function export.handle_languages(labels) 	if type(labels) ~= &amp;quot;table&amp;quot; then 		error(&amp;#039;The function &amp;quot;handle_languages&amp;quot; requires a table as argument.&amp;#039;) 	end 	 	for lab...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;export = {}&lt;br /&gt;
&lt;br /&gt;
function export.handle_languages(labels)&lt;br /&gt;
	if type(labels) ~= &amp;quot;table&amp;quot; then&lt;br /&gt;
		error(&amp;#039;The function &amp;quot;handle_languages&amp;quot; requires a table as argument.&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for label, data in pairs(labels) do&lt;br /&gt;
		if data[&amp;quot;languages&amp;quot;] then&lt;br /&gt;
			for key, language in ipairs(data[&amp;quot;languages&amp;quot;] or {}) do&lt;br /&gt;
				labels[label][&amp;quot;languages&amp;quot;][language] = true&lt;br /&gt;
			end&lt;br /&gt;
		elseif data[&amp;quot;language&amp;quot;] and data[&amp;quot;language&amp;quot;] ~= &amp;quot;&amp;quot; then&lt;br /&gt;
			labels[label][&amp;quot;languages&amp;quot;] = {}&lt;br /&gt;
			labels[label][&amp;quot;languages&amp;quot;][data[&amp;quot;language&amp;quot;]] = true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>imported&gt;Djpwikiadmin</name></author>
	</entry>
</feed>