<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMassRename.js</id>
	<title>MediaWiki:MassRename.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMassRename.js"/>
	<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;action=history"/>
	<updated>2026-04-07T16:32:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24222&amp;oldid=prev</id>
		<title>Mikevoir at 03:00, 19 July 2024</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24222&amp;oldid=prev"/>
		<updated>2024-07-19T03:00:18Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:00, 19 July 2024&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-l66&quot;&gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&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;     function preload () {&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;     function preload () {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    	console.log(&#039;preload&#039;);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (--preloads === 0) {&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 (--preloads === 0) {&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.dev.i18n.loadMessages(&amp;#039;MassRename&amp;#039;).then(function(){&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.dev.i18n.loadMessages(&amp;#039;MassRename&amp;#039;).then(function(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;i18nData&lt;/ins&gt;){&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        		i18n = i18nData;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     			window.dev.waitFor(&amp;#039;#p-Toolbox-list&amp;#039;, init);&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.dev.waitFor(&amp;#039;#p-Toolbox-list&amp;#039;, init);&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; id=&quot;mw-diff-left-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&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;     function init () {&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;     function init () {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    	console.log(&#039;init&#039;);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     	$(&amp;#039;#p-Toolbox-list&amp;#039;).append(&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     	$(&amp;#039;#p-Toolbox-list&amp;#039;).append(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             $(&amp;#039;&amp;lt;li&amp;gt;&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             $(&amp;#039;&amp;lt;li&amp;gt;&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mikevoir</name></author>
	</entry>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24221&amp;oldid=prev</id>
		<title>Mikevoir at 02:59, 19 July 2024</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24221&amp;oldid=prev"/>
		<updated>2024-07-19T02:59:13Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:59, 19 July 2024&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-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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.MassRenameLoaded = true;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     window.MassRenameLoaded = true;&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 i18n,&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 i18n,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        placement,&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         renameModal,&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;         renameModal,&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;         preloads = 2,&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;         preloads = 2,&lt;/div&gt;&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-l69&quot;&gt;Line 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 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;     	console.log(&amp;#039;preload&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     	console.log(&amp;#039;preload&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (--preloads === 0) {&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 (--preloads === 0) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            placement = window.dev.placement.loader;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             window.dev.i18n.loadMessages(&amp;#039;MassRename&amp;#039;).then(function(){&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.dev.i18n.loadMessages(&amp;#039;MassRename&amp;#039;).then(function(){&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.dev.waitFor(&amp;#039;#p-Toolbox-list&amp;#039;, init);&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.dev.waitFor(&amp;#039;#p-Toolbox-list&amp;#039;, init);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mikevoir</name></author>
	</entry>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24220&amp;oldid=prev</id>
		<title>Mikevoir at 02:58, 19 July 2024</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24220&amp;oldid=prev"/>
		<updated>2024-07-19T02:58:26Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:58, 19 July 2024&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-l229&quot;&gt;Line 229:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 229:&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;     mw.hook(&amp;#039;dev.i18n&amp;#039;).add(preload);&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;     mw.hook(&amp;#039;dev.i18n&amp;#039;).add(preload);&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;     mw.hook(&amp;#039;dev.modal&amp;#039;).add(preload);&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;     mw.hook(&amp;#039;dev.modal&amp;#039;).add(preload);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    importScript(&#039;MediaWiki:I18n-js.js&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     importScript(&amp;#039;MediaWiki:Modal.js&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     importScript(&amp;#039;MediaWiki:Modal.js&amp;#039;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mikevoir</name></author>
	</entry>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24219&amp;oldid=prev</id>
		<title>Mikevoir at 02:57, 19 July 2024</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24219&amp;oldid=prev"/>
		<updated>2024-07-19T02:57:44Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:57, 19 July 2024&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-l67&quot;&gt;Line 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&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;     function preload () {&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;     function preload () {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    	console.log(&#039;preload&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (--preloads === 0) {&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 (--preloads === 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;             placement = window.dev.placement.loader;&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;             placement = window.dev.placement.loader;&lt;/div&gt;&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-l79&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&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;     function init () {&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;     function init () {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    	console.log(&#039;init&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     	$(&amp;#039;#p-Toolbox-list&amp;#039;).append(&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     	$(&amp;#039;#p-Toolbox-list&amp;#039;).append(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             $(&amp;#039;&amp;lt;li&amp;gt;&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             $(&amp;#039;&amp;lt;li&amp;gt;&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mikevoir</name></author>
	</entry>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24217&amp;oldid=prev</id>
		<title>Mikevoir: Created page with &quot;/**  * Mass Rename  * @description Rename pages quickly.  * @author KnazO  */ mw.loader.using(&#039;mediawiki.api&#039;, function () {     if (         window.MassRenameLoaded ||         !/sysop|content-moderator|bot|bot-global|staff|global-discussions-moderator|content-volunteer|wiki-specialist|soap/.test(mw.config.get(&#039;wgUserGroups&#039;).join())     ) {         return;     }     window.MassRenameLoaded = true;     var i18n,         placement,         renameModal,         preloads =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MassRename.js&amp;diff=24217&amp;oldid=prev"/>
		<updated>2024-07-19T02:54:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;*  * Mass Rename  * @description Rename pages quickly.  * @author KnazO: &lt;/span&gt; mw.loader.using(&amp;#039;mediawiki.api&amp;#039;, function () {     if (         window.MassRenameLoaded ||         !/sysop|content-moderator|bot|bot-global|staff|global-discussions-moderator|content-volunteer|wiki-specialist|soap/.test(mw.config.get(&amp;#039;wgUserGroups&amp;#039;).join())     ) {         return;     }     window.MassRenameLoaded = true;     var i18n,         placement,         renameModal,         preloads =...&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Mass Rename&lt;br /&gt;
 * @description Rename pages quickly.&lt;br /&gt;
 * @author KnazO&lt;br /&gt;
 */&lt;br /&gt;
mw.loader.using(&amp;#039;mediawiki.api&amp;#039;, function () {&lt;br /&gt;
    if (&lt;br /&gt;
        window.MassRenameLoaded ||&lt;br /&gt;
        !/sysop|content-moderator|bot|bot-global|staff|global-discussions-moderator|content-volunteer|wiki-specialist|soap/.test(mw.config.get(&amp;#039;wgUserGroups&amp;#039;).join())&lt;br /&gt;
    ) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
    window.MassRenameLoaded = true;&lt;br /&gt;
    var i18n,&lt;br /&gt;
        placement,&lt;br /&gt;
        renameModal,&lt;br /&gt;
        preloads = 2,&lt;br /&gt;
        paused = false;&lt;br /&gt;
    /**&lt;br /&gt;
     * @method formHtml&lt;br /&gt;
     * @description Creates the modal HTML&lt;br /&gt;
     */&lt;br /&gt;
    function formHtml () {&lt;br /&gt;
        return $(&amp;#039;&amp;lt;form&amp;gt;&amp;#039;, {&lt;br /&gt;
            &amp;#039;class&amp;#039;: &amp;#039;WikiaForm&amp;#039;&lt;br /&gt;
        }).append(&lt;br /&gt;
            $(&amp;#039;&amp;lt;fieldset&amp;gt;&amp;#039;).append(&lt;br /&gt;
                $(&amp;#039;&amp;lt;p&amp;gt;&amp;#039;, {&lt;br /&gt;
                    text: i18n.msg(&amp;#039;instructions&amp;#039;).plain()&lt;br /&gt;
                }),&lt;br /&gt;
                $(&amp;#039;&amp;lt;p&amp;gt;&amp;#039;, {&lt;br /&gt;
                    text: i18n.msg(&amp;#039;instructions2&amp;#039;).plain()&lt;br /&gt;
                }),&lt;br /&gt;
                $(&amp;#039;&amp;lt;label&amp;gt;&amp;#039;, {&lt;br /&gt;
                    &amp;#039;for&amp;#039;: &amp;#039;redirect-check&amp;#039;,&lt;br /&gt;
                    text: i18n.msg(&amp;#039;redirect&amp;#039;).plain()&lt;br /&gt;
                }).append(&lt;br /&gt;
                    $(&amp;#039;&amp;lt;input&amp;gt;&amp;#039;, {&lt;br /&gt;
                        type: &amp;#039;checkbox&amp;#039;,&lt;br /&gt;
                        id: &amp;#039;redirect-check&amp;#039;&lt;br /&gt;
                    })&lt;br /&gt;
                ),&lt;br /&gt;
                $(&amp;#039;&amp;lt;br&amp;gt;&amp;#039;),&lt;br /&gt;
                $(&amp;#039;&amp;lt;label&amp;gt;&amp;#039;, {&lt;br /&gt;
                    &amp;#039;for&amp;#039;: &amp;#039;custom-summary&amp;#039;,&lt;br /&gt;
                    text: i18n.msg(&amp;#039;custom-summary&amp;#039;).plain()&lt;br /&gt;
                }).append(&lt;br /&gt;
					$(&amp;#039;&amp;lt;input&amp;gt;&amp;#039;, {&lt;br /&gt;
					    id: &amp;#039;custom-summary&amp;#039;&lt;br /&gt;
					})&lt;br /&gt;
                ),&lt;br /&gt;
                $(&amp;#039;&amp;lt;textarea&amp;gt;&amp;#039;, {&lt;br /&gt;
                    id: &amp;#039;text-rename&amp;#039;,&lt;br /&gt;
                    placeholder: &amp;#039;old_name new_name&amp;#039;&lt;br /&gt;
                }),&lt;br /&gt;
                $(&amp;#039;&amp;lt;div&amp;gt;&amp;#039;, {&lt;br /&gt;
                    id: &amp;#039;text-error-output&amp;#039;,&lt;br /&gt;
                    text: i18n.msg(&amp;#039;outputInitial&amp;#039;).plain(),&lt;br /&gt;
                    append: &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;&lt;br /&gt;
                })&lt;br /&gt;
            )&lt;br /&gt;
        ).prop(&amp;#039;outerHTML&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method preload&lt;br /&gt;
     * @description Loads the hooks and I18n messages&lt;br /&gt;
     */&lt;br /&gt;
    function preload () {&lt;br /&gt;
        if (--preloads === 0) {&lt;br /&gt;
            placement = window.dev.placement.loader;&lt;br /&gt;
            window.dev.i18n.loadMessages(&amp;#039;MassRename&amp;#039;).then(function(){&lt;br /&gt;
    			window.dev.waitFor(&amp;#039;#p-Toolbox-list&amp;#039;, init);&lt;br /&gt;
    		});&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method init&lt;br /&gt;
     * @description Initiates the script&lt;br /&gt;
     */&lt;br /&gt;
    function init () {&lt;br /&gt;
    	$(&amp;#039;#p-Toolbox-list&amp;#039;).append(&lt;br /&gt;
            $(&amp;#039;&amp;lt;li&amp;gt;&amp;#039;, {&lt;br /&gt;
                id: &amp;#039;n-Mass-rename&amp;#039;,&lt;br /&gt;
                &amp;#039;class&amp;#039;: &amp;#039;mw-list-item&amp;#039;,&lt;br /&gt;
            }).append(&lt;br /&gt;
                $(&amp;#039;&amp;lt;a&amp;gt;&amp;#039;, {&lt;br /&gt;
                    id: &amp;#039;t-mr&amp;#039;,&lt;br /&gt;
                    href: &amp;#039;#&amp;#039;,&lt;br /&gt;
                    text: &amp;#039;Mass rename&amp;#039;,&lt;br /&gt;
                    click: click&lt;br /&gt;
                })&lt;br /&gt;
            )&lt;br /&gt;
    	);&lt;br /&gt;
    	$(&amp;#039;#p-Toolbox.emptyPortlet&amp;#039;).removeClass(&amp;#039;emptyPortlet&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method click&lt;br /&gt;
     * @description Opens the MassRename modal&lt;br /&gt;
     */&lt;br /&gt;
    function click () {&lt;br /&gt;
        if (renameModal) {&lt;br /&gt;
            renameModal.show();&lt;br /&gt;
            return;&lt;br /&gt;
        }&lt;br /&gt;
        renameModal = new window.dev.modal.Modal({&lt;br /&gt;
            content: formHtml(),&lt;br /&gt;
            id: &amp;#039;form-mass-rename&amp;#039;,&lt;br /&gt;
            size: &amp;#039;medium&amp;#039;,&lt;br /&gt;
            title: i18n.msg(&amp;#039;title&amp;#039;).escape(),&lt;br /&gt;
            buttons: [&lt;br /&gt;
                {&lt;br /&gt;
                    id: &amp;#039;mr1-start&amp;#039;,&lt;br /&gt;
                    text: i18n.msg(&amp;#039;initiate&amp;#039;).escape(),&lt;br /&gt;
                    primary: true,&lt;br /&gt;
                    event: &amp;#039;start&amp;#039;&lt;br /&gt;
                },&lt;br /&gt;
                {&lt;br /&gt;
                    id: &amp;#039;mr1-pause&amp;#039;,&lt;br /&gt;
                    text: i18n.msg(&amp;#039;pause&amp;#039;).escape(),&lt;br /&gt;
                    primary: true,&lt;br /&gt;
                    event: &amp;#039;pause&amp;#039;,&lt;br /&gt;
                    disabled: true&lt;br /&gt;
                },&lt;br /&gt;
                {&lt;br /&gt;
                    text: i18n.msg(&amp;#039;close&amp;#039;).escape(),&lt;br /&gt;
                    event: &amp;#039;close&amp;#039;&lt;br /&gt;
                }&lt;br /&gt;
            ],&lt;br /&gt;
            events: {&lt;br /&gt;
                pause: pause,&lt;br /&gt;
                start: start&lt;br /&gt;
            }&lt;br /&gt;
        });&lt;br /&gt;
        renameModal.create();&lt;br /&gt;
        renameModal.show();&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method pause&lt;br /&gt;
     * @description Pauses the operation&lt;br /&gt;
     */&lt;br /&gt;
    function pause () {&lt;br /&gt;
        paused = true;&lt;br /&gt;
        document.getElementById(&amp;#039;mr1-pause&amp;#039;).setAttribute(&amp;#039;disabled&amp;#039;, &amp;#039;&amp;#039;);&lt;br /&gt;
        document.getElementById(&amp;#039;mr1-start&amp;#039;).removeAttribute(&amp;#039;disabled&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method start&lt;br /&gt;
     * @description Starts the operation&lt;br /&gt;
     */&lt;br /&gt;
    function start () {&lt;br /&gt;
        paused = false;&lt;br /&gt;
        document.getElementById(&amp;#039;mr1-start&amp;#039;).setAttribute(&amp;#039;disabled&amp;#039;, &amp;#039;&amp;#039;);&lt;br /&gt;
        document.getElementById(&amp;#039;mr1-pause&amp;#039;).removeAttribute(&amp;#039;disabled&amp;#039;);&lt;br /&gt;
        process();&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method process&lt;br /&gt;
     * @description Analyzes the inputted data&lt;br /&gt;
     */&lt;br /&gt;
    function process () {&lt;br /&gt;
        if (paused) {&lt;br /&gt;
            return;&lt;br /&gt;
        }&lt;br /&gt;
        var txt = document.getElementById(&amp;#039;text-rename&amp;#039;),&lt;br /&gt;
            pages = txt.value.split(&amp;#039;\n&amp;#039;),&lt;br /&gt;
            page = pages[0];&lt;br /&gt;
        if (!page) {&lt;br /&gt;
            $(&amp;#039;#text-error-output&amp;#039;).append(&lt;br /&gt;
                i18n.msg(&amp;#039;finished&amp;#039;).escape() +&lt;br /&gt;
                &amp;#039; &amp;#039; +&lt;br /&gt;
                i18n.msg(&amp;#039;nothingLeftToDo&amp;#039;).escape() +&lt;br /&gt;
                &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;&lt;br /&gt;
            );&lt;br /&gt;
            pause();&lt;br /&gt;
        } else {&lt;br /&gt;
            rename(page);&lt;br /&gt;
        }&lt;br /&gt;
        pages = pages.slice(1, pages.length);&lt;br /&gt;
        txt.value = pages.join(&amp;#039;\n&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
    /**&lt;br /&gt;
     * @method rename&lt;br /&gt;
     * @description Renames the page&lt;br /&gt;
     * @param {String} name - The rename data&lt;br /&gt;
     */&lt;br /&gt;
    function rename (name) {&lt;br /&gt;
        if (name.split(&amp;#039; &amp;#039;).length !== 2) {&lt;br /&gt;
            $(&amp;#039;#text-error-output&amp;#039;).append(i18n.msg(&amp;#039;invalidInput&amp;#039;, name).escape() + &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;);&lt;br /&gt;
        } else {&lt;br /&gt;
            var oldName = name.split(&amp;#039; &amp;#039;)[0],&lt;br /&gt;
                newName = name.split(&amp;#039; &amp;#039;)[1],&lt;br /&gt;
                config = {&lt;br /&gt;
                    action: &amp;#039;move&amp;#039;,&lt;br /&gt;
                    from: oldName.replace(&amp;#039;_&amp;#039;, &amp;#039; &amp;#039;),&lt;br /&gt;
                    to: newName.replace(&amp;#039;_&amp;#039;, &amp;#039; &amp;#039;),&lt;br /&gt;
                    noredirect: &amp;#039;&amp;#039;,&lt;br /&gt;
                    reason:&lt;br /&gt;
                    	($(&amp;#039;#custom-summary&amp;#039;)[0].value.length &amp;gt; 0 &amp;amp;&amp;amp; $(&amp;#039;#custom-summary&amp;#039;)[0].value) ||&lt;br /&gt;
                        window.massRenameSummary ||&lt;br /&gt;
                        i18n.inContentLang().msg(&amp;#039;summary&amp;#039;).plain(),&lt;br /&gt;
                    bot: true,&lt;br /&gt;
                    token: mw.user.tokens.get(&amp;#039;csrfToken&amp;#039;)&lt;br /&gt;
                };&lt;br /&gt;
            if (document.getElementById(&amp;#039;redirect-check&amp;#039;).checked) {&lt;br /&gt;
                delete config.noredirect;&lt;br /&gt;
            }&lt;br /&gt;
            new mw.Api().post(config)&lt;br /&gt;
            .done(function (d) {&lt;br /&gt;
                if (!d.error) {&lt;br /&gt;
                    console.log(i18n.msg(&amp;#039;renameDone&amp;#039;, oldName, newName).plain());&lt;br /&gt;
                } else {&lt;br /&gt;
                    console.error(i18n.msg(&amp;#039;renameFail&amp;#039;, oldName, newName).escape() + &amp;#039;: &amp;#039; + d.error.code);&lt;br /&gt;
                    $(&amp;#039;#text-error-output&amp;#039;).append(i18n.msg(&amp;#039;renameFail&amp;#039;, oldName, newName).escape() + &amp;#039;: &amp;#039; + d.error.code + &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;);&lt;br /&gt;
                }&lt;br /&gt;
            })&lt;br /&gt;
            .fail(function (error) {&lt;br /&gt;
                console.error(i18n.msg(&amp;#039;renameFail&amp;#039;, oldName, newName).plain() + &amp;#039;: &amp;#039; + error);&lt;br /&gt;
                $(&amp;#039;#text-error-output&amp;#039;).append(i18n.msg(&amp;#039;renameFail2&amp;#039;, oldName, newName).escape() + &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;);&lt;br /&gt;
            });&lt;br /&gt;
        }&lt;br /&gt;
        setTimeout(process, window.massRenameDelay || 1000);&lt;br /&gt;
    }&lt;br /&gt;
    mw.util.addCSS(&lt;br /&gt;
    	&amp;#039;#text-rename{height:20em;resize:none;width:100%}&amp;#039;+&lt;br /&gt;
    	&amp;#039;#text-error-output{background-color:#ffbfbf;color:black;font-weight:bold;width:100%;overflow:scroll}&amp;#039;&lt;br /&gt;
    );&lt;br /&gt;
    mw.hook(&amp;#039;dev.i18n&amp;#039;).add(preload);&lt;br /&gt;
    mw.hook(&amp;#039;dev.modal&amp;#039;).add(preload);&lt;br /&gt;
    importScript(&amp;#039;MediaWiki:Modal.js&amp;#039;);&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Mikevoir</name></author>
	</entry>
</feed>