<?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%3AIf_preview%2Fconfiguration</id>
	<title>Module:If preview/configuration - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_preview%2Fconfiguration"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:If_preview/configuration&amp;action=history"/>
	<updated>2026-06-27T11:46:04Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Module:If_preview/configuration&amp;diff=3851532&amp;oldid=prev</id>
		<title>imported&gt;Xiplus-abot：​已更改“Module:If preview/configuration”的保护设置：​高風險模板：207597引用&lt;!-- 機器人3 --&gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:If_preview/configuration&amp;diff=3851532&amp;oldid=prev"/>
		<updated>2024-02-04T20:50:26Z</updated>

		<summary type="html">&lt;p&gt;已更改“&lt;a href=&quot;/wiki/Module:If_preview/configuration&quot; title=&quot;Module:If preview/configuration&quot;&gt;Module:If preview/configuration&lt;/a&gt;”的保护设置：​高風險模板：207597引用&amp;lt;!-- &lt;a href=&quot;/index.php?title=User:Xiplus-abot/task/3&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Xiplus-abot/task/3（页面不存在）&quot;&gt;機器人3&lt;/a&gt; --&amp;gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
We perform the actual check for whether this is a preview here since&lt;br /&gt;
preprocessing is relatively expensive.&lt;br /&gt;
]]&lt;br /&gt;
local frame = mw.getCurrentFrame()&lt;br /&gt;
&lt;br /&gt;
local function is_preview()&lt;br /&gt;
	local revision_id = frame:preprocess(&amp;#039;{{REVISIONID}}&amp;#039;)&lt;br /&gt;
	-- {{REVISIONID}} is usually the empty string when previewed.&lt;br /&gt;
	-- I don&amp;#039;t know why we&amp;#039;re checking for nil but hey, maybe someday things&lt;br /&gt;
	-- would have broken&lt;br /&gt;
	return revision_id == nil or revision_id == &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function templatestyles()&lt;br /&gt;
	return frame:extensionTag{&lt;br /&gt;
		name = &amp;#039;templatestyles&amp;#039;, args = { src = &amp;#039;Module:If preview/styles.css&amp;#039; }&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	preview = is_preview(),&lt;br /&gt;
	templatestyles = templatestyles(),&lt;br /&gt;
	warning_infrastructure = &amp;#039;%s&amp;lt;div class=&amp;quot;preview-warning&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;預覽警告：&amp;lt;/strong&amp;gt;%s&amp;lt;/div&amp;gt;&amp;#039;,&lt;br /&gt;
	missing_warning = &amp;#039;模板無警告文本，請添加警告。&amp;#039;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Xiplus-abot</name></author>
	</entry>
</feed>