<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnicode_data%2Fcategory</id>
	<title>Module:Unicode data/category - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnicode_data%2Fcategory"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Unicode_data/category&amp;action=history"/>
	<updated>2026-07-18T02:51:39Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Module:Unicode_data/category&amp;diff=3617821&amp;oldid=prev</id>
		<title>imported&gt;Dušan Kreheľ：​Data are direct from commons (:commons:Data:Unicode/data/category/singles.tab, :commons:Data:Unicode/data/category/ranges.tab &amp; :commons:Data:Unicode/data/category/names.tab).</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Unicode_data/category&amp;diff=3617821&amp;oldid=prev"/>
		<updated>2025-07-28T16:09:28Z</updated>

		<summary type="html">&lt;p&gt;Data are direct from commons (&lt;a href=&quot;https://commons.wikimedia.org/wiki/Data:Unicode/data/category/singles.tab&quot; class=&quot;extiw&quot; title=&quot;commons:Data:Unicode/data/category/singles.tab&quot;&gt;commons:Data:Unicode/data/category/singles.tab&lt;/a&gt;, &lt;a href=&quot;https://commons.wikimedia.org/wiki/Data:Unicode/data/category/ranges.tab&quot; class=&quot;extiw&quot; title=&quot;commons:Data:Unicode/data/category/ranges.tab&quot;&gt;commons:Data:Unicode/data/category/ranges.tab&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://commons.wikimedia.org/wiki/Data:Unicode/data/category/names.tab&quot; class=&quot;extiw&quot; title=&quot;commons:Data:Unicode/data/category/names.tab&quot;&gt;commons:Data:Unicode/data/category/names.tab&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- [[:commons:Data:Unicode/data/category/singles.tab]]&lt;br /&gt;
-- [[:commons:Data:Unicode/data/category/ranges.tab]]&lt;br /&gt;
-- [[:commons:Data:Unicode/data/category/names.tab]]&lt;br /&gt;
&lt;br /&gt;
local function get_result()&lt;br /&gt;
	local write_index&lt;br /&gt;
	local result={}&lt;br /&gt;
	&lt;br /&gt;
	-- singles&lt;br /&gt;
	result.singles={}&lt;br /&gt;
	local data=mw.ext.data.get(&amp;quot;Unicode/data/category/singles.tab&amp;quot;)&lt;br /&gt;
	for index, cols in ipairs(data.data) do&lt;br /&gt;
		if cols[1] and cols[2]  then&lt;br /&gt;
			if cols[2] ~= &amp;quot;Cn&amp;quot; then&lt;br /&gt;
				result.singles[tonumber(cols[1], 16)]=cols[2]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- ranges&lt;br /&gt;
	data=mw.ext.data.get(&amp;quot;Unicode/data/category/ranges.tab&amp;quot;)&lt;br /&gt;
	write_index=1&lt;br /&gt;
	result.ranges={}&lt;br /&gt;
	for index, cols in ipairs(data.data) do&lt;br /&gt;
		if cols[1] and cols[2] and cols[3] then&lt;br /&gt;
			if cols[3] ~= &amp;quot;Cn&amp;quot; then&lt;br /&gt;
				result.ranges[write_index]={tonumber(cols[1], 16), tonumber(cols[2], 16), cols[3]}&lt;br /&gt;
				write_index=write_index+1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- long_names&lt;br /&gt;
	data=mw.ext.data.get(&amp;quot;Unicode/data/category/names.tab&amp;quot;)&lt;br /&gt;
	result.long_names={}&lt;br /&gt;
	for index, cols in ipairs(data.data) do&lt;br /&gt;
		if cols[1] and cols[2] then&lt;br /&gt;
			result.long_names[cols[1]]=cols[2]&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return get_result()&lt;/div&gt;</summary>
		<author><name>imported&gt;Dušan Kreheľ</name></author>
	</entry>
</feed>