<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://test.zybkcn.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-AutoLink.js</id>
	<title>MediaWiki:Gadget-AutoLink.js - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://test.zybkcn.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-AutoLink.js"/>
	<link rel="alternate" type="text/html" href="https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;action=history"/>
	<updated>2026-07-18T00:50:31Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=367&amp;oldid=prev</id>
		<title>2026年6月15日 (一) 12:50 鹿野耕云</title>
		<link rel="alternate" type="text/html" href="https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=367&amp;oldid=prev"/>
		<updated>2026-06-15T12:50:10Z</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&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月15日 (一) 20:50的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第6行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第6行：&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; * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}&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; * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}&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; * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}&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; * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}&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; * @license CC-BY-SA-4.0 {@link https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;creativecommons&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;licenses&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sa/&lt;/del&gt;4.0&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; * @license CC-BY-SA-4.0 {@link https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;qiuwenbaike.cn&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiki&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;H:CC-BY-SA&lt;/ins&gt;-4.0&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; 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;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * Adapted for 中医百科 wiki.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * - Replaced Qiuwen namespace references with 中医百科/Project namespace&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * - Fixed minor regex bug in non-diff regexOtherPages (Q → [Ww])&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; */&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;!-- diff cache key zybkcn_com:diff:1.41:old-366:rev-367:wikidiff2=table:1.14.2:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>鹿野耕云</name></author>
	</entry>
	<entry>
		<id>https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=366&amp;oldid=prev</id>
		<title>2026年6月15日 (一) 12:46 鹿野耕云</title>
		<link rel="alternate" type="text/html" href="https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=366&amp;oldid=prev"/>
		<updated>2026-06-15T12:46:53Z</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&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月15日 (一) 20:46的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第6行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第6行：&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; * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}&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; * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}&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; * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}&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; * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}&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; * @license CC-BY-SA-4.0 {@link https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;qiuwenbaike.cn&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiki&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;H:CC-BY-SA&lt;/del&gt;-4.0}&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; * @license CC-BY-SA-4.0 {@link https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;creativecommons&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;licenses&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sa/&lt;/ins&gt;4.0&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 colspan=&quot;2&quot; class=&quot;diff-empty 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;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * Adapted for 中医百科 wiki.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * - Replaced Qiuwen namespace references with 中医百科/Project namespace&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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; * - Fixed minor regex bug in non-diff regexOtherPages (Q → [Ww])&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;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第111行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第115行：&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;//! src/AutoLink/modules/constant.ts&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;//! src/AutoLink/modules/constant.ts&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;var REGEX_INTERNAL_URL = /([^=])([\s&quot;&#039;])((?:\/?w\/index\.php\?|\/?index\.php\?|\/?wiki\/)[\w!#%&amp;amp;()+./:=?@\\~-]+)\2/g;&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;var REGEX_INTERNAL_URL = /([^=])([\s&quot;&#039;])((?:\/?w\/index\.php\?|\/?index\.php\?|\/?wiki\/)[\w!#%&amp;amp;()+./:=?@\\~-]+)\2/g;&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;var REGEX_IMPORT_SCRIPT = /([Ii]mport[Ss]cript(?:&amp;lt;span class=&quot;br0&quot;&amp;gt;)?&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/del&gt;(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&quot;st0&quot;&amp;gt;)?)(&#039;|&quot;)([^\n&amp;lt;&amp;gt;[\]{|}]+?)(\2(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&quot;br0&quot;&amp;gt;)?&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/del&gt;(?:&amp;lt;\/span&amp;gt;)?)/g;&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;var REGEX_IMPORT_SCRIPT = /([Ii]mport[Ss]cript(?:&amp;lt;span class=&quot;br0&quot;&amp;gt;)?&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\(&lt;/ins&gt;(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&quot;st0&quot;&amp;gt;)?)(&#039;|&quot;)([^\n&amp;lt;&amp;gt;[\]{|}]+?)(\2(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&quot;br0&quot;&amp;gt;)?&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\)&lt;/ins&gt;(?:&amp;lt;\/span&amp;gt;)?)/g;&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;var REGEX_TL = /([^{]{{2}\s*[Tt]l\|)([^\n:&amp;lt;&amp;gt;[\]{|}]+)/g;&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;var REGEX_TL = /([^{]{{2}\s*[Tt]l\|)([^\n:&amp;lt;&amp;gt;[\]{|}]+)/g;&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;var REGEX_URL = /((?:[^&quot;[]|[^=]&quot;)(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+?)(?=(?:&amp;lt;\/span&amp;gt;)?[\s&quot;&#039;)\]|}])/g;&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;var REGEX_URL = /((?:[^&quot;[]|[^=]&quot;)(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+?)(?=(?:&amp;lt;\/span&amp;gt;)?[\s&quot;&#039;)\]|}])/g;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第120行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第124行：&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;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;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;  let isActivateHTML = false;&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;  let isActivateHTML = false;&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;  let regexURLinWikicodeWithoutLabel = /((?:[^[]|^)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)([^\n&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;]*])/gm;&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;  let regexURLinWikicodeWithoutLabel = /((?:[^[]|^)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)([^\n&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;]*])/gm;&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;  let regexSubstinWikicodeWithoutLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexSubstinWikicodeWithoutLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexURLinWikicodeWithLabel = regexURLinWikicodeWithoutLabel;&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;  let regexURLinWikicodeWithLabel = regexURLinWikicodeWithoutLabel;&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;  let regexSubstinWikicodeWithLabel = regexSubstinWikicodeWithoutLabel;&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;  let regexSubstinWikicodeWithLabel = regexSubstinWikicodeWithoutLabel;&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;  let regexOtherPages = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)((?:[Ss]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;peciale?&lt;/del&gt;|[Ww][Pp]|[Tt]emplate|[Uu]ser)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2})/gm;&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;  let regexOtherPages = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)((?:[Ss]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pecial|[Pp]roject&lt;/ins&gt;|[Ww][Pp]|[Tt]emplate|[Uu]ser&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|中医百科&lt;/ins&gt;)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2})/gm;&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;  let regexSubstinOtherPages = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexSubstinOtherPages = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexTemplate = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2}|:)/gm;&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;  let regexTemplate = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2}|:)/gm;&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;  let regexSubstinTemplate = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexSubstinTemplate = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/Template:$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexWikilink1 = /(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)([^\n&amp;lt;&amp;gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:[^\n\]]|][^\]])*]{2})/g;&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;  let regexWikilink1 = /(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?\s*)([^\n&amp;lt;&amp;gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&quot;diffchange&quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:[^\n\]]|][^\]])*]{2})/g;&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;  let regexSubstinWikilink1 = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexSubstinWikilink1 = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;).concat(color, &#039;&quot; href=&quot;/wiki/$2$4$6&quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&#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;  let regexWikilink2 = regexWikilink1;&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;  let regexWikilink2 = regexWikilink1;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第134行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第138行：&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 (!isDiff()) {&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 (!isDiff()) {&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;    isActivateHTML = true;&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;    isActivateHTML = true;&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;    regexURLinWikicodeWithoutLabel = /([^[]|^)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s*]/gm;&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;    regexURLinWikicodeWithoutLabel = /([^[]|^)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s*]/gm;&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;    regexSubstinWikicodeWithoutLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2&quot;&amp;gt;$2&amp;lt;/a&amp;gt;&#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;    regexSubstinWikicodeWithoutLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2&quot;&amp;gt;$2&amp;lt;/a&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;    regexURLinWikicodeWithLabel = /([^[]|^)\[\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s+([^\n]+?)\s*]/gm;&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;    regexURLinWikicodeWithLabel = /([^[]|^)\[\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s+([^\n]+?)\s*]/gm;&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;    regexSubstinWikicodeWithLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2&quot;&amp;gt;$3&amp;lt;/a&amp;gt;&#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;    regexSubstinWikicodeWithLabel = &#039;$1&amp;lt;a class=&quot;external autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;$2&quot;&amp;gt;$3&amp;lt;/a&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;    regexOtherPages = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)((?:[Ss]pecial|[Ww][Pp]|[Tt]emplate|[Uu]ser)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{|}]+)(\||}{2})/gm;&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;    regexOtherPages = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)((?:[Ss]pecial&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|[Pp]roject&lt;/ins&gt;|[Ww][Pp]|[Tt]emplate|[Uu]ser&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|中医百科&lt;/ins&gt;)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;{|}]+)(\||}{2})/gm;&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;    regexSubstinOtherPages = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&#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;    regexSubstinOtherPages = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$2&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&#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;    regexTemplate = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)([^\n:&amp;lt;&amp;gt;[\]{|}]+)(\||}{2}|:)/gm;&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;    regexTemplate = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)([^\n:&amp;lt;&amp;gt;[\]{|}]+)(\||}{2}|:)/gm;&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;    regexSubstinTemplate = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/Template:$2&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&#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;    regexSubstinTemplate = &#039;$1&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/Template:$2&quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&#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;    regexWikilink1 = /&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{2}\s*([^\n&amp;lt;&amp;gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{|}]+?)\s*\|\s*(.+?)\s*]{2}/g;&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;    regexWikilink1 = /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;{2}\s*([^\n&amp;lt;&amp;gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;{|}]+?)\s*\|\s*(.+?)\s*]{2}/g;&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;    regexSubstinWikilink1 = &#039;&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$1&quot;&amp;gt;$2&amp;lt;/a&amp;gt;&#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;    regexSubstinWikilink1 = &#039;&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$1&quot;&amp;gt;$2&amp;lt;/a&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;    regexWikilink2 = /&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{2}\s*([^\n&amp;lt;&amp;gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;{|}]+?)\s*\|?\s*]{2}/g;&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;    regexWikilink2 = /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;{2}\s*([^\n&amp;lt;&amp;gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;{|}]+?)\s*\|?\s*]{2}/g;&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;    regexSubstinWikilink2 = &#039;&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$1&quot;&amp;gt;$1&amp;lt;/a&amp;gt;&#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;    regexSubstinWikilink2 = &#039;&amp;lt;a class=&quot;autolink&quot; style=&quot;color:&#039;.concat(color, &#039;&quot; href=&quot;/wiki/$1&quot;&amp;gt;$1&amp;lt;/a&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;  }&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第184行：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第188行：&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 (isDiff()) {&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 (isDiff()) {&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;        html = html.replace(/&amp;lt;a [^&amp;gt;]+&amp;gt;&amp;lt;\/a&amp;gt;/g, &quot;&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;        html = html.replace(/&amp;lt;a [^&amp;gt;]+&amp;gt;&amp;lt;\/a&amp;gt;/g, &quot;&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;        html = html.replace(/([^[]|^)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)(?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+(&amp;lt;\/a&amp;gt;)\s+([^\n&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$$&lt;/del&gt;]+)]/gm, &quot;$1$2$4$3&quot;);&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;        html = html.replace(/([^[]|^)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\[&lt;/ins&gt;\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)(?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+(&amp;lt;\/a&amp;gt;)\s+([^\n&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\]&lt;/ins&gt;]+)]/gm, &quot;$1$2$4$3&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;        html = html.replace(/([^[]|^)\[\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)(&amp;lt;\/a&amp;gt;)\s*]/gm, &quot;$1$2$3$4&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;        html = html.replace(/([^[]|^)\[\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)(&amp;lt;\/a&amp;gt;)\s*]/gm, &quot;$1$2$3$4&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;/table&gt;</summary>
		<author><name>鹿野耕云</name></author>
	</entry>
	<entry>
		<id>https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=208&amp;oldid=prev</id>
		<title>鹿野耕云：​创建页面，内容为“/**  * SPDX-License-Identifier: CC-BY-SA-4.0  * _addText: &#039;{{Gadget Header|license=CC-BY-SA-4.0}}&#039;  *  * @base {@link https://meta.wikimedia.org/wiki/MediaWiki:Gadget-autolink.js}  * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}  * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}  * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}…”</title>
		<link rel="alternate" type="text/html" href="https://test.zybkcn.com/w/index.php?title=MediaWiki:Gadget-AutoLink.js&amp;diff=208&amp;oldid=prev"/>
		<updated>2026-06-13T13:00:01Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“/**  * SPDX-License-Identifier: CC-BY-SA-4.0  * _addText: &amp;#039;{{Gadget Header|license=CC-BY-SA-4.0}}&amp;#039;  *  * @base {@link https://meta.wikimedia.org/wiki/MediaWiki:Gadget-autolink.js}  * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}  * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}  * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * SPDX-License-Identifier: CC-BY-SA-4.0&lt;br /&gt;
 * _addText: &amp;#039;{{Gadget Header|license=CC-BY-SA-4.0}}&amp;#039;&lt;br /&gt;
 *&lt;br /&gt;
 * @base {@link https://meta.wikimedia.org/wiki/MediaWiki:Gadget-autolink.js}&lt;br /&gt;
 * @base {@link https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Autolink}&lt;br /&gt;
 * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AutoLink}&lt;br /&gt;
 * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}&lt;br /&gt;
 */&lt;br /&gt;
/**&lt;br /&gt;
 * +------------------------------------------------------------+&lt;br /&gt;
 * |            === WARNING: GLOBAL GADGET FILE ===             |&lt;br /&gt;
 * +------------------------------------------------------------+&lt;br /&gt;
 * |       All changes should be made in the repository,        |&lt;br /&gt;
 * |                otherwise they will be lost.                |&lt;br /&gt;
 * +------------------------------------------------------------+&lt;br /&gt;
 * |        Changes to this page may affect many users.         |&lt;br /&gt;
 * | Please discuss changes by opening an issue before editing. |&lt;br /&gt;
 * +------------------------------------------------------------+&lt;br /&gt;
 */&lt;br /&gt;
/* &amp;lt;nowiki&amp;gt; */&lt;br /&gt;
&lt;br /&gt;
(() =&amp;gt; {&lt;br /&gt;
&lt;br /&gt;
&amp;quot;use strict&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// dist/AutoLink/AutoLink.js&lt;br /&gt;
//! src/AutoLink/modules/util/isDiff.ts&lt;br /&gt;
function _createForOfIteratorHelper(r, e) {&lt;br /&gt;
  var t = &amp;quot;undefined&amp;quot; != typeof Symbol &amp;amp;&amp;amp; r[Symbol.iterator] || r[&amp;quot;@@iterator&amp;quot;];&lt;br /&gt;
  if (!t) {&lt;br /&gt;
    if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e &amp;amp;&amp;amp; r &amp;amp;&amp;amp; &amp;quot;number&amp;quot; == typeof r.length) {&lt;br /&gt;
      t &amp;amp;&amp;amp; (r = t);&lt;br /&gt;
      var n = 0, F = function() {&lt;br /&gt;
      };&lt;br /&gt;
      return { s: F, n: function() {&lt;br /&gt;
        return n &amp;gt;= r.length ? { done: true } : { done: false, value: r[n++] };&lt;br /&gt;
      }, e: function(r2) {&lt;br /&gt;
        throw r2;&lt;br /&gt;
      }, f: F };&lt;br /&gt;
    }&lt;br /&gt;
    throw new TypeError(&amp;quot;Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
  var o, a = true, u = false;&lt;br /&gt;
  return { s: function() {&lt;br /&gt;
    t = t.call(r);&lt;br /&gt;
  }, n: function() {&lt;br /&gt;
    var r2 = t.next();&lt;br /&gt;
    return a = r2.done, r2;&lt;br /&gt;
  }, e: function(r2) {&lt;br /&gt;
    u = true, o = r2;&lt;br /&gt;
  }, f: function() {&lt;br /&gt;
    try {&lt;br /&gt;
      a || null == t.return || t.return();&lt;br /&gt;
    } finally {&lt;br /&gt;
      if (u) throw o;&lt;br /&gt;
    }&lt;br /&gt;
  } };&lt;br /&gt;
}&lt;br /&gt;
function _unsupportedIterableToArray(r, a) {&lt;br /&gt;
  if (r) {&lt;br /&gt;
    if (&amp;quot;string&amp;quot; == typeof r) return _arrayLikeToArray(r, a);&lt;br /&gt;
    var t = {}.toString.call(r).slice(8, -1);&lt;br /&gt;
    return &amp;quot;Object&amp;quot; === t &amp;amp;&amp;amp; r.constructor &amp;amp;&amp;amp; (t = r.constructor.name), &amp;quot;Map&amp;quot; === t || &amp;quot;Set&amp;quot; === t ? Array.from(r) : &amp;quot;Arguments&amp;quot; === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
function _arrayLikeToArray(r, a) {&lt;br /&gt;
  (null == a || a &amp;gt; r.length) &amp;amp;&amp;amp; (a = r.length);&lt;br /&gt;
  for (var e = 0, n = Array(a); e &amp;lt; a; e++) n[e] = r[e];&lt;br /&gt;
  return n;&lt;br /&gt;
}&lt;br /&gt;
var isDiff = () =&amp;gt; {&lt;br /&gt;
  return !!mw.util.getParamValue(&amp;quot;diff&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
//! src/AutoLink/modules/util/isTargetSpecialPage.ts&lt;br /&gt;
var isTargetSpecialPage = () =&amp;gt; {&lt;br /&gt;
  const {&lt;br /&gt;
    wgCanonicalSpecialPageName&lt;br /&gt;
  } = mw.config.get();&lt;br /&gt;
  return [&amp;quot;Contributions&amp;quot;, &amp;quot;Log&amp;quot;, &amp;quot;Newpages&amp;quot;, &amp;quot;Recentchanges&amp;quot;, &amp;quot;Recentchangeslinked&amp;quot;, &amp;quot;Watchlist&amp;quot;].includes(wgCanonicalSpecialPageName.toString());&lt;br /&gt;
};&lt;br /&gt;
//! src/AutoLink/modules/util/getTargetElements.ts&lt;br /&gt;
var getTargetElements = ($body) =&amp;gt; {&lt;br /&gt;
  let color = &amp;quot;&amp;quot;;&lt;br /&gt;
  let targetElements = [];&lt;br /&gt;
  const {&lt;br /&gt;
    wgAction&lt;br /&gt;
  } = mw.config.get();&lt;br /&gt;
  if (isDiff()) {&lt;br /&gt;
    color = &amp;quot;inherit&amp;quot;;&lt;br /&gt;
    targetElements = [...$body.find([&amp;quot;.diff&amp;quot;, &amp;quot;.firstrevisionheader&amp;quot;].join(&amp;quot;,&amp;quot;))];&lt;br /&gt;
  } else if ([&amp;quot;edit&amp;quot;, &amp;quot;submit&amp;quot;, &amp;quot;history&amp;quot;].includes(wgAction) || isTargetSpecialPage()) {&lt;br /&gt;
    targetElements = [...$body.find(&amp;quot;.comment&amp;quot;)];&lt;br /&gt;
  } else {&lt;br /&gt;
    targetElements = [...$body.find([&amp;quot;source&amp;quot;, &amp;quot;.css&amp;quot;, &amp;quot;.source-css&amp;quot;, &amp;quot;.javascript&amp;quot;, &amp;quot;.source-javascript&amp;quot;].join(&amp;quot;,&amp;quot;))];&lt;br /&gt;
  }&lt;br /&gt;
  return {&lt;br /&gt;
    color,&lt;br /&gt;
    targetElements&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
//! src/AutoLink/AutoLink.ts&lt;br /&gt;
var import_ext_gadget = require(&amp;quot;ext.gadget.Util&amp;quot;);&lt;br /&gt;
//! src/AutoLink/modules/util/isInTargetSpecialPage.ts&lt;br /&gt;
var isInTargetSpecialPage = () =&amp;gt; {&lt;br /&gt;
  const {&lt;br /&gt;
    wgCanonicalNamespace&lt;br /&gt;
  } = mw.config.get();&lt;br /&gt;
  return wgCanonicalNamespace === &amp;quot;Special&amp;quot; &amp;amp;&amp;amp; isTargetSpecialPage();&lt;br /&gt;
};&lt;br /&gt;
//! src/AutoLink/modules/constant.ts&lt;br /&gt;
var REGEX_INTERNAL_URL = /([^=])([\s&amp;quot;&amp;#039;])((?:\/?w\/index\.php\?|\/?index\.php\?|\/?wiki\/)[\w!#%&amp;amp;()+./:=?@\\~-]+)\2/g;&lt;br /&gt;
var REGEX_IMPORT_SCRIPT = /([Ii]mport[Ss]cript(?:&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;)?$(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;)?)(&amp;#039;|&amp;quot;)([^\n&amp;lt;&amp;gt;[\]{|}]+?)(\2(?:&amp;lt;\/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;)?$(?:&amp;lt;\/span&amp;gt;)?)/g;&lt;br /&gt;
var REGEX_TL = /([^{]{{2}\s*[Tt]l\|)([^\n:&amp;lt;&amp;gt;[\]{|}]+)/g;&lt;br /&gt;
var REGEX_URL = /((?:[^&amp;quot;[]|[^=]&amp;quot;)(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+?)(?=(?:&amp;lt;\/span&amp;gt;)?[\s&amp;quot;&amp;#039;)\]|}])/g;&lt;br /&gt;
//! src/AutoLink/modules/processElement.ts&lt;br /&gt;
var processElement = ({&lt;br /&gt;
  color,&lt;br /&gt;
  targetElements&lt;br /&gt;
}) =&amp;gt; {&lt;br /&gt;
  let isActivateHTML = false;&lt;br /&gt;
  let regexURLinWikicodeWithoutLabel = /((?:[^[]|^)$$\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?\s*)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([\w!#%&amp;amp;()+./:=?@\\~-]*)([^\n$$]*])/gm;&lt;br /&gt;
  let regexSubstinWikicodeWithoutLabel = &amp;#039;$1&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2$4$6&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2$4$6&amp;quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2$4$6&amp;quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&amp;#039;);&lt;br /&gt;
  let regexURLinWikicodeWithLabel = regexURLinWikicodeWithoutLabel;&lt;br /&gt;
  let regexSubstinWikicodeWithLabel = regexSubstinWikicodeWithoutLabel;&lt;br /&gt;
  let regexOtherPages = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?\s*)((?:[Ss]peciale?|[Ww][Pp]|[Tt]emplate|[Uu]ser)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2})/gm;&lt;br /&gt;
  let regexSubstinOtherPages = &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&amp;#039;);&lt;br /&gt;
  let regexTemplate = /((?:[^{]|^){{2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n:&amp;lt;&amp;gt;[\]{|}]*)(\||}{2}|:)/gm;&lt;br /&gt;
  let regexSubstinTemplate = &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/Template:$2$4$6&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/Template:$2$4$6&amp;quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/Template:$2$4$6&amp;quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&amp;#039;);&lt;br /&gt;
  let regexWikilink1 = /($${2}\s*(?:&amp;lt;\/span&amp;gt;)?\s*(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?\s*)([^\n&amp;lt;&amp;gt;[$${|}]+)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:&amp;lt;\/span&amp;gt;)?(?:&amp;lt;span class=&amp;quot;diffchange&amp;quot;&amp;gt;)?)([^\n&amp;lt;&amp;gt;[\]{|}]*)((?:[^\n\]]|][^\]])*]{2})/g;&lt;br /&gt;
  let regexSubstinWikilink1 = &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$4&amp;lt;/a&amp;gt;$5&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;).concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2$4$6&amp;quot;&amp;gt;$6&amp;lt;/a&amp;gt;$7&amp;#039;);&lt;br /&gt;
  let regexWikilink2 = regexWikilink1;&lt;br /&gt;
  let regexSubstinWikilink2 = regexSubstinWikilink1;&lt;br /&gt;
  if (!isDiff()) {&lt;br /&gt;
    isActivateHTML = true;&lt;br /&gt;
    regexURLinWikicodeWithoutLabel = /([^[]|^)$$\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s*]/gm;&lt;br /&gt;
    regexSubstinWikicodeWithoutLabel = &amp;#039;$1&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;&amp;#039;);&lt;br /&gt;
    regexURLinWikicodeWithLabel = /([^[]|^)\[\s*((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)\s+([^\n]+?)\s*]/gm;&lt;br /&gt;
    regexSubstinWikicodeWithLabel = &amp;#039;$1&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2&amp;quot;&amp;gt;$3&amp;lt;/a&amp;gt;&amp;#039;);&lt;br /&gt;
    regexOtherPages = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)((?:[Ss]pecial|[Ww][Pp]|[Tt]emplate|[Uu]ser)?\s*(?: ?[Tt]alk)?\s*:[^\n:&amp;lt;&amp;gt;[$${|}]+)(\||}{2})/gm;&lt;br /&gt;
    regexSubstinOtherPages = &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$2&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;#039;);&lt;br /&gt;
    regexTemplate = /((?:[^{]|^){{2}\s*(?:(?:[Ss][Uu][Bb][Ss][Tt]|[Mm][Ss][Gg]|[Mm][Ss][Gg][Nn][Ww])\s*:)?\s*)([^\n:&amp;lt;&amp;gt;[\]{|}]+)(\||}{2}|:)/gm;&lt;br /&gt;
    regexSubstinTemplate = &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/Template:$2&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;$3&amp;#039;);&lt;br /&gt;
    regexWikilink1 = /$${2}\s*([^\n&amp;lt;&amp;gt;[$${|}]+?)\s*\|\s*(.+?)\s*]{2}/g;&lt;br /&gt;
    regexSubstinWikilink1 = &amp;#039;&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$1&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;&amp;#039;);&lt;br /&gt;
    regexWikilink2 = /$${2}\s*([^\n&amp;lt;&amp;gt;[$${|}]+?)\s*\|?\s*]{2}/g;&lt;br /&gt;
    regexSubstinWikilink2 = &amp;#039;&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$1&amp;quot;&amp;gt;$1&amp;lt;/a&amp;gt;&amp;#039;);&lt;br /&gt;
  }&lt;br /&gt;
  var _iterator = _createForOfIteratorHelper(targetElements), _step;&lt;br /&gt;
  try {&lt;br /&gt;
    for (_iterator.s(); !(_step = _iterator.n()).done; ) {&lt;br /&gt;
      const element = _step.value;&lt;br /&gt;
      const {&lt;br /&gt;
        innerHTML: originHtml&lt;br /&gt;
      } = element;&lt;br /&gt;
      let html = originHtml;&lt;br /&gt;
      html = html.replace(/&amp;amp;lt;/g, &amp;quot;&amp;amp;shy;&amp;lt;&amp;amp;shy;&amp;quot;);&lt;br /&gt;
      html = html.replace(/&amp;amp;gt;/g, &amp;quot;&amp;amp;shy;&amp;gt;&amp;amp;shy;&amp;quot;);&lt;br /&gt;
      html = html.replace(/&amp;amp;amp;/g, &amp;quot;&amp;amp;&amp;quot;);&lt;br /&gt;
      html = html.replace(REGEX_TL, &amp;#039;$1&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/Template:$2&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;&amp;#039;));&lt;br /&gt;
      html = html.replace(REGEX_URL, &amp;#039;$1&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;$2&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;&amp;#039;));&lt;br /&gt;
      html = html.replace(regexURLinWikicodeWithoutLabel, regexSubstinWikicodeWithoutLabel);&lt;br /&gt;
      html = html.replace(regexURLinWikicodeWithLabel, regexSubstinWikicodeWithLabel);&lt;br /&gt;
      html = html.replace(regexOtherPages, regexSubstinOtherPages);&lt;br /&gt;
      html = html.replace(regexTemplate, regexSubstinTemplate);&lt;br /&gt;
      html = html.replace(/href=&amp;quot;\/wiki\/Template:#/g, &amp;#039;href=&amp;quot;/wiki/Help:&amp;#039;);&lt;br /&gt;
      html = html.replace(regexWikilink1, regexSubstinWikilink1);&lt;br /&gt;
      html = html.replace(regexWikilink2, regexSubstinWikilink2);&lt;br /&gt;
      html = html.replace(REGEX_INTERNAL_URL, &amp;#039;$1$2&amp;lt;a class=&amp;quot;external autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;$3&amp;quot;&amp;gt;$3&amp;lt;/a&amp;gt;$2&amp;#039;));&lt;br /&gt;
      html = html.replace(REGEX_IMPORT_SCRIPT, &amp;#039;$1$2&amp;lt;a class=&amp;quot;autolink&amp;quot; style=&amp;quot;color:&amp;#039;.concat(color, &amp;#039;&amp;quot; href=&amp;quot;/wiki/$3&amp;quot;&amp;gt;$3&amp;lt;/a&amp;gt;$4&amp;#039;));&lt;br /&gt;
      html = html.replace(/&amp;amp;shy;&amp;lt;&amp;amp;shy;/g, &amp;quot;&amp;amp;lt;&amp;quot;);&lt;br /&gt;
      html = html.replace(/&amp;amp;shy;&amp;gt;&amp;amp;shy;/g, &amp;quot;&amp;amp;gt;&amp;quot;);&lt;br /&gt;
      if (isActivateHTML) {&lt;br /&gt;
        html = html.replace(/&amp;amp;lt;(span|b|i|strong|small|tt|del|s|u|sub|sup)&amp;amp;gt;(.*?)&amp;amp;lt;\/(\1)&amp;amp;gt;/g, &amp;quot;&amp;lt;$1&amp;gt;$2&amp;lt;/$3&amp;gt;&amp;quot;);&lt;br /&gt;
        html = html.replace(/([^&amp;#039;]|^)&amp;#039;{3}(.+?)&amp;#039;{3}([^&amp;#039;]|$)/gm, &amp;quot;$1&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;$3&amp;quot;);&lt;br /&gt;
        html = html.replace(/([^&amp;#039;]|^)&amp;#039;{2}(.+?)&amp;#039;{2}([^&amp;#039;]|$)/gm, &amp;quot;$1&amp;lt;i&amp;gt;$2&amp;lt;/i&amp;gt;$3&amp;quot;);&lt;br /&gt;
        const {&lt;br /&gt;
          wgAction&lt;br /&gt;
        } = mw.config.get();&lt;br /&gt;
        if ([&amp;quot;edit&amp;quot;, &amp;quot;submit&amp;quot;, &amp;quot;history&amp;quot;].includes(wgAction) || isTargetSpecialPage()) {&lt;br /&gt;
          html = html.replace(/&amp;lt;i&amp;gt;(.*?)&amp;lt;\/i&amp;gt;/g, &amp;#039;&amp;lt;span title=&amp;quot;italic&amp;quot; style=&amp;quot;border:1px solid #c0c0c0;padding:2px&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt;&amp;#039;);&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
      if (isDiff()) {&lt;br /&gt;
        html = html.replace(/&amp;lt;a [^&amp;gt;]+&amp;gt;&amp;lt;\/a&amp;gt;/g, &amp;quot;&amp;quot;);&lt;br /&gt;
        html = html.replace(/([^[]|^)$$\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)(?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+(&amp;lt;\/a&amp;gt;)\s+([^\n$$]+)]/gm, &amp;quot;$1$2$4$3&amp;quot;);&lt;br /&gt;
        html = html.replace(/([^[]|^)\[\s*(&amp;lt;a [^&amp;gt;]+&amp;gt;)((?:https?|ftps?):\/\/[\w!#%&amp;amp;()+./:=?@\\~-]+)(&amp;lt;\/a&amp;gt;)\s*]/gm, &amp;quot;$1$2$3$4&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
      if (html !== originHtml) {&lt;br /&gt;
        requestAnimationFrame(() =&amp;gt; {&lt;br /&gt;
          element.innerHTML = html;&lt;br /&gt;
        });&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  } catch (err) {&lt;br /&gt;
    _iterator.e(err);&lt;br /&gt;
  } finally {&lt;br /&gt;
    _iterator.f();&lt;br /&gt;
  }&lt;br /&gt;
};&lt;br /&gt;
//! src/AutoLink/AutoLink.ts&lt;br /&gt;
void (0, import_ext_gadget.getBody)().then(function autoLink($body) {&lt;br /&gt;
  if (!isInTargetSpecialPage()) {&lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  const targetElements = getTargetElements($body);&lt;br /&gt;
  processElement(targetElements);&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
})();&lt;br /&gt;
&lt;br /&gt;
/* &amp;lt;/nowiki&amp;gt; */&lt;/div&gt;</summary>
		<author><name>鹿野耕云</name></author>
	</entry>
</feed>