<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://tnfshwiki.tfcis.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-twinkledelimages.js</id>
	<title>MediaWiki:Gadget-twinkledelimages.js - 修訂歷史</title>
	<link rel="self" type="application/atom+xml" href="https://tnfshwiki.tfcis.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-twinkledelimages.js"/>
	<link rel="alternate" type="text/html" href="https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;action=history"/>
	<updated>2026-04-12T08:16:01Z</updated>
	<subtitle>本 Wiki 上此頁面的修訂歷史</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=4369&amp;oldid=prev</id>
		<title>Xiplus-bot：​繁簡轉換</title>
		<link rel="alternate" type="text/html" href="https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=4369&amp;oldid=prev"/>
		<updated>2016-04-10T07:26: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-Hant-TW&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;於 2016年4月10日 (日) 15:26 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 20：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 20：&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;	if( Morebits.userIsInGroup( &#039;sysop&#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;	if( Morebits.userIsInGroup( &#039;sysop&#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;		Twinkle.addPortletLink( Twinkle.delimages.callback, &quot;批&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;图&lt;/del&gt;&quot;, &quot;tw-deli&quot;, &quot;批量&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除此&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;页内&lt;/del&gt;的文件&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;		Twinkle.addPortletLink( Twinkle.delimages.callback, &quot;批&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;圖&lt;/ins&gt;&quot;, &quot;tw-deli&quot;, &quot;批量&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除此&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;頁內&lt;/ins&gt;的文件&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;&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;行 27：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 27：&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;Twinkle.delimages.callback = function twinkledeliCallback() {&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;Twinkle.delimages.callback = function twinkledeliCallback() {&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 Window = new Morebits.simpleWindow( 800, 400 );&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 Window = new Morebits.simpleWindow( 800, 400 );&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.setTitle( &quot;批量文件&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除&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;	Window.setTitle( &quot;批量文件&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除&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.setScriptName( &quot;Twinkle&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;	Window.setScriptName( &quot;Twinkle&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;	Window.addFooterLink( &quot;Twinkle&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;帮&lt;/del&gt;助&quot;, &quot;WP:TW/DOC#delimages&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;	Window.addFooterLink( &quot;Twinkle&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;幫&lt;/ins&gt;助&quot;, &quot;WP:TW/DOC#delimages&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;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	var form = new Morebits.quickForm( Twinkle.delimages.callback.evaluate );&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 form = new Morebits.quickForm( Twinkle.delimages.callback.evaluate );&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 36：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 36：&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;		list: [&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;		list: [&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;				label: &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&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;				label: &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&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;				name: &#039;delete_image&#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;				name: &#039;delete_image&#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;				value: &#039;delete&#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;				value: &#039;delete&#039;,&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 68：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 68：&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;	} else {&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;	} else {&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;		// prepare for a possible merge with batchdelete&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;		// prepare for a possible merge with batchdelete&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;		alert(&#039;致管理&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;员&lt;/del&gt;：\n\n&#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;		alert(&#039;致管理&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;員&lt;/ins&gt;：\n\n&#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;			&#039;我&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;们&lt;/del&gt;正在&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;计划&lt;/del&gt;翻新&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“&lt;/del&gt;批量文件&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;”&lt;/del&gt;模&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;块&lt;/del&gt;，&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;并&lt;/del&gt;在考&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;虑对于&lt;/del&gt;分&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;类&lt;/del&gt;以外的&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;页&lt;/del&gt;面，此功能是否仍&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;旧&lt;/del&gt;值得&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;维护&lt;/del&gt;。\n\n&#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;			&#039;我&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;們&lt;/ins&gt;正在&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;計劃&lt;/ins&gt;翻新&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;「&lt;/ins&gt;批量文件&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;」&lt;/ins&gt;模&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;塊&lt;/ins&gt;，&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;並&lt;/ins&gt;在考&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;慮對於&lt;/ins&gt;分&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;類&lt;/ins&gt;以外的&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;頁&lt;/ins&gt;面，此功能是否仍&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;舊&lt;/ins&gt;值得&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;維護&lt;/ins&gt;。\n\n&#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;			&#039;既然您正&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;于&lt;/del&gt;分&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;类&lt;/del&gt;以外的&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;页&lt;/del&gt;面&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;调&lt;/del&gt;用&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“&lt;/del&gt;批量文件&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;”，&lt;/del&gt;我&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;们&lt;/del&gt;希望您能&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;够于&lt;/del&gt;[[WT:TW]]告知Twinkle&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;团队&lt;/del&gt;。如果&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;没&lt;/del&gt;有人告&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;诉&lt;/del&gt;我&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;们&lt;/del&gt;他&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;还&lt;/del&gt;在使用，我&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;们&lt;/del&gt;就可能&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;会&lt;/del&gt;移除或修改&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;这个&lt;/del&gt;功能。\n\n&#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;			&#039;既然您正&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;於&lt;/ins&gt;分&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;類&lt;/ins&gt;以外的&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;頁&lt;/ins&gt;面&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;調&lt;/ins&gt;用&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;「&lt;/ins&gt;批量文件&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;」，&lt;/ins&gt;我&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;們&lt;/ins&gt;希望您能&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;夠於&lt;/ins&gt;[[WT:TW]]告知Twinkle&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;團隊&lt;/ins&gt;。如果&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;沒&lt;/ins&gt;有人告&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;訴&lt;/ins&gt;我&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;們&lt;/ins&gt;他&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;還&lt;/ins&gt;在使用，我&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;們&lt;/ins&gt;就可能&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;會&lt;/ins&gt;移除或修改&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;這個&lt;/ins&gt;功能。\n\n&#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;			&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;谢谢&lt;/del&gt;，\nTwinkle&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;团队&lt;/del&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;			&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;謝謝&lt;/ins&gt;，\nTwinkle&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;團隊&lt;/ins&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;		//form.append({ type:&#039;div&#039;, style:&#039;color:red;font-weight:bold;font-size:larger&#039;, label: &#039;This module is going away. Please use &quot;D-batch&quot; (batch deletion) instead.&#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;		//form.append({ type:&#039;div&#039;, style:&#039;color:red;font-weight:bold;font-size:larger&#039;, label: &#039;This module is going away. Please use &quot;D-batch&quot; (batch deletion) instead.&#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;		query = {&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;		query = {&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 91：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 91：&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 user = $self.find(&#039;imageinfo ii&#039;).attr(&#039;user&#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;			var user = $self.find(&#039;imageinfo ii&#039;).attr(&#039;user&#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;			var last_edit = $self.find(&#039;revisions rev&#039;).attr(&#039;user&#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;			var last_edit = $self.find(&#039;revisions rev&#039;).attr(&#039;user&#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;			var disputed = $self.find(&#039;categories cl[title=&quot;Category:快速&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除候&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;选&lt;/del&gt;&quot;]&#039;).size() &amp;gt; 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;			var disputed = $self.find(&#039;categories cl[title=&quot;Category:快速&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除候&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;選&lt;/ins&gt;&quot;]&#039;).size() &amp;gt; 0;&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;			list.push( {&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;			list.push( {&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;				&#039;label&#039;: image + &#039;—作者：&#039; + user + &#039;，上次&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;编辑&lt;/del&gt;：&#039; + last_edit + ( disputed ? &#039;（&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;争议&lt;/del&gt;&#039; : &#039;&#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;				&#039;label&#039;: image + &#039;—作者：&#039; + user + &#039;，上次&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;編輯&lt;/ins&gt;：&#039; + last_edit + ( disputed ? &#039;（&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;爭議&lt;/ins&gt;&#039; : &#039;&#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;				&#039;value&#039;: image,&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;				&#039;value&#039;: image,&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;				&#039;checked&#039;: !disputed&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;				&#039;checked&#039;: !disputed&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 150：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 150：&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;					&#039;titles&#039;: image&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;					&#039;titles&#039;: image&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;				var wikipedia_api = new Morebits.wiki.api( &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;检&lt;/del&gt;查文件 &#039; + image + &#039; 是否存在&#039;, query, Twinkle.delimages.callbacks.main );&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 wikipedia_api = new Morebits.wiki.api( &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;檢&lt;/ins&gt;查文件 &#039; + image + &#039; 是否存在&#039;, query, Twinkle.delimages.callbacks.main );&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;				wikipedia_api.params = { image:image, reason:reason, unlink_image:unlink_image, delete_image:delete_image };&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;				wikipedia_api.params = { image:image, reason:reason, unlink_image:unlink_image, delete_image:delete_image };&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;				wikipedia_api.post();&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;				wikipedia_api.post();&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 174：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 174：&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		if( ! exists ) {&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( ! exists ) {&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;			self.statelem.error( &quot;文件不存在，可能已被&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除&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;			self.statelem.error( &quot;文件不存在，可能已被&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除&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;			return;&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;			return;&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;行 184：&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;				&#039;iulimit&#039;: Morebits.userIsInGroup( &#039;sysop&#039; ) ? 5000 : 500 // 500 is max for normal users, 5000 for bots and sysops&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;				&#039;iulimit&#039;: Morebits.userIsInGroup( &#039;sysop&#039; ) ? 5000 : 500 // 500 is max for normal users, 5000 for bots and sysops&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;			var wikipedia_api = new Morebits.wiki.api( &#039;抓取文件&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;链接&lt;/del&gt;&#039;, query, Twinkle.delimages.callbacks.unlinkImageInstancesMain );&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 wikipedia_api = new Morebits.wiki.api( &#039;抓取文件&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;連結&lt;/ins&gt;&#039;, query, Twinkle.delimages.callbacks.unlinkImageInstancesMain );&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;			wikipedia_api.params = self.params;&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;			wikipedia_api.params = self.params;&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;			wikipedia_api.post();&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;			wikipedia_api.post();&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 190：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 190：&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( self.params.delete_image ) {&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( self.params.delete_image ) {&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; 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 imagepage = new Morebits.wiki.page( self.params.image, &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&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;			var imagepage = new Morebits.wiki.page( self.params.image, &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&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;			imagepage.setEditSummary( &quot;文件被&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除：&quot; + self.params.reason + Twinkle.getPref(&#039;deletionSummaryAd&#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;			imagepage.setEditSummary( &quot;文件被&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除：&quot; + self.params.reason + Twinkle.getPref(&#039;deletionSummaryAd&#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;			imagepage.deletePage();&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;			imagepage.deletePage();&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;行 221：&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 221：&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 old_text = self.getPageText();&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 old_text = self.getPageText();&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 wikiPage = new Morebits.wikitext.page( old_text );&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 wikiPage = new Morebits.wikitext.page( old_text );&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;		wikiPage.commentOutImage( image , &#039;注&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;释&lt;/del&gt;此文件因其已被&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&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;		wikiPage.commentOutImage( image , &#039;注&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;釋&lt;/ins&gt;此文件因其已被&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&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;		var text = wikiPage.getText();&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 text = wikiPage.getText();&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		if( text === old_text ) {&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( text === old_text ) {&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;			statelem.error( &#039;取消 &#039; + image + &#039; 在 &#039; + self.getPageName() + &#039; 上的使用失&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;败&lt;/del&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;			statelem.error( &#039;取消 &#039; + image + &#039; 在 &#039; + self.getPageName() + &#039; 上的使用失&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;敗&lt;/ins&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;			return;&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;			return;&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;		self.setPageText(text);&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;		self.setPageText(text);&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;		self.setEditSummary(&#039;移除文件 &#039; + image + &quot; 因其已被&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;删&lt;/del&gt;除，理由&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;为“&lt;/del&gt;&quot; + params.reason + &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;”&lt;/del&gt;。&quot; + Twinkle.getPref(&#039;deletionSummaryAd&#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;		self.setEditSummary(&#039;移除文件 &#039; + image + &quot; 因其已被&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;刪&lt;/ins&gt;除，理由&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;為「&lt;/ins&gt;&quot; + params.reason + &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;」&lt;/ins&gt;。&quot; + Twinkle.getPref(&#039;deletionSummaryAd&#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;		self.setCreateOption(&#039;nocreate&#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;		self.setCreateOption(&#039;nocreate&#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;		self.save();&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;		self.save();&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key tnfshwiki-tnfshwiki_:diff:wikidiff2:1.12:old-3907:rev-4369:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Xiplus-bot</name></author>
	</entry>
	<entry>
		<id>https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=3907&amp;oldid=prev</id>
		<title>Xiplus：​已匯入 1 筆修訂：Twinkle</title>
		<link rel="alternate" type="text/html" href="https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=3907&amp;oldid=prev"/>
		<updated>2016-03-25T06:03:17Z</updated>

		<summary type="html">&lt;p&gt;已匯入 1 筆修訂：Twinkle&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-Hant-TW&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;於 2016年3月25日 (五) 14:03 的修訂&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key tnfshwiki-tnfshwiki_:diff:wikidiff2:1.12:old-3906:rev-3907:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Xiplus</name></author>
	</entry>
	<entry>
		<id>https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=3906&amp;oldid=prev</id>
		<title>zhwiki&gt;Jimmy Xu：​v2.0-922-gbdc6cce</title>
		<link rel="alternate" type="text/html" href="https://tnfshwiki.tfcis.org/index.php?title=MediaWiki:Gadget-twinkledelimages.js&amp;diff=3906&amp;oldid=prev"/>
		<updated>2014-08-14T17:32:03Z</updated>

		<summary type="html">&lt;p&gt;v2.0-922-gbdc6cce&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;//&amp;lt;nowiki&amp;gt;&lt;br /&gt;
// vim: set noet sts=0 sw=8:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(function($){&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
****************************************&lt;br /&gt;
*** twinkledelimages.js: Batch deletion of images (sysops only)&lt;br /&gt;
****************************************&lt;br /&gt;
* Mode of invocation:     Tab (&amp;quot;Deli-batch&amp;quot;)&lt;br /&gt;
* Active on:              Existing non-special pages&lt;br /&gt;
* Config directives in:   TwinkleConfig&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
Twinkle.delimages = function twinkledeli() {&lt;br /&gt;
	if( mw.config.get( &amp;#039;wgNamespaceNumber&amp;#039; ) &amp;lt; 0 || !mw.config.get( &amp;#039;wgCurRevisionId&amp;#039; ) ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	if( Morebits.userIsInGroup( &amp;#039;sysop&amp;#039; ) ) {&lt;br /&gt;
		Twinkle.addPortletLink( Twinkle.delimages.callback, &amp;quot;批图&amp;quot;, &amp;quot;tw-deli&amp;quot;, &amp;quot;批量删除此页内的文件&amp;quot; );&lt;br /&gt;
	}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
Twinkle.delimages.unlinkCache = {};&lt;br /&gt;
Twinkle.delimages.callback = function twinkledeliCallback() {&lt;br /&gt;
	var Window = new Morebits.simpleWindow( 800, 400 );&lt;br /&gt;
	Window.setTitle( &amp;quot;批量文件删除&amp;quot; );&lt;br /&gt;
	Window.setScriptName( &amp;quot;Twinkle&amp;quot; );&lt;br /&gt;
	Window.addFooterLink( &amp;quot;Twinkle帮助&amp;quot;, &amp;quot;WP:TW/DOC#delimages&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	var form = new Morebits.quickForm( Twinkle.delimages.callback.evaluate );&lt;br /&gt;
	form.append( {&lt;br /&gt;
		type: &amp;#039;checkbox&amp;#039;,&lt;br /&gt;
		list: [&lt;br /&gt;
			{&lt;br /&gt;
				label: &amp;#039;删除文件&amp;#039;,&lt;br /&gt;
				name: &amp;#039;delete_image&amp;#039;,&lt;br /&gt;
				value: &amp;#039;delete&amp;#039;,&lt;br /&gt;
				checked: true&lt;br /&gt;
			},&lt;br /&gt;
			{&lt;br /&gt;
				label: &amp;#039;取消此文件的使用&amp;#039;,&lt;br /&gt;
				name: &amp;#039;unlink_image&amp;#039;,&lt;br /&gt;
				value: &amp;#039;unlink&amp;#039;,&lt;br /&gt;
				checked: true&lt;br /&gt;
			}&lt;br /&gt;
		]&lt;br /&gt;
	} );&lt;br /&gt;
	form.append( {&lt;br /&gt;
		type: &amp;#039;textarea&amp;#039;,&lt;br /&gt;
		name: &amp;#039;reason&amp;#039;,&lt;br /&gt;
		label: &amp;#039;理由：&amp;#039;&lt;br /&gt;
	} );&lt;br /&gt;
	var query;&lt;br /&gt;
	if( mw.config.get( &amp;#039;wgNamespaceNumber&amp;#039; ) === 14 ) {  // Category:&lt;br /&gt;
		query = {&lt;br /&gt;
			&amp;#039;action&amp;#039;: &amp;#039;query&amp;#039;,&lt;br /&gt;
			&amp;#039;generator&amp;#039;: &amp;#039;categorymembers&amp;#039;,&lt;br /&gt;
			&amp;#039;gcmtitle&amp;#039;: mw.config.get( &amp;#039;wgPageName&amp;#039; ),&lt;br /&gt;
			&amp;#039;gcmnamespace&amp;#039;: 6,  // File:&lt;br /&gt;
			&amp;#039;gcmlimit&amp;#039; : Twinkle.getPref(&amp;#039;deliMax&amp;#039;), &lt;br /&gt;
			&amp;#039;prop&amp;#039;: [ &amp;#039;imageinfo&amp;#039;, &amp;#039;categories&amp;#039;, &amp;#039;revisions&amp;#039; ],&lt;br /&gt;
			&amp;#039;grvlimit&amp;#039;: 1,&lt;br /&gt;
			&amp;#039;grvprop&amp;#039;: [ &amp;#039;user&amp;#039; ]&lt;br /&gt;
		};&lt;br /&gt;
	} else {&lt;br /&gt;
		// prepare for a possible merge with batchdelete&lt;br /&gt;
		alert(&amp;#039;致管理员：\n\n&amp;#039; +&lt;br /&gt;
			&amp;#039;我们正在计划翻新“批量文件删除”模块，并在考虑对于分类以外的页面，此功能是否仍旧值得维护。\n\n&amp;#039; +&lt;br /&gt;
			&amp;#039;既然您正于分类以外的页面调用“批量文件删除”，我们希望您能够于[[WT:TW]]告知Twinkle团队。如果没有人告诉我们他还在使用，我们就可能会移除或修改这个功能。\n\n&amp;#039; +&lt;br /&gt;
			&amp;#039;谢谢，\nTwinkle团队&amp;#039;);&lt;br /&gt;
		//form.append({ type:&amp;#039;div&amp;#039;, style:&amp;#039;color:red;font-weight:bold;font-size:larger&amp;#039;, label: &amp;#039;This module is going away. Please use &amp;quot;D-batch&amp;quot; (batch deletion) instead.&amp;#039; });&lt;br /&gt;
		query = {&lt;br /&gt;
			&amp;#039;action&amp;#039;: &amp;#039;query&amp;#039;,&lt;br /&gt;
			&amp;#039;generator&amp;#039;: &amp;#039;images&amp;#039;,&lt;br /&gt;
			&amp;#039;titles&amp;#039;: mw.config.get( &amp;#039;wgPageName&amp;#039; ),&lt;br /&gt;
			&amp;#039;prop&amp;#039;: [ &amp;#039;imageinfo&amp;#039;, &amp;#039;categories&amp;#039;, &amp;#039;revisions&amp;#039; ],&lt;br /&gt;
			&amp;#039;gimlimit&amp;#039;: &amp;#039;max&amp;#039;&lt;br /&gt;
		};&lt;br /&gt;
	}&lt;br /&gt;
	var wikipedia_api = new Morebits.wiki.api( &amp;#039;抓取文件&amp;#039;, query, function( self ) {&lt;br /&gt;
		var xmlDoc = self.responseXML;&lt;br /&gt;
		var images = $(xmlDoc).find(&amp;#039;page[imagerepository=&amp;quot;local&amp;quot;]&amp;#039;);&lt;br /&gt;
		var list = [];&lt;br /&gt;
&lt;br /&gt;
		$.each(images, function() {&lt;br /&gt;
			var $self = $(this);&lt;br /&gt;
			var image = $self.attr(&amp;#039;title&amp;#039;);&lt;br /&gt;
			var user = $self.find(&amp;#039;imageinfo ii&amp;#039;).attr(&amp;#039;user&amp;#039;);&lt;br /&gt;
			var last_edit = $self.find(&amp;#039;revisions rev&amp;#039;).attr(&amp;#039;user&amp;#039;);&lt;br /&gt;
			var disputed = $self.find(&amp;#039;categories cl[title=&amp;quot;Category:快速删除候选&amp;quot;]&amp;#039;).size() &amp;gt; 0;&lt;br /&gt;
			list.push( {&lt;br /&gt;
				&amp;#039;label&amp;#039;: image + &amp;#039;—作者：&amp;#039; + user + &amp;#039;，上次编辑：&amp;#039; + last_edit + ( disputed ? &amp;#039;（争议&amp;#039; : &amp;#039;&amp;#039; ),&lt;br /&gt;
				&amp;#039;value&amp;#039;: image,&lt;br /&gt;
				&amp;#039;checked&amp;#039;: !disputed&lt;br /&gt;
			});&lt;br /&gt;
		});&lt;br /&gt;
&lt;br /&gt;
		self.params.form.append({&lt;br /&gt;
			type: &amp;#039;checkbox&amp;#039;,&lt;br /&gt;
			name: &amp;#039;images&amp;#039;,&lt;br /&gt;
			list: list&lt;br /&gt;
		});&lt;br /&gt;
		self.params.form.append( { type:&amp;#039;submit&amp;#039; } );&lt;br /&gt;
&lt;br /&gt;
		var result = self.params.form.render();&lt;br /&gt;
		self.params.Window.setContent( result );&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
	wikipedia_api.params = { form:form, Window:Window };&lt;br /&gt;
	wikipedia_api.post();&lt;br /&gt;
	var root = document.createElement( &amp;#039;div&amp;#039; );&lt;br /&gt;
	Morebits.status.init( root );&lt;br /&gt;
	Window.setContent( root );&lt;br /&gt;
	Window.display();&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
Twinkle.delimages.currentDeleteCounter = 0;&lt;br /&gt;
Twinkle.delimages.currentUnlinkCounter = 0;&lt;br /&gt;
Twinkle.delimages.currentdeletor = 0;&lt;br /&gt;
Twinkle.delimages.callback.evaluate = function twinkledeliCallbackEvaluate(event) {&lt;br /&gt;
	var images = event.target.getChecked( &amp;#039;images&amp;#039; );&lt;br /&gt;
	var reason = event.target.reason.value;&lt;br /&gt;
	var delete_image = event.target.delete_image.checked;&lt;br /&gt;
	var unlink_image = event.target.unlink_image.checked;&lt;br /&gt;
	if( ! reason ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	Morebits.simpleWindow.setButtonsEnabled( false );&lt;br /&gt;
	Morebits.status.init( event.target );&lt;br /&gt;
&lt;br /&gt;
	function toCall( work ) {&lt;br /&gt;
		if( work.length === 0 &amp;amp;&amp;amp; Twinkle.delimages.currentDeleteCounter &amp;lt;= 0 &amp;amp;&amp;amp; Twinkle.delimages.currentUnlinkCounter &amp;lt;= 0 ) {&lt;br /&gt;
			window.clearInterval( Twinkle.delimages.currentdeletor );&lt;br /&gt;
			Morebits.wiki.removeCheckpoint();&lt;br /&gt;
			return;&lt;br /&gt;
		} else if( work.length !== 0 &amp;amp;&amp;amp; Twinkle.delimages.currentDeleteCounter &amp;lt;= Twinkle.getPref(&amp;#039;batchDeleteMinCutOff&amp;#039;) &amp;amp;&amp;amp; Twinkle.delimages.currentUnlinkCounter &amp;lt;= Twinkle.getPref(&amp;#039;batchDeleteMinCutOff&amp;#039;) ) {&lt;br /&gt;
			Twinkle.delimages.unlinkCache = []; // Clear the cache&lt;br /&gt;
			var images = work.shift();&lt;br /&gt;
			Twinkle.delimages.currentDeleteCounter = images.length;&lt;br /&gt;
			Twinkle.delimages.currentUnlinkCounter = images.length;&lt;br /&gt;
			var i;&lt;br /&gt;
			for( i = 0; i &amp;lt; images.length; ++i ) {&lt;br /&gt;
				var image = images[i];&lt;br /&gt;
				var query = {&lt;br /&gt;
					&amp;#039;action&amp;#039;: &amp;#039;query&amp;#039;,&lt;br /&gt;
					&amp;#039;titles&amp;#039;: image&lt;br /&gt;
				};&lt;br /&gt;
				var wikipedia_api = new Morebits.wiki.api( &amp;#039;检查文件 &amp;#039; + image + &amp;#039; 是否存在&amp;#039;, query, Twinkle.delimages.callbacks.main );&lt;br /&gt;
				wikipedia_api.params = { image:image, reason:reason, unlink_image:unlink_image, delete_image:delete_image };&lt;br /&gt;
				wikipedia_api.post();&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	var work = Morebits.array.chunk( images, Twinkle.getPref(&amp;#039;deliChunks&amp;#039;) );&lt;br /&gt;
	Morebits.wiki.addCheckpoint();&lt;br /&gt;
	Twinkle.delimages.currentdeletor = window.setInterval( toCall, 1000, work );&lt;br /&gt;
};&lt;br /&gt;
Twinkle.delimages.callbacks = {&lt;br /&gt;
	main: function( self ) {&lt;br /&gt;
		var xmlDoc = self.responseXML;&lt;br /&gt;
		var $data = $(xmlDoc);&lt;br /&gt;
&lt;br /&gt;
		var normal = $data.find(&amp;#039;normalized n&amp;#039;).attr(&amp;#039;to&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
		if( normal ) {&lt;br /&gt;
			self.params.image = normal;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		var exists = $data.find(&amp;#039;pages page[title=&amp;quot;&amp;#039;+self.params.image.replace( /&amp;quot;/g, &amp;#039;\\&amp;quot;&amp;#039;)+&amp;#039;&amp;quot;]:not([missing])&amp;#039;).size() &amp;gt; 0;&lt;br /&gt;
&lt;br /&gt;
		if( ! exists ) {&lt;br /&gt;
			self.statelem.error( &amp;quot;文件不存在，可能已被删除&amp;quot; );&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		if( self.params.unlink_image ) {&lt;br /&gt;
			var query = {&lt;br /&gt;
				&amp;#039;action&amp;#039;: &amp;#039;query&amp;#039;,&lt;br /&gt;
				&amp;#039;list&amp;#039;: &amp;#039;imageusage&amp;#039;,&lt;br /&gt;
				&amp;#039;iutitle&amp;#039;: self.params.image,&lt;br /&gt;
				&amp;#039;iulimit&amp;#039;: Morebits.userIsInGroup( &amp;#039;sysop&amp;#039; ) ? 5000 : 500 // 500 is max for normal users, 5000 for bots and sysops&lt;br /&gt;
			};&lt;br /&gt;
			var wikipedia_api = new Morebits.wiki.api( &amp;#039;抓取文件链接&amp;#039;, query, Twinkle.delimages.callbacks.unlinkImageInstancesMain );&lt;br /&gt;
			wikipedia_api.params = self.params;&lt;br /&gt;
			wikipedia_api.post();&lt;br /&gt;
		}&lt;br /&gt;
		if( self.params.delete_image ) {&lt;br /&gt;
&lt;br /&gt;
			var imagepage = new Morebits.wiki.page( self.params.image, &amp;#039;删除文件&amp;#039;);&lt;br /&gt;
			imagepage.setEditSummary( &amp;quot;文件被删除：&amp;quot; + self.params.reason + Twinkle.getPref(&amp;#039;deletionSummaryAd&amp;#039;));&lt;br /&gt;
			imagepage.deletePage();&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	unlinkImageInstancesMain: function( self ) {&lt;br /&gt;
		var xmlDoc = self.responseXML;&lt;br /&gt;
		var instances = [];&lt;br /&gt;
		$(xmlDoc).find(&amp;#039;imageusage iu&amp;#039;).each(function(){&lt;br /&gt;
			instances.push($(this).attr(&amp;#039;title&amp;#039;));&lt;br /&gt;
		});&lt;br /&gt;
		if( instances.length === 0 ) {&lt;br /&gt;
			--Twinkle.delimages.currentUnlinkCounter;&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		$.each( instances, function(k,title) {&lt;br /&gt;
			var page = new Morebits.wiki.page(title, &amp;quot;取消文件在&amp;quot; + title + &amp;quot; 上的使用&amp;quot;);&lt;br /&gt;
			page.setFollowRedirect(true);&lt;br /&gt;
			page.setCallbackParameters({&amp;#039;image&amp;#039;: self.params.image, &amp;#039;reason&amp;#039;: self.params.reason});&lt;br /&gt;
			page.load(Twinkle.delimages.callbacks.unlinkImageInstances);&lt;br /&gt;
&lt;br /&gt;
		});&lt;br /&gt;
	},&lt;br /&gt;
	unlinkImageInstances: function( self ) {&lt;br /&gt;
		var params = self.getCallbackParameters();&lt;br /&gt;
		var statelem = self.getStatusElement();&lt;br /&gt;
&lt;br /&gt;
		var image = params.image.replace( /^(?:Image|File|文件):/, &amp;#039;&amp;#039; );&lt;br /&gt;
		var old_text = self.getPageText();&lt;br /&gt;
		var wikiPage = new Morebits.wikitext.page( old_text );&lt;br /&gt;
		wikiPage.commentOutImage( image , &amp;#039;注释此文件因其已被删除&amp;#039; );&lt;br /&gt;
		var text = wikiPage.getText();&lt;br /&gt;
&lt;br /&gt;
		if( text === old_text ) {&lt;br /&gt;
			statelem.error( &amp;#039;取消 &amp;#039; + image + &amp;#039; 在 &amp;#039; + self.getPageName() + &amp;#039; 上的使用失败&amp;#039; );&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		self.setPageText(text);&lt;br /&gt;
		self.setEditSummary(&amp;#039;移除文件 &amp;#039; + image + &amp;quot; 因其已被删除，理由为“&amp;quot; + params.reason + &amp;quot;”。&amp;quot; + Twinkle.getPref(&amp;#039;deletionSummaryAd&amp;#039;));&lt;br /&gt;
		self.setCreateOption(&amp;#039;nocreate&amp;#039;);&lt;br /&gt;
		self.save();&lt;br /&gt;
	}&lt;br /&gt;
};&lt;br /&gt;
})(jQuery);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>zhwiki&gt;Jimmy Xu</name></author>
	</entry>
</feed>