<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sandbox.indicwiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnicode_data%2Fdocumentation_functions</id>
	<title>Module:Unicode data/documentation functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sandbox.indicwiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnicode_data%2Fdocumentation_functions"/>
	<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Unicode_data/documentation_functions&amp;action=history"/>
	<updated>2026-04-05T16:36:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://sandbox.indicwiki.org/index.php?title=Module:Unicode_data/documentation_functions&amp;diff=9034&amp;oldid=prev</id>
		<title>Indicwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Unicode_data/documentation_functions&amp;diff=9034&amp;oldid=prev"/>
		<updated>2024-12-12T08:54:13Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:54, 12 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Indicwiki</name></author>
	</entry>
	<entry>
		<id>https://sandbox.indicwiki.org/index.php?title=Module:Unicode_data/documentation_functions&amp;diff=9033&amp;oldid=prev</id>
		<title>https://sandbox.indicwiki.org/index.php/&gt;Erutuon: alternative: show codepoint ranges?</title>
		<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Unicode_data/documentation_functions&amp;diff=9033&amp;oldid=prev"/>
		<updated>2018-06-23T03:21:42Z</updated>

		<summary type="html">&lt;p&gt;alternative: show codepoint ranges?&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local output_mt = {}&lt;br /&gt;
function output_mt:insert(str)&lt;br /&gt;
	self.n = self.n + 1&lt;br /&gt;
	self[self.n] = str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function output_mt:insert_format(...)&lt;br /&gt;
	self:insert(string.format(...))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
output_mt.join = table.concat&lt;br /&gt;
&lt;br /&gt;
output_mt.__index = output_mt&lt;br /&gt;
&lt;br /&gt;
local function Output()&lt;br /&gt;
	return setmetatable({ n = 0 }, output_mt)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.show_modules()&lt;br /&gt;
	local output = Output()&lt;br /&gt;
	&lt;br /&gt;
	output:insert [[&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&amp;#039;&lt;br /&gt;
|+ Character name data modules,&amp;lt;br&amp;gt;organized by first three digits of codepoint in hexadecimal base]]&lt;br /&gt;
	&lt;br /&gt;
	for i = -1, 0xF do&lt;br /&gt;
		if i &amp;gt;= 0 then&lt;br /&gt;
			output:insert_format(&amp;#039;\n! %X&amp;#039;, i)&lt;br /&gt;
		else&lt;br /&gt;
			output:insert &amp;#039;\n!&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	output:insert &amp;#039;\n|-&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
	local prev = -1&lt;br /&gt;
	local row&lt;br /&gt;
	local found_module = false&lt;br /&gt;
	for i = 0, 0x10F do&lt;br /&gt;
		local first_two_digits = math.floor(i / 0x10)&lt;br /&gt;
		if first_two_digits ~= prev then&lt;br /&gt;
			if found_module then&lt;br /&gt;
				output:insert(row:join())&lt;br /&gt;
			end&lt;br /&gt;
			found_module = false&lt;br /&gt;
				&lt;br /&gt;
			row = Output{}&lt;br /&gt;
			row:insert_format(&amp;quot;\n|-\n! %02Xx&amp;quot;, first_two_digits)&lt;br /&gt;
			prev = first_two_digits&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		row:insert &amp;#039;\n| &amp;#039;&lt;br /&gt;
		local name_module = (&amp;#039;Module:Unicode data/names/%03X&amp;#039;):format(i)&lt;br /&gt;
		if mw.title.new(name_module).exists then&lt;br /&gt;
			local first_cp = i * 0x1000&lt;br /&gt;
			row:insert_format(&amp;quot;[[%s|U+%04X&amp;amp;ndash;&amp;lt;br&amp;gt;U+%04X]]&amp;quot;,&lt;br /&gt;
				name_module, first_cp, first_cp + 0xFFF)&lt;br /&gt;
			found_module = true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	output:insert &amp;quot;\n|}&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
	return output:join()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>https://sandbox.indicwiki.org/index.php/&gt;Erutuon</name></author>
	</entry>
</feed>