<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://zh.postal.wiki/index.php?action=history&amp;feed=atom&amp;title=%E7%94%A8%E6%88%B7%3AHehuabot%2FAutoArchive</id>
	<title>用户:Hehuabot/AutoArchive - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://zh.postal.wiki/index.php?action=history&amp;feed=atom&amp;title=%E7%94%A8%E6%88%B7%3AHehuabot%2FAutoArchive"/>
	<link rel="alternate" type="text/html" href="https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;action=history"/>
	<updated>2026-11-04T14:59:11Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4250&amp;oldid=prev</id>
		<title>2026年6月2日 (二) 09:28 Hehua</title>
		<link rel="alternate" type="text/html" href="https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4250&amp;oldid=prev"/>
		<updated>2026-06-02T09:28:50Z</updated>

		<summary type="html">&lt;p&gt;&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;zh-Hans-CN&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;2026年6月2日 (二) 09:28的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;第2行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第2行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;以下用法仅供参考，实际用法以官方说明[[mediawikiwiki:Manual:Pywikibot/archivebot.py/setup]]为准。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;以下用法仅供参考，实际用法以官方说明[[mediawikiwiki:Manual:Pywikibot/archivebot.py/setup]]为准。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://zh.wikipedia.org/wiki/Special:WhatLinksHere?target=User%3AWcam%2FArchiveConfig&amp;amp;namespace=3 查看使用本功能的用户]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 存档设置 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 存档设置 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-4239:rev-4250:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hehua</name></author>
	</entry>
	<entry>
		<id>https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4239&amp;oldid=prev</id>
		<title>2026年6月2日 (二) 09:02 Hehua</title>
		<link rel="alternate" type="text/html" href="https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4239&amp;oldid=prev"/>
		<updated>2026-06-02T09:02:16Z</updated>

		<summary type="html">&lt;p&gt;&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;zh-Hans-CN&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;2026年6月2日 (二) 09:02的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;第11行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第11行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(...)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(...)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = 存档所在页面&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = 存档所在页面&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;第18行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第18行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Well, maybe &#039;&#039;&#039;not exactly&#039;&#039;&#039; that (read about required options below), but that&#039;s how it&#039;s done. By the way, [[User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig|the template]] has &#039;&#039;&#039;no content&#039;&#039;&#039; and is sysop-&#039;&#039;&#039;protected&#039;&#039;&#039;, so don&#039;t worry about visual appearance. :)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Well, maybe &#039;&#039;&#039;not exactly&#039;&#039;&#039; that (read about required options below), but that&#039;s how it&#039;s done. By the way, [[User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig|the template]] has &#039;&#039;&#039;no content&#039;&#039;&#039; and is sysop-&#039;&#039;&#039;protected&#039;&#039;&#039;, so don&#039;t worry about visual appearance. :)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The bot expects to see only one parameter per line. The closing }} must be on its own line. There must be no leading spaces before the pipes. If you drop out the newlines used in the above example, e.g. by wrapping the template invocation onto a single line, the bot may not do what you expect.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The bot expects to see only one parameter per line. The closing }} must be on its own line. There must be no leading spaces before the pipes. If you drop out the newlines used in the above example, e.g. by wrapping the template invocation onto a single line, the bot may not do what you expect.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;第34行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第34行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(7d)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(7d)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = User talk:Example/存档&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = User talk:Example/存档&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;第44行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第44行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 例子二：自动增加存档页 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 例子二：自动增加存档页 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo                = old(31d)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo                = old(31d)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive             = User talk:Example/存档%(counter)d&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive             = User talk:Example/存档%(counter)d&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l61&quot;&gt;第61行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第61行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(5d)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo    = old(5d)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = User talk:Example/存档/%(year)d年/%(month)s月&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive = User talk:Example/存档/%(year)d年/%(month)s月&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l71&quot;&gt;第71行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第71行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 参数解释 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 参数解释 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wcam&lt;/del&gt;/ArchiveConfig  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{User:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hehua&lt;/ins&gt;/ArchiveConfig  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive             =  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| archive             =  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo                =  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| algo                =  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-4238:rev-4239:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hehua</name></author>
	</entry>
	<entry>
		<id>https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4238&amp;oldid=prev</id>
		<title>Hehua：​创建页面，内容为“这个机器人运行Pywikibot代码，可以根据你的设置自动将你的用户讨论页存档，机器人的存档操作&#039;&#039;&#039;不会&#039;&#039;&#039;触发新消息提示。机器人每天自动运行一次此程序，所以设置好之后请不要着急。  以下用法仅供参考，实际用法以官方说明mediawikiwiki:Manual:Pywikibot/archivebot.py/setup为准。  [https://zh.wikipedia.org/wiki/Special:WhatLinksHere?target=Use…”</title>
		<link rel="alternate" type="text/html" href="https://zh.postal.wiki/index.php?title=%E7%94%A8%E6%88%B7:Hehuabot/AutoArchive&amp;diff=4238&amp;oldid=prev"/>
		<updated>2026-06-02T09:01:09Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“这个机器人运行&lt;a href=&quot;https://www.mediawiki.org/wiki/Manual:Pywikibot&quot; class=&quot;extiw&quot; title=&quot;mediawikiwiki:Manual:Pywikibot&quot;&gt;Pywikibot&lt;/a&gt;代码，可以根据你的设置自动将你的用户讨论页存档，机器人的存档操作&amp;#039;&amp;#039;&amp;#039;不会&amp;#039;&amp;#039;&amp;#039;触发新消息提示。机器人每天自动运行一次此程序，所以设置好之后请不要着急。  以下用法仅供参考，实际用法以官方说明&lt;a href=&quot;https://www.mediawiki.org/wiki/Manual:Pywikibot/archivebot.py/setup&quot; class=&quot;extiw&quot; title=&quot;mediawikiwiki:Manual:Pywikibot/archivebot.py/setup&quot;&gt;mediawikiwiki:Manual:Pywikibot/archivebot.py/setup&lt;/a&gt;为准。  [https://zh.wikipedia.org/wiki/Special:WhatLinksHere?target=Use…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;这个机器人运行[[mediawikiwiki:Manual:Pywikibot|Pywikibot]]代码，可以根据你的设置自动将你的用户讨论页存档，机器人的存档操作&amp;#039;&amp;#039;&amp;#039;不会&amp;#039;&amp;#039;&amp;#039;触发新消息提示。机器人每天自动运行一次此程序，所以设置好之后请不要着急。&lt;br /&gt;
