<?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%2Fnumber_list</id>
	<title>Module:documentation/functions/number list - 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%2Fnumber_list"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:documentation/functions/number_list&amp;action=history"/>
	<updated>2026-04-06T11:58:14Z</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/number_list&amp;diff=222570&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;return function (title, cats) 	local suffix = title.fullText:match(&quot;^Module:number list/data/(.+)$&quot;) 	local lang_code = suffix:match &quot;^([^/]+)/sandbox$&quot; or suffix 	local lang...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:documentation/functions/number_list&amp;diff=222570&amp;oldid=prev"/>
		<updated>2021-03-13T12:02:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;return function (title, cats) 	local suffix = title.fullText:match(&amp;quot;^Module:number list/data/(.+)$&amp;quot;) 	local lang_code = suffix:match &amp;quot;^([^/]+)/sandbox$&amp;quot; or suffix 	local lang...&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)&lt;br /&gt;
	local suffix = title.fullText:match(&amp;quot;^Module:number list/data/(.+)$&amp;quot;)&lt;br /&gt;
	local lang_code = suffix:match &amp;quot;^([^/]+)/sandbox$&amp;quot; or suffix&lt;br /&gt;
	local lang = require(&amp;quot;Module:languages&amp;quot;).getByCode(lang_code)&lt;br /&gt;
	&lt;br /&gt;
	local function page_exists(title)&lt;br /&gt;
		local success, title_obj = pcall(mw.title.new, title)&lt;br /&gt;
		return success and title_obj.exists&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if lang then&lt;br /&gt;
		local canonical_name = lang:getCanonicalName()&lt;br /&gt;
		local language_data_modules = canonical_name .. &amp;quot; data modules&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		cats:insert((page_exists(&amp;quot;Category:&amp;quot; .. language_data_modules)&lt;br /&gt;
			and language_data_modules or canonical_name .. &amp;quot; modules&amp;quot;)&lt;br /&gt;
			.. &amp;quot;|number list&amp;quot;)&lt;br /&gt;
		cats:insert(&amp;quot;Number data modules|&amp;quot; .. canonical_name)&lt;br /&gt;
		&lt;br /&gt;
		return (&amp;quot;This module contains data on various types of numbers in %s.\n%s&amp;quot;)&lt;br /&gt;
			:format(lang:makeCategoryLink(), require(&amp;quot;Module:number list/show&amp;quot;).table() or &amp;#039;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>