<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirect-multi</id>
	<title>Module:Redirect-multi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirect-multi"/>
	<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Redirect-multi&amp;action=history"/>
	<updated>2026-04-24T04:50:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Redirect-multi&amp;diff=3147&amp;oldid=prev</id>
		<title>Kurt: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Redirect-multi&amp;diff=3147&amp;oldid=prev"/>
		<updated>2022-07-21T14:35:50Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:35, 21 July 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Redirect-multi&amp;diff=3146&amp;oldid=prev</id>
		<title>en&gt;AlexiusHoratius: Protected &quot;Module:Redirect-multi&quot;: Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Redirect-multi&amp;diff=3146&amp;oldid=prev"/>
		<updated>2017-12-15T22:32:18Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/index.php?title=Module:Redirect-multi&quot; title=&quot;Module:Redirect-multi&quot;&gt;Module:Redirect-multi&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/wiki/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;Highly visible template&lt;/a&gt; ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mRedirectHatnote = require('Module:Redirect hatnote')&lt;br /&gt;
local mArguments = require('Module:Arguments')&lt;br /&gt;
local mHatnote = require('Module:Hatnote')&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.redirectMulti (frame)&lt;br /&gt;
	local args = mArguments.getArgs(frame)&lt;br /&gt;
	--Get maxArg manually because getArgs and table.maxn aren't friends&lt;br /&gt;
	local maxArg = 0&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == 'number' and k &amp;gt; maxArg then maxArg = k end&lt;br /&gt;
	end&lt;br /&gt;
	--Get number of redirects then remove it from the args table&lt;br /&gt;
	local numRedirects = tonumber(args[1]) or 1&lt;br /&gt;
	--Manual downshift of arguments; not using table.remove because getArgs is&lt;br /&gt;
	--gnarly and it's not a sequence anyway&lt;br /&gt;
	for i = 2, maxArg + 1 do args[i - 1] = args[i] end&lt;br /&gt;
	--if no arguments past redirects exist, add in a default set&lt;br /&gt;
	if maxArg - 2 &amp;lt;= numRedirects then&lt;br /&gt;
		for i = 1, numRedirects do&lt;br /&gt;
			args[numRedirects + (2 * i)] = args[i] and mHatnote.disambiguate(args[i])&lt;br /&gt;
			--this does add in an &amp;quot;and&amp;quot; after the last item, but it's ignored&lt;br /&gt;
			args[numRedirects + (2 * i) + 1] = 'and'&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local options = {selfref = args.selfref}&lt;br /&gt;
	return mRedirectHatnote._redirect(args, numRedirects, options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;AlexiusHoratius</name></author>
	</entry>
</feed>