&lt;br /&gt;
以下用法仅供参考，实际用法以官方说明[[mediawikiwiki:Manual:Pywikibot/archivebot.py/setup]]为准。&lt;br /&gt;
&lt;br /&gt;
[https://zh.wikipedia.org/wiki/Special:WhatLinksHere?target=User%3AWcam%2FArchiveConfig&amp;amp;namespace=3 查看使用本功能的用户]&lt;br /&gt;
&lt;br /&gt;
=== 存档设置 ===&lt;br /&gt;
请把以下的设置模板放在页面的&amp;#039;&amp;#039;&amp;#039;最顶部&amp;#039;&amp;#039;&amp;#039;，不可以放在子页面中。每行只填写一个参数，即每个分隔符（|）应另起一行，最后的「}}」应独占一行：&lt;br /&gt;
&lt;br /&gt;
{{warning|请不要直接复制下方的几行代码，这只是解释用途，并不能正常使用。}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{User:Wcam/ArchiveConfig&lt;br /&gt;
| algo    = old(...)&lt;br /&gt;
| archive = 存档所在页面&lt;br /&gt;
[其他参数 - ***请先阅读下文***]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Well, maybe &amp;#039;&amp;#039;&amp;#039;not exactly&amp;#039;&amp;#039;&amp;#039; that (read about required options below), but that&amp;#039;s how it&amp;#039;s done. By the way, [[User:Wcam/ArchiveConfig|the template]] has &amp;#039;&amp;#039;&amp;#039;no content&amp;#039;&amp;#039;&amp;#039; and is sysop-&amp;#039;&amp;#039;&amp;#039;protected&amp;#039;&amp;#039;&amp;#039;, so don&amp;#039;t worry about visual appearance. :)&lt;br /&gt;
&lt;br /&gt;
The bot expects to see only one parameter per line. The closing }} must be on its own line. There must be no leading spaces before the pipes. If you drop out the newlines used in the above example, e.g. by wrapping the template invocation onto a single line, the bot may not do what you expect.&lt;br /&gt;
&lt;br /&gt;
Also, the template must be located:&lt;br /&gt;
#before the first ==second level header== on the page&lt;br /&gt;
#on the actual page and not transcluded from a subpage, such as a page header, etc.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 例子 ===&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:180%; color:Red;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;以下所有例子中，请把“User talk:Example”改成你的用户讨论页！&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
:&amp;lt;span style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;如果仍然不能正常工作，请阅读下方&amp;#039;&amp;#039;minthreadsleft&amp;#039;&amp;#039;和&amp;#039;&amp;#039;minthreadstoarchive&amp;#039;&amp;#039;参数的介绍。&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 例子一：固定存档页 ====&lt;br /&gt;
{{warning|尽管这是最简单的，但可能不是最好的选择，第二个例子更加常用}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{User:Wcam/ArchiveConfig&lt;br /&gt;
| algo    = old(7d)&lt;br /&gt;
| archive = User talk:Example/存档&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
这样的话机器人会把[[User talk:Example]]中7天以前的讨论存档至[[User talk:Example/存档]]。注意这个存档会一直增长，很有可能变得难以打开。&lt;br /&gt;
&lt;br /&gt;
==== 例子二：自动增加存档页 ====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{User:Wcam/ArchiveConfig&lt;br /&gt;
| algo                = old(31d)&lt;br /&gt;
| archive             = User talk:Example/存档%(counter)d&lt;br /&gt;
| counter             = 1&lt;br /&gt;
| maxarchivesize      = 70K&lt;br /&gt;
| archiveheader       = {{talkarchive}}&lt;br /&gt;
| minthreadstoarchive = 1&lt;br /&gt;
| minthreadsleft      = 4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
这告诉机器人存档超过31天（留下最近的四个）的讨论，从[[User talk:Example]]存档至[[User talk:Example/存档1]]，直到它的长度超过70K。这时，机器人会自动新建第二个存档页，并更新设置中的counter参数。请注意要设置一个&amp;#039;&amp;#039;&amp;#039;maxarchivesize&amp;#039;&amp;#039;&amp;#039;参数，否则会像第一种情况一样。此外，每个存档页顶部会加上{{tl|talkarchive}}模板，你也可以选择其他模板。&lt;br /&gt;
&lt;br /&gt;
==== 例子三：按日期存档 ====&lt;br /&gt;
{{warning|&amp;#039;&amp;#039;&amp;#039;不要&amp;#039;&amp;#039;&amp;#039;将下面的year等变量替换成实际的数值。}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{User:Wcam/ArchiveConfig&lt;br /&gt;
| algo    = old(5d)&lt;br /&gt;
| archive = User talk:Example/存档/%(year)d年/%(month)s月&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
这样设置以后，超过5天的讨论会按月存档。例如2013年2月的讨论会存档至[[User talk:Example/存档/2013年/2月]]。&lt;br /&gt;
&lt;br /&gt;
=== 参数解释 ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{User:Wcam/ArchiveConfig &lt;br /&gt;
| archive             = &lt;br /&gt;
| algo                = &lt;br /&gt;
| counter             = &lt;br /&gt;
| maxarchivesize      = &lt;br /&gt;
| minthreadsleft      = &lt;br /&gt;
| minthreadstoarchive = &lt;br /&gt;
| archiveheader       = &lt;br /&gt;
| key                 = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 参数 || 介绍&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;archive&amp;lt;/tt&amp;gt; || 存档页的名称。这个参数支持[[#变量|使用变量]]，可以由机器人根据变量的值（比如月份）来建立存档页。请注意不要加入模板或魔术字之类的东西。除非机器人的操作者给你提供了一个&amp;lt;tt&amp;gt;key&amp;lt;/tt&amp;gt;（见下方），存档页必须是被存档页面的子页面。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;algo&amp;lt;/tt&amp;gt; || 决定机器人是否存档一个讨论的算法。目前只有一种形式：&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;old(...)&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;，其中&amp;#039;&amp;#039;&amp;#039;...&amp;#039;&amp;#039;&amp;#039;表示一个讨论若多久没有新留言则会被存档（例如：&amp;#039;&amp;#039;24h&amp;#039;&amp;#039;、&amp;#039;&amp;#039;72h&amp;#039;&amp;#039;、&amp;#039;&amp;#039;5d&amp;#039;&amp;#039;、&amp;#039;&amp;#039;21d&amp;#039;&amp;#039;等等）&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;counter&amp;lt;/tt&amp;gt; || 存档页数的计数器。如果&amp;lt;tt&amp;gt;archive&amp;lt;/tt&amp;gt;参数没有使用变量&amp;lt;tt&amp;gt;%(counter)d&amp;lt;/tt&amp;gt;，那么这个参数会被忽略。如果你现在已有存档页，请把它设为当前的存档页数目。Wcam-bot在需要时会自动更新这个数值。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;maxarchivesize&amp;lt;/tt&amp;gt; || 存档页的最大长度。如果没有使用&amp;lt;tt&amp;gt;%(counter)d&amp;lt;/tt&amp;gt;则会被忽略。这个参数有两种形式：#K和#T。例如&amp;lt;tt&amp;gt;maxarchivesize=256K&amp;lt;/tt&amp;gt;表示最大长度为256KB，&amp;lt;tt&amp;gt;maxarchivesize=100T&amp;lt;/tt&amp;gt;表示最大长度为100个讨论（无论字节数为多少）。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;minthreadsleft&amp;lt;/tt&amp;gt; || 页面上最少留下的讨论数目（防止页面被清空），默认值为5。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;minthreadstoarchive&amp;lt;/tt&amp;gt; || 每次存档的讨论数目的最小值，用于降低编辑频率。Wcam-bot在可存档讨论数目低于此数值时不会进行存档，默认值为2。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;archiveheader&amp;lt;/tt&amp;gt; || 加在存档页顶部的内容。这个参数支持[[#变量|使用变量]]。注意这个参数&amp;#039;&amp;#039;&amp;#039;不能&amp;#039;&amp;#039;&amp;#039;使用多行文字。你可以在存档页顶部加上你的存档索引，默认值为{{tl|talk archive}}。&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;key&amp;lt;/tt&amp;gt; || 将页面内容存档至子页面以外的地方需要本参数，以尽量避免恶作剧、破坏。&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== 变量 ===&lt;br /&gt;
{| class = &amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 变量 || 意义&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(counter)d&amp;lt;/tt&amp;gt; || &amp;lt;tt&amp;gt;counter&amp;lt;/tt&amp;gt;的当前数值&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(year)d&amp;lt;/tt&amp;gt; || 待存档讨论的年份&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(month)d&amp;lt;/tt&amp;gt; || 待存档讨论的月份&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(quarter)d&amp;lt;/tt&amp;gt; || 待存档讨论的季度（1-4）&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(monthname)s&amp;lt;/tt&amp;gt; || 英文月份名称，中文版不需要&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;%(monthnameshort)s&amp;lt;/tt&amp;gt; || 英文月份简称，中文版不需要&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Those [[python (programming language)|python]]-savvy people will immediately recognize these variables are filled at runtime with the &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; operator and should know how to adjust the format. A few points of interest to others:&lt;br /&gt;
*make sure you don&amp;#039;t mess up the last letter after the brackets (it&amp;#039;s &amp;quot;d&amp;quot; for [[integer]]s and &amp;quot;s&amp;quot; for [[string (computer science)|strings]])&lt;br /&gt;
*integer variables may be left-padded with zeros:&lt;br /&gt;
*:&amp;lt;tt&amp;gt;%(counter)03d&amp;lt;/tt&amp;gt; evaluates to &amp;lt;tt&amp;gt;013&amp;lt;/tt&amp;gt; if the &amp;lt;tt&amp;gt;counter&amp;lt;/tt&amp;gt;&amp;#039;s value equals 13,&lt;br /&gt;
*:&amp;lt;tt&amp;gt;%(month)02d&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;05&amp;lt;/tt&amp;gt; for May etc.&lt;br /&gt;
&lt;br /&gt;
=== After you have set up archiving ===&lt;br /&gt;
The bot runs once a day at a preset hour, or twice a day for [[WP:Administrators&amp;#039; Noticeboard|WP:AN]] and [[Wikipedia:Administrators&amp;#039; noticeboard/Incidents|WP:AN/I]]. Simply wait for the next cycle and you should see the bot&amp;#039;s entries in the history list of your article &amp;#039;&amp;#039;&amp;#039;providing&amp;#039;&amp;#039;&amp;#039; there was anything to archive, and the history list entry should provide a link to the archive page you specified.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Various [[WP:TM|templates]] will produce an automatic list of archive subpages.  Typically, such a template will be added to the top-level talk page to make archives easier to find.  Simply add the template name in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{curly-braces}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; where you want it to appear.  Popular templates used for this purpose include:&lt;br /&gt;
* &amp;lt;code&amp;gt;{{tl|archives}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;{{tl|archive box}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;{{tl|talk header}}&amp;lt;/code&amp;gt; (this template has other functions, but can include a list of archives and a search box)&lt;br /&gt;
&lt;br /&gt;
=== Delaying or preventing archiving of particular threads ===&lt;br /&gt;
Archiving can be delayed for a particular thread by substituting the template {{tl|DNAU}} into the thread.  Use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:DNAU}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to retain a thread indefinitely, or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:DNAU|&amp;lt;integer&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to retain a thread for &amp;lt;integer&amp;gt; days.  see the template documentation for details about its use and function.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- 本行下加入模板的分類 --&amp;gt;&lt;br /&gt;
[[Category:机器人控制模板]]&lt;br /&gt;
&amp;lt;!-- 本行下加入模板的跨語言鏈接 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hehua</name></author>
	</entry>
</feed>