<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="vi-Hani">
	<id>https://hannom-rcv.org/wi/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%BA%89%3AImagesize</id>
	<title>模庉:Imagesize - 歷史𠊝𢷮</title>
	<link rel="self" type="application/atom+xml" href="https://hannom-rcv.org/wi/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%BA%89%3AImagesize"/>
	<link rel="alternate" type="text/html" href="https://hannom-rcv.org/wi/index.php?title=%E6%A8%A1%E5%BA%89:Imagesize&amp;action=history"/>
	<updated>2026-05-03T02:13:51Z</updated>
	<subtitle>歷史𠊝𢷮張尼𨑗威其</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://hannom-rcv.org/wi/index.php?title=%E6%A8%A1%E5%BA%89:Imagesize&amp;diff=25119&amp;oldid=prev</id>
		<title>Keepout2010：㐌入1番版</title>
		<link rel="alternate" type="text/html" href="https://hannom-rcv.org/wi/index.php?title=%E6%A8%A1%E5%BA%89:Imagesize&amp;diff=25119&amp;oldid=prev"/>
		<updated>2025-03-23T07:42:08Z</updated>

		<summary type="html">&lt;p&gt;㐌入1番版&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;vi-Hani&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←番版𫇰&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;番版𣅶14:42、𣈜23𣎃3𢆥2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;vi-Hani&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（空固事恪別）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key vinawiki-mdw_:diff:1.41:old-25118:rev-25119 --&gt;
&lt;/table&gt;</summary>
		<author><name>Keepout2010</name></author>
	</entry>
	<entry>
		<id>https://hannom-rcv.org/wi/index.php?title=%E6%A8%A1%E5%BA%89:Imagesize&amp;diff=25118&amp;oldid=prev</id>
		<title>vi&gt;Hakutora：←Trang mới: “-- Imagesize taks a single unnamed parameter, the filename returns its dimensions as a string &quot;WIDTHxHEIGHT&quot;  Adaped from the original function in Module:Multiple image --  local p = {}  local function _getdimensions(filename) 	if filename:sub(1,5) ~= &quot;File:&quot; then filename = &quot;File:&quot; .. filename end 	local titleobj = mw.title.new(mw.uri.decode(mw.ustring.gsub(filename,&#039;%|.*$&#039;,&#039;&#039;), &#039;WIKI&#039;)) 	local fileobj = titleobj and titleobj.file or {width = 0, height…”</title>
		<link rel="alternate" type="text/html" href="https://hannom-rcv.org/wi/index.php?title=%E6%A8%A1%E5%BA%89:Imagesize&amp;diff=25118&amp;oldid=prev"/>
		<updated>2021-12-28T19:21:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wi/index.php?title=WP:TTL&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:TTL（張空存在）&quot;&gt;←&lt;/a&gt;Trang mới: “--&lt;a href=&quot;/wi/index.php?title=Imagesize_taks_a_single_unnamed_parameter,_the_filename_returns_its_dimensions_as_a_string_%22WIDTHxHEIGHT%22_Adaped_from_the_original_function_in_Module:Multiple_image_--&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Imagesize taks a single unnamed parameter, the filename returns its dimensions as a string &amp;quot;WIDTHxHEIGHT&amp;quot; Adaped from the original function in Module:Multiple image --（張空存在）&quot;&gt;Imagesize taks a single unnamed parameter, the filename returns its dimensions as a string &amp;quot;WIDTHxHEIGHT&amp;quot;  Adaped from the original function in Module:Multiple image --&lt;/a&gt;  local p = {}  local function _getdimensions(filename) 	if filename:sub(1,5) ~= &amp;quot;File:&amp;quot; then filename = &amp;quot;File:&amp;quot; .. filename end 	local titleobj = mw.title.new(mw.uri.decode(mw.ustring.gsub(filename,&amp;#039;%|.*$&amp;#039;,&amp;#039;&amp;#039;), &amp;#039;WIKI&amp;#039;)) 	local fileobj = titleobj and titleobj.file or {width = 0, height…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;張㵋&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
Imagesize&lt;br /&gt;
taks a single unnamed parameter, the filename&lt;br /&gt;
returns its dimensions as a string &amp;quot;WIDTHxHEIGHT&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Adaped from the original function in Module:Multiple image&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function _getdimensions(filename)&lt;br /&gt;
	if filename:sub(1,5) ~= &amp;quot;File:&amp;quot; then filename = &amp;quot;File:&amp;quot; .. filename end&lt;br /&gt;
	local titleobj = mw.title.new(mw.uri.decode(mw.ustring.gsub(filename,&amp;#039;%|.*$&amp;#039;,&amp;#039;&amp;#039;), &amp;#039;WIKI&amp;#039;))&lt;br /&gt;
	local fileobj = titleobj and titleobj.file or {width = 0, height = 0}&lt;br /&gt;
	local w = tonumber(fileobj.width) or 0&lt;br /&gt;
	local h = tonumber(fileobj.height) or 0&lt;br /&gt;
	return w, h&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getDimensions(frame)&lt;br /&gt;
	local filename = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if filename == &amp;quot;&amp;quot; then return end&lt;br /&gt;
	local w, h = _getdimensions(filename)&lt;br /&gt;
	return w .. &amp;quot;x&amp;quot; .. h&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getHeight(frame)&lt;br /&gt;
	local filename = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if filename == &amp;quot;&amp;quot; then return end&lt;br /&gt;
	local w, h = _getdimensions(filename)&lt;br /&gt;
	return h&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getWidth(frame)&lt;br /&gt;
	local filename = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if filename == &amp;quot;&amp;quot; then return end&lt;br /&gt;
	local w, h = _getdimensions(filename)&lt;br /&gt;
	return w&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getScale(frame)&lt;br /&gt;
	local filename = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if filename == &amp;quot;&amp;quot; then return end&lt;br /&gt;
	local scale = tonumber(frame.args.scale) or 1&lt;br /&gt;
	local w, h = _getdimensions(filename)&lt;br /&gt;
	if (w == 0) or (h == 0) then return end&lt;br /&gt;
	return scale * w / h&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>vi&gt;Hakutora</name></author>
	</entry>
</feed>