<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AFileInfo</id>
	<title>模块:FileInfo - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AFileInfo"/>
	<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:FileInfo&amp;action=history"/>
	<updated>2026-05-10T09:13:36Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:FileInfo&amp;diff=11430&amp;oldid=prev</id>
		<title>DrTompkins：导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:FileInfo&amp;diff=11430&amp;oldid=prev"/>
		<updated>2023-04-12T04:17:34Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年4月12日 (三) 04:17的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>DrTompkins</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:FileInfo&amp;diff=11429&amp;oldid=prev</id>
		<title>zhmoe&gt;Lih：搬运自萌娘百科的同名条目</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:FileInfo&amp;diff=11429&amp;oldid=prev"/>
		<updated>2022-09-23T09:02:00Z</updated>

		<summary type="html">&lt;p&gt;搬运自萌娘百科的同名条目&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local module = {}&lt;br /&gt;
&lt;br /&gt;
module.main = function(frame)&lt;br /&gt;
	local fileName = frame.args[1]&lt;br /&gt;
	local name = frame.args[2]&lt;br /&gt;
	local attrNames = { 'width', 'height', 'size', 'mimeType' }&lt;br /&gt;
	local title = mw.title.new('File:'..fileName)&lt;br /&gt;
	if title ~= nil then&lt;br /&gt;
		for i, v in ipairs(attrNames) do&lt;br /&gt;
			if v == name then&lt;br /&gt;
				return title.file[name]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		if (frame.args['w'] or '') ~= 'false' then&lt;br /&gt;
			error('没有这个文件属性，可用的文件属性包含：width、height、size、mimeType')&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		if (frame.args['w'] or '') ~= 'false' then&lt;br /&gt;
			error('没有这个文件，请检查文件名是否正确！')	&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return module&lt;/div&gt;</summary>
		<author><name>zhmoe&gt;Lih</name></author>
	</entry>
</feed>