<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://hmoegirl.com/index.php?action=history&amp;feed=atom&amp;title=Widget%3AGadgetsToc</id>
	<title>Widget:GadgetsToc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://hmoegirl.com/index.php?action=history&amp;feed=atom&amp;title=Widget%3AGadgetsToc"/>
	<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;action=history"/>
	<updated>2026-07-18T18:14:02Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=72081&amp;oldid=prev</id>
		<title>BakeWater：​文本替换 - 替换“window.RLQ = window.RLQ || [];&amp;#8629;”为“”</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=72081&amp;oldid=prev"/>
		<updated>2022-11-20T09:15:59Z</updated>

		<summary type="html">&lt;p&gt;文本替换 - 替换“window.RLQ = window.RLQ || [];↵”为“”&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年11月20日 (日) 17:15的版本&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;&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;noinclude&amp;gt;Only for [[Special:小工具]]&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgGadgetsToc) || !$wgGadgetsToc}--&amp;gt;&amp;lt;!--{assign var=&amp;quot;wgGadgetsToc&amp;quot; value=true scope=&amp;quot;global&amp;quot;}--&amp;gt;&amp;lt;script&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;noinclude&amp;gt;Only for [[Special:小工具]]&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgGadgetsToc) || !$wgGadgetsToc}--&amp;gt;&amp;lt;!--{assign var=&amp;quot;wgGadgetsToc&amp;quot; value=true scope=&amp;quot;global&amp;quot;}--&amp;gt;&amp;lt;script&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;quot;use strict&amp;quot;;&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;quot;use strict&amp;quot;;&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;window.RLQ = window.RLQ || [];&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;div&gt;window.addEventListener(&amp;#039;jquery-ready&amp;#039;, async () =&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;window.addEventListener(&amp;#039;jquery-ready&amp;#039;, async () =&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;     await Promise.all([mw.loader.using(&amp;quot;ext.gadget.site-lib&amp;quot;), $.ready]);&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;     await Promise.all([mw.loader.using(&amp;quot;ext.gadget.site-lib&amp;quot;), $.ready]);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BakeWater</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=72058&amp;oldid=prev</id>
		<title>BakeWater：​文本替换 - 替换“window.RLQ.push(”为“window.addEventListener(&#039;jquery-ready&#039;, ”</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=72058&amp;oldid=prev"/>
		<updated>2022-11-20T09:15:02Z</updated>

		<summary type="html">&lt;p&gt;文本替换 - 替换“window.RLQ.push(”为“window.addEventListener(&amp;#039;jquery-ready&amp;#039;, ”&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年11月20日 (日) 17:15的版本&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;quot;use strict&amp;quot;;&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;quot;use strict&amp;quot;;&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;window.RLQ = window.RLQ || [];&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;window.RLQ = window.RLQ || [];&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;window.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RLQ.push&lt;/del&gt;(async () =&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;window.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addEventListener&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;jquery-ready&#039;, &lt;/ins&gt;async () =&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;     await Promise.all([mw.loader.using(&amp;quot;ext.gadget.site-lib&amp;quot;), $.ready]);&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;     await Promise.all([mw.loader.using(&amp;quot;ext.gadget.site-lib&amp;quot;), $.ready]);&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;     const root = $(&amp;quot;#mw-content-text&amp;quot;);&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;     const root = $(&amp;quot;#mw-content-text&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BakeWater</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58737&amp;oldid=prev</id>
		<title>2022年2月21日 (一) 09:59 imported&gt;Irukaza</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58737&amp;oldid=prev"/>
		<updated>2022-02-21T09:59:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年2月21日 (一) 17:59的版本&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-l9&quot;&gt;第9行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第9行：&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    tocRoot.html(&#039;&amp;lt;div class=&quot;toctitle&quot;&amp;gt;&amp;lt;h1&amp;gt;&#039; + wgULS(&quot;目录&quot;) + &#039;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&#039;);&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;div&gt;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     root.find(&amp;quot;h2&amp;quot;).each((_, ele) =&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;     root.find(&amp;quot;h2&amp;quot;).each((_, ele) =&amp;gt; {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Irukaza</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58736&amp;oldid=prev</id>
		<title>2022年2月21日 (一) 09:44 imported&gt;Irukaza</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58736&amp;oldid=prev"/>
		<updated>2022-02-21T09:44:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年2月21日 (一) 17:44的版本&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-l9&quot;&gt;第9行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第9行：&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;     tocRoot.html(&#039;&amp;lt;div class=&quot;toctitle&quot;&amp;gt;&amp;lt;h1&amp;gt;&#039; + wgULS(&quot;目录&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;, &quot;目錄&lt;/del&gt;&quot;) + &#039;&amp;lt;/h1&amp;gt;&amp;lt;/div&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;     tocRoot.html(&#039;&amp;lt;div class=&quot;toctitle&quot;&amp;gt;&amp;lt;h1&amp;gt;&#039; + wgULS(&quot;目录&quot;) + &#039;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&#039;);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     root.find(&amp;quot;h2&amp;quot;).each((_, ele) =&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;     root.find(&amp;quot;h2&amp;quot;).each((_, ele) =&amp;gt; {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Irukaza</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58735&amp;oldid=prev</id>
		<title>2022年2月21日 (一) 09:41 imported&gt;Irukaza</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58735&amp;oldid=prev"/>
		<updated>2022-02-21T09:41:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年2月21日 (一) 17:41的版本&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;div&gt;     tocRoot.html(&amp;#039;&amp;lt;div class=&amp;quot;toctitle&amp;quot;&amp;gt;&amp;lt;h1&amp;gt;&amp;#039; + wgULS(&amp;quot;目录&amp;quot;, &amp;quot;目錄&amp;quot;) + &amp;#039;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;);&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;     tocRoot.html(&amp;#039;&amp;lt;div class=&amp;quot;toctitle&amp;quot;&amp;gt;&amp;lt;h1&amp;gt;&amp;#039; + wgULS(&amp;quot;目录&amp;quot;, &amp;quot;目錄&amp;quot;) + &amp;#039;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     root.find(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h1&lt;/del&gt;&quot;).each((_, ele) =&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;     root.find(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h2&lt;/ins&gt;&quot;).each((_, ele) =&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;         const $ele = $(ele);&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;         const $ele = $(ele);&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;         const next = $ele.next();&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;         const next = $ele.next();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Irukaza</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58734&amp;oldid=prev</id>
		<title>2022年2月21日 (一) 09:40 imported&gt;Irukaza</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58734&amp;oldid=prev"/>
		<updated>2022-02-21T09:40:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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&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;2022年2月21日 (一) 17: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-l9&quot;&gt;第9行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第9行：&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&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;     tocRoot.html(&#039;&amp;lt;div class=&quot;toctitle&quot;&amp;gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h2&lt;/del&gt;&amp;gt;&#039; + wgULS(&quot;目录&quot;, &quot;目錄&quot;) + &#039;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h2&lt;/del&gt;&amp;gt;&amp;lt;/div&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;     tocRoot.html(&#039;&amp;lt;div class=&quot;toctitle&quot;&amp;gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h1&lt;/ins&gt;&amp;gt;&#039; + wgULS(&quot;目录&quot;, &quot;目錄&quot;) + &#039;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h1&lt;/ins&gt;&amp;gt;&amp;lt;/div&amp;gt;&#039;);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&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;     root.find(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h2&lt;/del&gt;&quot;).each((_, ele) =&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;     root.find(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;h1&lt;/ins&gt;&quot;).each((_, ele) =&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;         const $ele = $(ele);&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;         const $ele = $(ele);&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;         const next = $ele.next();&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;         const next = $ele.next();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Irukaza</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58733&amp;oldid=prev</id>
		<title>imported&gt;Irukaza：​创建页面，内容为“&lt;noinclude&gt;Only for Special:小工具&lt;/noinclude&gt;&lt;includeonly&gt;&lt;!--{if !isset($wgGadgetsToc) || !$wgGadgetsToc}--&gt;&lt;!--{assign var=&quot;wgGadgetsToc&quot; value=true scope=…”</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:GadgetsToc&amp;diff=58733&amp;oldid=prev"/>
		<updated>2022-02-21T09:33:48Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“&amp;lt;noinclude&amp;gt;Only for &lt;a href=&quot;/Special:Gadgets&quot; title=&quot;Special:Gadgets&quot;&gt;Special:小工具&lt;/a&gt;&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgGadgetsToc) || !$wgGadgetsToc}--&amp;gt;&amp;lt;!--{assign var=&amp;quot;wgGadgetsToc&amp;quot; value=true scope=…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;Only for [[Special:小工具]]&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgGadgetsToc) || !$wgGadgetsToc}--&amp;gt;&amp;lt;!--{assign var=&amp;quot;wgGadgetsToc&amp;quot; value=true scope=&amp;quot;global&amp;quot;}--&amp;gt;&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;quot;use strict&amp;quot;;&lt;br /&gt;
window.RLQ = window.RLQ || [];&lt;br /&gt;
window.RLQ.push(async () =&amp;gt; {&lt;br /&gt;
    await Promise.all([mw.loader.using(&amp;quot;ext.gadget.site-lib&amp;quot;), $.ready]);&lt;br /&gt;
    const root = $(&amp;quot;#mw-content-text&amp;quot;);&lt;br /&gt;
    const tocRoot = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).attr({&lt;br /&gt;
        id: &amp;quot;toc&amp;quot;,&lt;br /&gt;
        &amp;quot;class&amp;quot;: &amp;quot;toc&amp;quot;,&lt;br /&gt;
    });&lt;br /&gt;
    tocRoot.html(&amp;#039;&amp;lt;div class=&amp;quot;toctitle&amp;quot;&amp;gt;&amp;lt;h2&amp;gt;&amp;#039; + wgULS(&amp;quot;目录&amp;quot;, &amp;quot;目錄&amp;quot;) + &amp;#039;&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;);&lt;br /&gt;
    const container = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;).addClass(&amp;quot;gadgetsTocContainer&amp;quot;).appendTo(tocRoot);&lt;br /&gt;
    root.find(&amp;quot;h2&amp;quot;).each((_, ele) =&amp;gt; {&lt;br /&gt;
        const $ele = $(ele);&lt;br /&gt;
        const next = $ele.next();&lt;br /&gt;
        if (!next.is(&amp;quot;ul&amp;quot;)) {&lt;br /&gt;
            return;&lt;br /&gt;
        }&lt;br /&gt;
        const list = next.children(&amp;quot;li&amp;quot;);&lt;br /&gt;
        if (list.length === 0) {&lt;br /&gt;
            return;&lt;br /&gt;
        }&lt;br /&gt;
        const clone = $ele.clone();&lt;br /&gt;
        clone.children(&amp;quot;a&amp;quot;).last().remove();&lt;br /&gt;
        const toc = $(&amp;quot;&amp;lt;div&amp;gt;&amp;quot;);&lt;br /&gt;
        toc.append($(&amp;quot;&amp;lt;h3&amp;gt;&amp;quot;).text(clone.text().trim().replace(/\[\]$/, &amp;quot;&amp;quot;).trim()));&lt;br /&gt;
        const ul = $(&amp;quot;&amp;lt;ul&amp;gt;&amp;quot;).appendTo(toc);&lt;br /&gt;
        for (const li of list) {&lt;br /&gt;
            const a = $(&amp;quot;&amp;lt;a&amp;gt;&amp;quot;).attr(&amp;quot;href&amp;quot;, `#${li.id}`);&lt;br /&gt;
            const c = $(li).clone();&lt;br /&gt;
            const br = c[0].querySelector(&amp;quot;br&amp;quot;);&lt;br /&gt;
            while (br.nextSibling) {&lt;br /&gt;
                br.nextSibling.remove();&lt;br /&gt;
            }&lt;br /&gt;
            br.remove();&lt;br /&gt;
            c.find(&amp;quot;a&amp;quot;).filter((_, { href }) =&amp;gt; /[?&amp;amp;]action=edit|\/export\//.test(href)).remove();&lt;br /&gt;
            c.find(&amp;quot;small, sub, sup&amp;quot;).remove();&lt;br /&gt;
            a.text(c.text().replace(/[\s（）|()]+/g, &amp;quot;&amp;quot;).trim());&lt;br /&gt;
            $(&amp;quot;&amp;lt;li&amp;gt;&amp;quot;).append(a).appendTo(ul);&lt;br /&gt;
        }&lt;br /&gt;
        container.append(toc);&lt;br /&gt;
    });&lt;br /&gt;
    if (container.children().length &amp;gt; 0) {&lt;br /&gt;
        root.find(&amp;quot;h2&amp;quot;).first().before(tocRoot);&lt;br /&gt;
    }&lt;br /&gt;
    $(window).on(&amp;quot;hashchange&amp;quot;, () =&amp;gt; {&lt;br /&gt;
        try {&lt;br /&gt;
            const target = root.find(location.hash);&lt;br /&gt;
            if (target.length &amp;gt; 0) {&lt;br /&gt;
                $(&amp;quot;.highlight&amp;quot;).removeClass(&amp;quot;highlight&amp;quot;);&lt;br /&gt;
                target.addClass(&amp;quot;highlight&amp;quot;);&lt;br /&gt;
            }&lt;br /&gt;
        } catch { }&lt;br /&gt;
    }).trigger(&amp;quot;hashchange&amp;quot;);&lt;br /&gt;
    mw.loader.using([&amp;quot;ext.gadget.GiveYouUp&amp;quot;, &amp;quot;ext.gadget.site-js&amp;quot;, &amp;quot;ext.gadget.site-styles&amp;quot;, &amp;quot;ext.gadget.desktop-styles&amp;quot;, &amp;quot;site&amp;quot;, &amp;quot;site.styles&amp;quot;]);&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/script&amp;gt;&amp;lt;style&amp;gt;&lt;br /&gt;
.gadgetsTocContainer {&lt;br /&gt;
    display: flex;&lt;br /&gt;
    flex-wrap: wrap;&lt;br /&gt;
    align-content: flex-start;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.gadgetsTocContainer h3 {&lt;br /&gt;
    padding: 0;&lt;br /&gt;
    margin: 0;&lt;br /&gt;
    font-size: 100%;&lt;br /&gt;
    font-family: sans-serif;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.gadgetsTocContainer&amp;gt;div {&lt;br /&gt;
    padding: 0 .5rem;&lt;br /&gt;
    margin-top: .5rem;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.gadgetsTocContainer&amp;gt;div:not(:first-child) {&lt;br /&gt;
    border-left: 1px gray solid;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.gadgetsTocContainer ul {&lt;br /&gt;
    list-style: revert;&lt;br /&gt;
    margin-left: 1.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#mw-content-text .highlight {&lt;br /&gt;
    background-color: #ffd70055;&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&amp;lt;!--{/if}--&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Irukaza</name></author>
	</entry>
</feed>