<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mcbbs.wiki/index.php?action=history&amp;feed=atom&amp;title=%E5%BE%AE%E4%BB%B6%3ASaltDisplayTitle</id>
	<title>微件:SaltDisplayTitle - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mcbbs.wiki/index.php?action=history&amp;feed=atom&amp;title=%E5%BE%AE%E4%BB%B6%3ASaltDisplayTitle"/>
	<link rel="alternate" type="text/html" href="https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;action=history"/>
	<updated>2026-05-05T18:35:32Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.40.3</generator>
	<entry>
		<id>https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=48465&amp;oldid=prev</id>
		<title>Litwak913：​// Edit via Wikiplus</title>
		<link rel="alternate" type="text/html" href="https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=48465&amp;oldid=prev"/>
		<updated>2023-05-06T04:40:15Z</updated>

		<summary type="html">&lt;p&gt;// Edit via Wikiplus&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;2023年5月6日 (六) 12:40的版本&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-l1&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&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;&amp;lt;noinclude&amp;gt;&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;&amp;lt;noinclude&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;已弃用，请使用&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{DISPLAYTITLE}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;魔术字代替。&lt;/ins&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;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mcbbs_wiki:diff::1.12:old-25569:rev-48465 --&gt;
&lt;/table&gt;</summary>
		<author><name>Litwak913</name></author>
	</entry>
	<entry>
		<id>https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=25569&amp;oldid=prev</id>
		<title>Salt lovely：​// Edit via Wikiplus</title>
		<link rel="alternate" type="text/html" href="https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=25569&amp;oldid=prev"/>
		<updated>2021-01-05T10:57:27Z</updated>

		<summary type="html">&lt;p&gt;// Edit via Wikiplus&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;2021年1月5日 (二) 18:57的版本&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;div&gt;&amp;lt;pre&amp;gt;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&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;&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&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;&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&amp;lt;script&lt;/ins&gt;&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;/*&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;搬运须知: 您必须在**显眼处**标识来源“MCBBS Wiki”与作者“Salt_lovely”, **不**接受任何形式的简称或不署名。&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;搬运须知: 您必须在**显眼处**标识来源“MCBBS Wiki”与作者“Salt_lovely”, **不**接受任何形式的简称或不署名。&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-l38&quot;&gt;第38行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第38行：&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;})&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; 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;&amp;lt;/includeonly&amp;gt;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/ins&gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mcbbs_wiki:diff::1.12:old-25568:rev-25569 --&gt;
&lt;/table&gt;</summary>
		<author><name>Salt lovely</name></author>
	</entry>
	<entry>
		<id>https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=25568&amp;oldid=prev</id>
		<title>Salt lovely：​创建页面，内容为“&lt;noinclude&gt; &lt;pre&gt;&lt;span id=&quot;saltchangetitle&quot;&gt;小部件:盐式标题转换&lt;/span&gt;{{#Widget:SaltDisplayTitle}}&lt;/pre&gt; &lt;span id=&quot;saltchangetitle&quot;&gt;小部件:盐式标题…”</title>
		<link rel="alternate" type="text/html" href="https://mcbbs.wiki/index.php?title=%E5%BE%AE%E4%BB%B6:SaltDisplayTitle&amp;diff=25568&amp;oldid=prev"/>
		<updated>2021-01-05T10:56:50Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“&amp;lt;noinclude&amp;gt; &amp;lt;pre&amp;gt;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&amp;lt;/pre&amp;gt; &amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;saltchangetitle&amp;quot;&amp;gt;小部件:盐式标题转换&amp;lt;/span&amp;gt;{{#Widget:SaltDisplayTitle}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
搬运须知: 您必须在**显眼处**标识来源“MCBBS Wiki”与作者“Salt_lovely”, **不**接受任何形式的简称或不署名。&lt;br /&gt;
Notice: You have to mark origin &amp;quot;MCBBS Wiki&amp;quot; and author &amp;quot;Salt_lovely&amp;quot; in CONSPICUOS PLACE, abbreviation or omissions are NOT allowed.&lt;br /&gt;
许可证: CC BY-NC-SA 4.0&lt;br /&gt;
License: CC BY-NC-SA 4.0&lt;br /&gt;
*/&lt;br /&gt;
document.addEventListener(&amp;#039;DOMContentLoaded&amp;#039;, function () {&lt;br /&gt;
    // if (document.readyState != &amp;#039;interactive&amp;#039;) { return }&lt;br /&gt;
    let h1 = document.querySelector(&amp;#039;#firstHeading&amp;#039;) || document.querySelector(&amp;#039;h1&amp;#039;)&lt;br /&gt;
    let changeTitle = document.querySelector(&amp;#039;#saltchangetitle&amp;#039;)&lt;br /&gt;
    if (!h1 || !changeTitle || !(h1 instanceof HTMLElement) || !(changeTitle instanceof HTMLElement) || h1.hasAttribute(&amp;#039;salt-display&amp;#039;)) { return }&lt;br /&gt;
    changeTitle.style.display = &amp;#039;none&amp;#039;&lt;br /&gt;
    let displayTitle = changeTitle.textContent || &amp;#039;&amp;#039;&lt;br /&gt;
    if (displayTitle.length &amp;lt; 1) { return }&lt;br /&gt;
    h1.setAttribute(&amp;#039;salt-display&amp;#039;, displayTitle)&lt;br /&gt;
    exchangeText(h1)&lt;br /&gt;
    h1.addEventListener(&amp;#039;click&amp;#039;, () =&amp;gt; { exchangeText(h1) })&lt;br /&gt;
    h1.style.cursor = &amp;#039;pointer&amp;#039; // 鼠标指针设为手指 | set mouse cursor as pointer&lt;br /&gt;
    function exchangeText(h1) {&lt;br /&gt;
        if (!h1 || !(h1 instanceof HTMLElement)) { return }&lt;br /&gt;
        if (h1.hasAttribute(&amp;#039;modified&amp;#039;)) {&lt;br /&gt;
            let o = h1.getAttribute(&amp;#039;salt-display&amp;#039;), d = h1.textContent&lt;br /&gt;
            h1.textContent = o&lt;br /&gt;
            h1.setAttribute(&amp;#039;salt-display&amp;#039;, d)&lt;br /&gt;
            h1.removeAttribute(&amp;#039;modified&amp;#039;)&lt;br /&gt;
            h1.removeAttribute(&amp;#039;title&amp;#039;)&lt;br /&gt;
        } else {&lt;br /&gt;
            let o = h1.getAttribute(&amp;#039;salt-display&amp;#039;), d = h1.textContent&lt;br /&gt;
            h1.textContent = o&lt;br /&gt;
            h1.setAttribute(&amp;#039;salt-display&amp;#039;, d)&lt;br /&gt;
            h1.setAttribute(&amp;#039;modified&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
            h1.setAttribute(&amp;#039;title&amp;#039;, &amp;#039;原页面名: &amp;#039; + d) // h1.setAttribute(&amp;#039;title&amp;#039;, &amp;#039;OriginalName: &amp;#039; + d)&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Salt lovely</name></author>
	</entry>
</feed>