<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://odden.us:443/thadar/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ALinks%2Fprint_data</id>
	<title>Module:Links/print data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://odden.us:443/thadar/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ALinks%2Fprint_data"/>
	<link rel="alternate" type="text/html" href="https://odden.us:443/thadar/wiki/index.php?title=Module:Links/print_data&amp;action=history"/>
	<updated>2026-04-12T15:08:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://odden.us:443/thadar/wiki/index.php?title=Module:Links/print_data&amp;diff=1202&amp;oldid=prev</id>
		<title>Oa10712: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://odden.us:443/thadar/wiki/index.php?title=Module:Links/print_data&amp;diff=1202&amp;oldid=prev"/>
		<updated>2022-09-06T03:34:51Z</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 22:34, 5 September 2022&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>Oa10712</name></author>
	</entry>
	<entry>
		<id>https://odden.us:443/thadar/wiki/index.php?title=Module:Links/print_data&amp;diff=1201&amp;oldid=prev</id>
		<title>en&gt;Chuck Entz: Protected &quot;Module:links/print data&quot;: Highly visible template/module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://odden.us:443/thadar/wiki/index.php?title=Module:Links/print_data&amp;diff=1201&amp;oldid=prev"/>
		<updated>2019-11-09T05:29:12Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/thadar/wiki/index.php?title=Module:Links/print_data&quot; title=&quot;Module:Links/print data&quot;&gt;Module:links/print data&lt;/a&gt;&amp;quot;: Highly visible template/module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local export = {}&lt;br /&gt;
&lt;br /&gt;
local function make_anchor(text, anchor)&lt;br /&gt;
	return &amp;#039;&amp;lt;span id=&amp;quot;&amp;#039; .. (anchor or text) .. &amp;#039;&amp;quot;&amp;gt;&amp;#039; .. text .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function export.show()&lt;br /&gt;
	local data		= mw.loadData &amp;quot;Module:links/data&amp;quot;&lt;br /&gt;
	local output	= {}&lt;br /&gt;
	&lt;br /&gt;
	local insert		= table.insert&lt;br /&gt;
	local ugsub			= mw.ustring.gsub&lt;br /&gt;
	local get_codepoint = mw.ustring.codepoint&lt;br /&gt;
	local ulen			= mw.ustring.len&lt;br /&gt;
	local sorted_pairs	= require &amp;quot;Module:table&amp;quot;.sortedPairs&lt;br /&gt;
	local is_whitespace = require &amp;quot;Module:Unicode data&amp;quot;.is_whitespace&lt;br /&gt;
	local get_script = require &amp;quot;Module:scripts&amp;quot;.findBestScriptWithoutLang&lt;br /&gt;
	&lt;br /&gt;
	local function process_link_text (link_text)&lt;br /&gt;
		-- The basic space character is stripped from link text if there are no&lt;br /&gt;
		-- characters surrounding it.&lt;br /&gt;
		if ulen(link_text) == 1 and is_whitespace(get_codepoint(link_text)) then&lt;br /&gt;
			return (&amp;quot;]%s[&amp;quot;):format(link_text)&lt;br /&gt;
		else&lt;br /&gt;
			-- Convert all characters to hexadecimal character entities to&lt;br /&gt;
			-- prevent any transformations.&lt;br /&gt;
			-- This is pretty much only because HTML comment syntax would not be&lt;br /&gt;
			-- displayed otherwise. But who knows what else MediaWiki software&lt;br /&gt;
			-- might do.&lt;br /&gt;
			return ugsub(&lt;br /&gt;
				link_text,&lt;br /&gt;
				&amp;quot;.&amp;quot;,&lt;br /&gt;
				function (char)&lt;br /&gt;
					local codepoint = get_codepoint(char)&lt;br /&gt;
					if not is_whitespace(codepoint) then&lt;br /&gt;
						return (&amp;quot;&amp;amp;#x%X;&amp;quot;):format(codepoint)&lt;br /&gt;
					end&lt;br /&gt;
				end)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local function link(term, title)&lt;br /&gt;
		local script = get_script(term)&lt;br /&gt;
		if script ~= &amp;quot;None&amp;quot; then&lt;br /&gt;
			return (&amp;#039;* &amp;lt;span class=&amp;quot;%s&amp;quot;&amp;gt;[[Unsupported titles/%s|%s]]&amp;lt;/span&amp;gt;&amp;#039;):format(&lt;br /&gt;
				script,&lt;br /&gt;
				title,&lt;br /&gt;
				process_link_text(term))&lt;br /&gt;
		else&lt;br /&gt;
			return (&amp;quot;* [[Unsupported titles/%s|%s]]&amp;quot;):format(&lt;br /&gt;
				title,&lt;br /&gt;
				process_link_text(term))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for term, title in sorted_pairs(data.unsupported_titles) do&lt;br /&gt;
		insert(output, link(term, title))&lt;br /&gt;
	end&lt;br /&gt;
	insert(output, 1, &amp;quot;; &amp;quot; .. make_anchor(&amp;quot;Unsupported titles&amp;quot;) .. &amp;quot;:&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	insert(output, &amp;quot;; &amp;quot; .. make_anchor(&amp;quot;High-memory entries&amp;quot;) .. &amp;quot;:&amp;quot;)&lt;br /&gt;
	for entry in sorted_pairs(data.high_memory_entries) do&lt;br /&gt;
		insert(output, (&amp;quot;* [[%s]]&amp;quot;):format(entry))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return table.concat(output, &amp;quot;\n&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>en&gt;Chuck Entz</name></author>
	</entry>
</feed>