<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://hmoegirl.com/index.php?action=history&amp;feed=atom&amp;title=Widget%3ACreateGallery</id>
	<title>Widget:CreateGallery - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://hmoegirl.com/index.php?action=history&amp;feed=atom&amp;title=Widget%3ACreateGallery"/>
	<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:CreateGallery&amp;action=history"/>
	<updated>2026-07-17T17:55:21Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:CreateGallery&amp;diff=72048&amp;oldid=prev</id>
		<title>BakeWater：​文本替换 - 替换“window.RLQ.push(”为“window.addEventListener(&#039;jquery-ready&#039;, ”</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:CreateGallery&amp;diff=72048&amp;oldid=prev"/>
		<updated>2022-11-20T09:14:16Z</updated>

		<summary type="html">&lt;p&gt;文本替换 - 替换“window.RLQ.push(”为“window.addEventListener(&amp;#039;jquery-ready&amp;#039;, ”&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022年11月20日 (日) 17:14的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;用来输出画廊图片生成代码到id为“createGalleryBox”的div，作者[[User:AnnAngela]]，源代码参见[[Widget:CreateGallery/源代码]]。&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgCreateGallery) || !$wgCreateGallery}--&amp;gt;&amp;lt;!--{assign var=&quot;wgCreateGallery&quot; value=true scope=&quot;global&quot;}--&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryTitle&quot;&amp;gt;画廊代码生成框&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;createGalleryBoxNoDesktop&quot;&amp;gt;移动版不适用画廊代码自动生成，请使用桌面版。&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryError&quot;&amp;gt;创建画廊代码生成框失败，请刷新。&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryBox&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;window.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RLQ.push&lt;/del&gt;(function(){!function(a,b){return a(&quot;body&quot;).hasClass(&quot;skin-minerva&quot;)||-1!=a(&quot;title&quot;).text().indexOf(&quot;iOS&quot;)?console.debug(&quot;移动版不适用画廊代码自动生成&quot;):(&quot;undefined&quot;==typeof b.config.get(&quot;createGallery&quot;)&amp;amp;&amp;amp;(b.config.set(&quot;createGallery&quot;,&quot;on&quot;),a(function(){var b,c,d,e,f,g,h;a(&quot;.createGalleryBoxNoDesktop,#createGalleryError&quot;).hide(),a(&quot;#createGalleryBox&quot;).show(),a(&quot;#createGalleryBox&quot;).append(&#039;&amp;lt;div id=&quot;createGallery&quot;/&amp;gt;&#039;),a(&quot;#createGallery&quot;).append(&#039;&amp;lt;div id=&quot;createGalleryContent&quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&quot;createGalleryButton&quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&quot;createGalleryOutput&quot;/&amp;gt;&#039;),a(&quot;#createGalleryContent&quot;).before(&quot;&amp;lt;div&amp;gt;输入区：&amp;lt;/div&amp;gt;&quot;).after(&quot;&amp;lt;div&amp;gt;如果一行中“图片名”和“页面名”有一个不是有效值则不输出该行！&amp;lt;/div&amp;gt;&quot;).append(&#039;&amp;lt;div id=&quot;createGalleryContentMode&quot;/&amp;gt;&amp;lt;input id=&quot;createGalleryContentLine&quot;/&amp;gt;&amp;lt;ol/&amp;gt;&#039;).find(&quot;#createGalleryContentLine&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;点击新增一行&quot;).bind(&quot;click&quot;,function(){b=a(&quot;#createGalleryContent ol&quot;).append(&#039;&amp;lt;li class=&quot;createGalleryContentLine&quot;/&amp;gt;&#039;).find(&quot;.createGalleryContentLine:empty&quot;).append(&#039;&amp;lt;input class=&quot;createGalleryContentLine1&quot;/&amp;gt;&amp;lt;input class=&quot;createGalleryContentLine2&quot;/&amp;gt;&amp;lt;input class=&quot;createGalleryContentLine3&quot;/&amp;gt;&#039;),b.find(&quot;.createGalleryContentLine1&quot;).attr({type:&quot;input&quot;,placeholder:&quot;图片名（不带File:或Image:前缀）&quot;}),b.find(&quot;.createGalleryContentLine2&quot;).attr({type:&quot;input&quot;,placeholder:&quot;页面名&quot;}),b.find(&quot;.createGalleryContentLine3&quot;).attr({type:&quot;input&quot;,placeholder:&quot;链接标题（不填则使用页面名）&quot;})}),a(&quot;#createGalleryContentMode&quot;).append(&#039;&amp;lt;span&amp;gt;模　式：&amp;lt;/span&amp;gt;&amp;lt;input id=&quot;createGalleryMode&quot;/&amp;gt;&#039;).find(&quot;#createGalleryMode&quot;).attr({type:&quot;input&quot;,placeholder:&quot;默认为traditional&quot;}),a(&quot;#createGalleryButton&quot;).append(&#039;&amp;lt;span&amp;gt;操　作：&amp;lt;/span&amp;gt;&amp;lt;input id=&quot;createGalleryButton2Output&quot;/&amp;gt;&amp;lt;input id=&quot;createGalleryButton2Clear&quot;/&amp;gt;&#039;),a(&quot;#createGalleryOutput&quot;).append(&quot;&amp;lt;div&amp;gt;输出区：&amp;lt;/div&amp;gt;&amp;lt;pre/&amp;gt;&quot;),a(&quot;#createGalleryButton2Output&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;输出&quot;).bind(&quot;click&quot;,function(){switch(_ContentMode=a(&quot;#createGalleryMode&quot;),c=a(&quot;#createGalleryContent .createGalleryContentLine&quot;),g=a(&quot;#createGalleryOutput pre&quot;),_ContentMode.val()){case&quot;traditional&quot;:case&quot;nolines&quot;:case&quot;packed&quot;:case&quot;packed-overlay&quot;:case&quot;packed-hover&quot;:g.empty().append(&#039;&amp;amp;lt;gallery mode=&quot;&#039;+_ContentMode.val()+&#039;&quot;&amp;gt;&#039;);break;default:g.empty().append(&#039;&amp;amp;lt;gallery mode=&quot;traditional&quot;&amp;gt;&#039;)}c.each(function(){return h=a(this),d=h.find(&quot;.createGalleryContentLine1&quot;).val(),e=h.find(&quot;.createGalleryContentLine2&quot;).val(),f=h.find(&quot;.createGalleryContentLine3&quot;).val(),!d||!e||!d.toLowerCase().indexOf(&quot;file:&quot;)+!d.toLowerCase().indexOf(&quot;image:&quot;)?!0:(f?g.append(&quot;\nImage:&quot;+d+&quot;|[[&quot;+e+&quot;|&quot;+f+&quot;]]|link=&quot;+e+&quot;|alt=&quot;+e):g.append(&quot;\nImage:&quot;+d+&quot;|[[&quot;+e+&quot;]]|link=&quot;+e+&quot;|alt=&quot;+e),void 0)}),g.append(&quot;\n&amp;amp;lt;/gallery&amp;gt;&quot;)}),a(&quot;#createGalleryButton2Clear&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;清空&quot;).bind(&quot;click&quot;,function(){a(&quot;#createGalleryContent ol,#createGalleryOutput pre&quot;).empty()})})),void 0)}(jQuery,mediaWiki);});&amp;lt;/script&amp;gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;#createGalleryBox,.skin-vector #createGalleryBoxNoDesktop{display:none}#createGalleryTitle{text-align:center;font-weight:bold}#createGallery{margin:1em;border:1px solid #a7d7f9;padding:1em}#createGallery span{height:22px}#createGallery hr{margin:1em}#createGalleryContent{margin-bottom:1em;border:1px solid #a7d7f9;padding:1em}#createGalleryContentMode{margin-bottom:1em}#createGalleryContent ol input{width:30%;margin-right:1em}&amp;lt;/style&amp;gt;&amp;lt;!--{/if}--&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;用来输出画廊图片生成代码到id为“createGalleryBox”的div，作者[[User:AnnAngela]]，源代码参见[[Widget:CreateGallery/源代码]]。&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgCreateGallery) || !$wgCreateGallery}--&amp;gt;&amp;lt;!--{assign var=&quot;wgCreateGallery&quot; value=true scope=&quot;global&quot;}--&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryTitle&quot;&amp;gt;画廊代码生成框&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;createGalleryBoxNoDesktop&quot;&amp;gt;移动版不适用画廊代码自动生成，请使用桌面版。&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryError&quot;&amp;gt;创建画廊代码生成框失败，请刷新。&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;nomobile&quot; id=&quot;createGalleryBox&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;window.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addEventListener&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;jquery-ready&#039;, &lt;/ins&gt;function(){!function(a,b){return a(&quot;body&quot;).hasClass(&quot;skin-minerva&quot;)||-1!=a(&quot;title&quot;).text().indexOf(&quot;iOS&quot;)?console.debug(&quot;移动版不适用画廊代码自动生成&quot;):(&quot;undefined&quot;==typeof b.config.get(&quot;createGallery&quot;)&amp;amp;&amp;amp;(b.config.set(&quot;createGallery&quot;,&quot;on&quot;),a(function(){var b,c,d,e,f,g,h;a(&quot;.createGalleryBoxNoDesktop,#createGalleryError&quot;).hide(),a(&quot;#createGalleryBox&quot;).show(),a(&quot;#createGalleryBox&quot;).append(&#039;&amp;lt;div id=&quot;createGallery&quot;/&amp;gt;&#039;),a(&quot;#createGallery&quot;).append(&#039;&amp;lt;div id=&quot;createGalleryContent&quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&quot;createGalleryButton&quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&quot;createGalleryOutput&quot;/&amp;gt;&#039;),a(&quot;#createGalleryContent&quot;).before(&quot;&amp;lt;div&amp;gt;输入区：&amp;lt;/div&amp;gt;&quot;).after(&quot;&amp;lt;div&amp;gt;如果一行中“图片名”和“页面名”有一个不是有效值则不输出该行！&amp;lt;/div&amp;gt;&quot;).append(&#039;&amp;lt;div id=&quot;createGalleryContentMode&quot;/&amp;gt;&amp;lt;input id=&quot;createGalleryContentLine&quot;/&amp;gt;&amp;lt;ol/&amp;gt;&#039;).find(&quot;#createGalleryContentLine&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;点击新增一行&quot;).bind(&quot;click&quot;,function(){b=a(&quot;#createGalleryContent ol&quot;).append(&#039;&amp;lt;li class=&quot;createGalleryContentLine&quot;/&amp;gt;&#039;).find(&quot;.createGalleryContentLine:empty&quot;).append(&#039;&amp;lt;input class=&quot;createGalleryContentLine1&quot;/&amp;gt;&amp;lt;input class=&quot;createGalleryContentLine2&quot;/&amp;gt;&amp;lt;input class=&quot;createGalleryContentLine3&quot;/&amp;gt;&#039;),b.find(&quot;.createGalleryContentLine1&quot;).attr({type:&quot;input&quot;,placeholder:&quot;图片名（不带File:或Image:前缀）&quot;}),b.find(&quot;.createGalleryContentLine2&quot;).attr({type:&quot;input&quot;,placeholder:&quot;页面名&quot;}),b.find(&quot;.createGalleryContentLine3&quot;).attr({type:&quot;input&quot;,placeholder:&quot;链接标题（不填则使用页面名）&quot;})}),a(&quot;#createGalleryContentMode&quot;).append(&#039;&amp;lt;span&amp;gt;模　式：&amp;lt;/span&amp;gt;&amp;lt;input id=&quot;createGalleryMode&quot;/&amp;gt;&#039;).find(&quot;#createGalleryMode&quot;).attr({type:&quot;input&quot;,placeholder:&quot;默认为traditional&quot;}),a(&quot;#createGalleryButton&quot;).append(&#039;&amp;lt;span&amp;gt;操　作：&amp;lt;/span&amp;gt;&amp;lt;input id=&quot;createGalleryButton2Output&quot;/&amp;gt;&amp;lt;input id=&quot;createGalleryButton2Clear&quot;/&amp;gt;&#039;),a(&quot;#createGalleryOutput&quot;).append(&quot;&amp;lt;div&amp;gt;输出区：&amp;lt;/div&amp;gt;&amp;lt;pre/&amp;gt;&quot;),a(&quot;#createGalleryButton2Output&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;输出&quot;).bind(&quot;click&quot;,function(){switch(_ContentMode=a(&quot;#createGalleryMode&quot;),c=a(&quot;#createGalleryContent .createGalleryContentLine&quot;),g=a(&quot;#createGalleryOutput pre&quot;),_ContentMode.val()){case&quot;traditional&quot;:case&quot;nolines&quot;:case&quot;packed&quot;:case&quot;packed-overlay&quot;:case&quot;packed-hover&quot;:g.empty().append(&#039;&amp;amp;lt;gallery mode=&quot;&#039;+_ContentMode.val()+&#039;&quot;&amp;gt;&#039;);break;default:g.empty().append(&#039;&amp;amp;lt;gallery mode=&quot;traditional&quot;&amp;gt;&#039;)}c.each(function(){return h=a(this),d=h.find(&quot;.createGalleryContentLine1&quot;).val(),e=h.find(&quot;.createGalleryContentLine2&quot;).val(),f=h.find(&quot;.createGalleryContentLine3&quot;).val(),!d||!e||!d.toLowerCase().indexOf(&quot;file:&quot;)+!d.toLowerCase().indexOf(&quot;image:&quot;)?!0:(f?g.append(&quot;\nImage:&quot;+d+&quot;|[[&quot;+e+&quot;|&quot;+f+&quot;]]|link=&quot;+e+&quot;|alt=&quot;+e):g.append(&quot;\nImage:&quot;+d+&quot;|[[&quot;+e+&quot;]]|link=&quot;+e+&quot;|alt=&quot;+e),void 0)}),g.append(&quot;\n&amp;amp;lt;/gallery&amp;gt;&quot;)}),a(&quot;#createGalleryButton2Clear&quot;).attr(&quot;type&quot;,&quot;button&quot;).val(&quot;清空&quot;).bind(&quot;click&quot;,function(){a(&quot;#createGalleryContent ol,#createGalleryOutput pre&quot;).empty()})})),void 0)}(jQuery,mediaWiki);});&amp;lt;/script&amp;gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;#createGalleryBox,.skin-vector #createGalleryBoxNoDesktop{display:none}#createGalleryTitle{text-align:center;font-weight:bold}#createGallery{margin:1em;border:1px solid #a7d7f9;padding:1em}#createGallery span{height:22px}#createGallery hr{margin:1em}#createGalleryContent{margin-bottom:1em;border:1px solid #a7d7f9;padding:1em}#createGalleryContentMode{margin-bottom:1em}#createGalleryContent ol input{width:30%;margin-right:1em}&amp;lt;/style&amp;gt;&amp;lt;!--{/if}--&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BakeWater</name></author>
	</entry>
	<entry>
		<id>https://hmoegirl.com/index.php?title=Widget:CreateGallery&amp;diff=58699&amp;oldid=prev</id>
		<title>imported&gt;=海豚=：​创建页面，内容为“&lt;noinclude&gt;用来输出画廊图片生成代码到id为“createGalleryBox”的div，作者User:AnnAngela，源代码参见Widget:CreateGallery/源代码。…”</title>
		<link rel="alternate" type="text/html" href="https://hmoegirl.com/index.php?title=Widget:CreateGallery&amp;diff=58699&amp;oldid=prev"/>
		<updated>2020-04-03T07:07:51Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“&amp;lt;noinclude&amp;gt;用来输出画廊图片生成代码到id为“createGalleryBox”的div，作者&lt;a href=&quot;/index.php?title=User:AnnAngela&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:AnnAngela（页面不存在）&quot; data-bs-username=&quot;AnnAngela&quot; data-bs-title=&quot;User:AnnAngela&quot;&gt;User:AnnAngela&lt;/a&gt;，源代码参见&lt;a href=&quot;/index.php?title=Widget:CreateGallery/%E6%BA%90%E4%BB%A3%E7%A0%81&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Widget:CreateGallery/源代码（页面不存在）&quot; data-bs-title=&quot;Widget:CreateGallery/源代码&quot;&gt;Widget:CreateGallery/源代码&lt;/a&gt;。…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;用来输出画廊图片生成代码到id为“createGalleryBox”的div，作者[[User:AnnAngela]]，源代码参见[[Widget:CreateGallery/源代码]]。&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--{if !isset($wgCreateGallery) || !$wgCreateGallery}--&amp;gt;&amp;lt;!--{assign var=&amp;quot;wgCreateGallery&amp;quot; value=true scope=&amp;quot;global&amp;quot;}--&amp;gt;&amp;lt;div class=&amp;quot;nomobile&amp;quot; id=&amp;quot;createGalleryTitle&amp;quot;&amp;gt;画廊代码生成框&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;createGalleryBoxNoDesktop&amp;quot;&amp;gt;移动版不适用画廊代码自动生成，请使用桌面版。&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;nomobile&amp;quot; id=&amp;quot;createGalleryError&amp;quot;&amp;gt;创建画廊代码生成框失败，请刷新。&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;nomobile&amp;quot; id=&amp;quot;createGalleryBox&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;window.RLQ.push(function(){!function(a,b){return a(&amp;quot;body&amp;quot;).hasClass(&amp;quot;skin-minerva&amp;quot;)||-1!=a(&amp;quot;title&amp;quot;).text().indexOf(&amp;quot;iOS&amp;quot;)?console.debug(&amp;quot;移动版不适用画廊代码自动生成&amp;quot;):(&amp;quot;undefined&amp;quot;==typeof b.config.get(&amp;quot;createGallery&amp;quot;)&amp;amp;&amp;amp;(b.config.set(&amp;quot;createGallery&amp;quot;,&amp;quot;on&amp;quot;),a(function(){var b,c,d,e,f,g,h;a(&amp;quot;.createGalleryBoxNoDesktop,#createGalleryError&amp;quot;).hide(),a(&amp;quot;#createGalleryBox&amp;quot;).show(),a(&amp;quot;#createGalleryBox&amp;quot;).append(&amp;#039;&amp;lt;div id=&amp;quot;createGallery&amp;quot;/&amp;gt;&amp;#039;),a(&amp;quot;#createGallery&amp;quot;).append(&amp;#039;&amp;lt;div id=&amp;quot;createGalleryContent&amp;quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&amp;quot;createGalleryButton&amp;quot;/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;div id=&amp;quot;createGalleryOutput&amp;quot;/&amp;gt;&amp;#039;),a(&amp;quot;#createGalleryContent&amp;quot;).before(&amp;quot;&amp;lt;div&amp;gt;输入区：&amp;lt;/div&amp;gt;&amp;quot;).after(&amp;quot;&amp;lt;div&amp;gt;如果一行中“图片名”和“页面名”有一个不是有效值则不输出该行！&amp;lt;/div&amp;gt;&amp;quot;).append(&amp;#039;&amp;lt;div id=&amp;quot;createGalleryContentMode&amp;quot;/&amp;gt;&amp;lt;input id=&amp;quot;createGalleryContentLine&amp;quot;/&amp;gt;&amp;lt;ol/&amp;gt;&amp;#039;).find(&amp;quot;#createGalleryContentLine&amp;quot;).attr(&amp;quot;type&amp;quot;,&amp;quot;button&amp;quot;).val(&amp;quot;点击新增一行&amp;quot;).bind(&amp;quot;click&amp;quot;,function(){b=a(&amp;quot;#createGalleryContent ol&amp;quot;).append(&amp;#039;&amp;lt;li class=&amp;quot;createGalleryContentLine&amp;quot;/&amp;gt;&amp;#039;).find(&amp;quot;.createGalleryContentLine:empty&amp;quot;).append(&amp;#039;&amp;lt;input class=&amp;quot;createGalleryContentLine1&amp;quot;/&amp;gt;&amp;lt;input class=&amp;quot;createGalleryContentLine2&amp;quot;/&amp;gt;&amp;lt;input class=&amp;quot;createGalleryContentLine3&amp;quot;/&amp;gt;&amp;#039;),b.find(&amp;quot;.createGalleryContentLine1&amp;quot;).attr({type:&amp;quot;input&amp;quot;,placeholder:&amp;quot;图片名（不带File:或Image:前缀）&amp;quot;}),b.find(&amp;quot;.createGalleryContentLine2&amp;quot;).attr({type:&amp;quot;input&amp;quot;,placeholder:&amp;quot;页面名&amp;quot;}),b.find(&amp;quot;.createGalleryContentLine3&amp;quot;).attr({type:&amp;quot;input&amp;quot;,placeholder:&amp;quot;链接标题（不填则使用页面名）&amp;quot;})}),a(&amp;quot;#createGalleryContentMode&amp;quot;).append(&amp;#039;&amp;lt;span&amp;gt;模　式：&amp;lt;/span&amp;gt;&amp;lt;input id=&amp;quot;createGalleryMode&amp;quot;/&amp;gt;&amp;#039;).find(&amp;quot;#createGalleryMode&amp;quot;).attr({type:&amp;quot;input&amp;quot;,placeholder:&amp;quot;默认为traditional&amp;quot;}),a(&amp;quot;#createGalleryButton&amp;quot;).append(&amp;#039;&amp;lt;span&amp;gt;操　作：&amp;lt;/span&amp;gt;&amp;lt;input id=&amp;quot;createGalleryButton2Output&amp;quot;/&amp;gt;&amp;lt;input id=&amp;quot;createGalleryButton2Clear&amp;quot;/&amp;gt;&amp;#039;),a(&amp;quot;#createGalleryOutput&amp;quot;).append(&amp;quot;&amp;lt;div&amp;gt;输出区：&amp;lt;/div&amp;gt;&amp;lt;pre/&amp;gt;&amp;quot;),a(&amp;quot;#createGalleryButton2Output&amp;quot;).attr(&amp;quot;type&amp;quot;,&amp;quot;button&amp;quot;).val(&amp;quot;输出&amp;quot;).bind(&amp;quot;click&amp;quot;,function(){switch(_ContentMode=a(&amp;quot;#createGalleryMode&amp;quot;),c=a(&amp;quot;#createGalleryContent .createGalleryContentLine&amp;quot;),g=a(&amp;quot;#createGalleryOutput pre&amp;quot;),_ContentMode.val()){case&amp;quot;traditional&amp;quot;:case&amp;quot;nolines&amp;quot;:case&amp;quot;packed&amp;quot;:case&amp;quot;packed-overlay&amp;quot;:case&amp;quot;packed-hover&amp;quot;:g.empty().append(&amp;#039;&amp;amp;lt;gallery mode=&amp;quot;&amp;#039;+_ContentMode.val()+&amp;#039;&amp;quot;&amp;gt;&amp;#039;);break;default:g.empty().append(&amp;#039;&amp;amp;lt;gallery mode=&amp;quot;traditional&amp;quot;&amp;gt;&amp;#039;)}c.each(function(){return h=a(this),d=h.find(&amp;quot;.createGalleryContentLine1&amp;quot;).val(),e=h.find(&amp;quot;.createGalleryContentLine2&amp;quot;).val(),f=h.find(&amp;quot;.createGalleryContentLine3&amp;quot;).val(),!d||!e||!d.toLowerCase().indexOf(&amp;quot;file:&amp;quot;)+!d.toLowerCase().indexOf(&amp;quot;image:&amp;quot;)?!0:(f?g.append(&amp;quot;\nImage:&amp;quot;+d+&amp;quot;|[[&amp;quot;+e+&amp;quot;|&amp;quot;+f+&amp;quot;]]|link=&amp;quot;+e+&amp;quot;|alt=&amp;quot;+e):g.append(&amp;quot;\nImage:&amp;quot;+d+&amp;quot;|[[&amp;quot;+e+&amp;quot;]]|link=&amp;quot;+e+&amp;quot;|alt=&amp;quot;+e),void 0)}),g.append(&amp;quot;\n&amp;amp;lt;/gallery&amp;gt;&amp;quot;)}),a(&amp;quot;#createGalleryButton2Clear&amp;quot;).attr(&amp;quot;type&amp;quot;,&amp;quot;button&amp;quot;).val(&amp;quot;清空&amp;quot;).bind(&amp;quot;click&amp;quot;,function(){a(&amp;quot;#createGalleryContent ol,#createGalleryOutput pre&amp;quot;).empty()})})),void 0)}(jQuery,mediaWiki);});&amp;lt;/script&amp;gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;#createGalleryBox,.skin-vector #createGalleryBoxNoDesktop{display:none}#createGalleryTitle{text-align:center;font-weight:bold}#createGallery{margin:1em;border:1px solid #a7d7f9;padding:1em}#createGallery span{height:22px}#createGallery hr{margin:1em}#createGalleryContent{margin-bottom:1em;border:1px solid #a7d7f9;padding:1em}#createGalleryContentMode{margin-bottom:1em}#createGalleryContent ol input{width:30%;margin-right:1em}&amp;lt;/style&amp;gt;&amp;lt;!--{/if}--&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;=海豚=</name></author>
	</entry>
</feed>