<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.ztm0929.cn/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACitizen.js</id>
	<title>MediaWiki:Citizen.js - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ztm0929.cn/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACitizen.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;action=history"/>
	<updated>2026-07-10T04:03:59Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1608&amp;oldid=prev</id>
		<title>天明：​完善整体逻辑</title>
		<link rel="alternate" type="text/html" href="https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1608&amp;oldid=prev"/>
		<updated>2025-09-27T22:12:54Z</updated>

		<summary type="html">&lt;p&gt;完善整体逻辑&lt;/p&gt;
&lt;a href=&quot;https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;amp;diff=1608&amp;amp;oldid=1607&quot;&gt;显示更改&lt;/a&gt;</summary>
		<author><name>天明</name></author>
	</entry>
	<entry>
		<id>https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1607&amp;oldid=prev</id>
		<title>天明：​补充class以匹配自带格式</title>
		<link rel="alternate" type="text/html" href="https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1607&amp;oldid=prev"/>
		<updated>2025-09-27T22:09:57Z</updated>

		<summary type="html">&lt;p&gt;补充class以匹配自带格式&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;2025年9月28日 (日) 06:09的版本&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-l10&quot;&gt;第10行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第10行：&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;         if ($smw.length) {&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;         if ($smw.length) {&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;             $smw.after(&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;             $smw.after(&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;&#039;&amp;lt;li id=&quot;footer-poweredbycitizenico&quot;&amp;gt;&#039; +&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;			  &lt;/ins&gt;&#039;&amp;lt;li id=&quot;footer-poweredbycitizenico&quot;&amp;gt;&#039; +&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;&#039;&amp;lt;a href=&quot;https://github.com/StarCitizenTools/mediawiki-skins-Citizen&quot; target=&quot;_blank&quot;&amp;gt;&#039; +&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;			    &lt;/ins&gt;&#039;&amp;lt;a href=&quot;https://github.com/StarCitizenTools/mediawiki-skins-Citizen&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; +&lt;/ins&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                &lt;/del&gt;&#039;&amp;lt;img src=&quot;/resources/assets/poweredby-citizen-dark.svg&quot; alt=&quot;Powered by Citizen&quot; width=&quot;88&quot; height=&quot;31&quot; loading=&quot;lazy&quot;&amp;gt;&#039; +&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;			       &#039;class=&quot;cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled&quot; &#039; +&lt;/ins&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                &lt;/del&gt;&#039;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#039;&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;			       &#039;&lt;/ins&gt;target=&quot;_blank&quot;&amp;gt;&#039; +&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 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;			      &lt;/ins&gt;&#039;&amp;lt;img src=&quot;/resources/assets/poweredby-citizen-dark.svg&quot; alt=&quot;Powered by Citizen&quot; width=&quot;88&quot; height=&quot;31&quot; loading=&quot;lazy&quot;&amp;gt;&#039; +&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;			    &lt;/ins&gt;&#039;&amp;lt;/a&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; +&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;			  &#039;&lt;/ins&gt;&amp;lt;/li&amp;gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;			&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;         }&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;/table&gt;</summary>
		<author><name>天明</name></author>
	</entry>
	<entry>
		<id>https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1606&amp;oldid=prev</id>
		<title>天明：​添加页脚logo</title>
		<link rel="alternate" type="text/html" href="https://wiki.ztm0929.cn/index.php?title=MediaWiki:Citizen.js&amp;diff=1606&amp;oldid=prev"/>
		<updated>2025-09-27T22:07:09Z</updated>

		<summary type="html">&lt;p&gt;添加页脚logo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* 这里所有JavaScript都会加载给Citizen皮肤的用户 */&lt;br /&gt;
&lt;br /&gt;
// 添加powered by logo&lt;br /&gt;
$(function () {&lt;br /&gt;
    // 插入 Citizen footer 图标&lt;br /&gt;
    function ensureCitizenFooterIcon() {&lt;br /&gt;
        if ($(&amp;#039;#footer-poweredbycitizenico&amp;#039;).length) return;&lt;br /&gt;
&lt;br /&gt;
        var $smw = $(&amp;#039;#footer-poweredbysmwico&amp;#039;);&lt;br /&gt;
        if ($smw.length) {&lt;br /&gt;
            $smw.after(&lt;br /&gt;
                &amp;#039;&amp;lt;li id=&amp;quot;footer-poweredbycitizenico&amp;quot;&amp;gt;&amp;#039; +&lt;br /&gt;
                &amp;#039;&amp;lt;a href=&amp;quot;https://github.com/StarCitizenTools/mediawiki-skins-Citizen&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;#039; +&lt;br /&gt;
                &amp;#039;&amp;lt;img src=&amp;quot;/resources/assets/poweredby-citizen-dark.svg&amp;quot; alt=&amp;quot;Powered by Citizen&amp;quot; width=&amp;quot;88&amp;quot; height=&amp;quot;31&amp;quot; loading=&amp;quot;lazy&amp;quot;&amp;gt;&amp;#039; +&lt;br /&gt;
                &amp;#039;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;#039;&lt;br /&gt;
            );&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    ensureCitizenFooterIcon();&lt;br /&gt;
&lt;br /&gt;
    // 监听主题切换，更新图标&lt;br /&gt;
    function updateCitizenIcon() {&lt;br /&gt;
        var theme = document.documentElement.classList.contains(&amp;#039;skin-theme-clientpref-night&amp;#039;) ? &amp;#039;dark&amp;#039; : &amp;#039;light&amp;#039;;&lt;br /&gt;
        var src = theme === &amp;#039;dark&amp;#039; ? &amp;#039;/resources/assets/poweredby-citizen-dark.svg&amp;#039; : &amp;#039;/resources/assets/poweredby-citizen.svg&amp;#039;;&lt;br /&gt;
        $(&amp;#039;#footer-poweredbycitizenico img&amp;#039;).attr(&amp;#039;src&amp;#039;, src);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    updateCitizenIcon();&lt;br /&gt;
    var htmlObserver = new MutationObserver(updateCitizenIcon);&lt;br /&gt;
    htmlObserver.observe(document.documentElement, { attributes: true, attributeFilter: [&amp;#039;class&amp;#039;] });&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>天明</name></author>
	</entry>
</feed>