<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wonkpedia.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirect-distinguish</id>
	<title>Module:Redirect-distinguish - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wonkpedia.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirect-distinguish"/>
	<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Redirect-distinguish&amp;action=history"/>
	<updated>2026-04-15T07:47:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Module:Redirect-distinguish&amp;diff=1472&amp;oldid=prev</id>
		<title>Bmueller: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Redirect-distinguish&amp;diff=1472&amp;oldid=prev"/>
		<updated>2022-02-23T17:00:16Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 17:00, 23 February 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>Bmueller</name></author>
	</entry>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Module:Redirect-distinguish&amp;diff=1471&amp;oldid=prev</id>
		<title>Wikipedia&gt;Elli: Undid revision 1066390800 by Faster than Thunder (talk) yeah, no, this is inappropriate</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Redirect-distinguish&amp;diff=1471&amp;oldid=prev"/>
		<updated>2022-01-18T05:49:10Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1066390800 by &lt;a href=&quot;/mediawiki/index.php/Special:Contributions/Faster_than_Thunder&quot; title=&quot;Special:Contributions/Faster than Thunder&quot;&gt;Faster than Thunder&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:Faster_than_Thunder&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Faster than Thunder (page does not exist)&quot;&gt;talk&lt;/a&gt;) yeah, no, this is inappropriate&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mHatnote = require('Module:Hatnote')&lt;br /&gt;
local mHatlist = require('Module:Hatnote list')&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mTableTools = require('Module:TableTools')&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.redirectDistinguish (frame)&lt;br /&gt;
	mArguments = require('Module:Arguments')&lt;br /&gt;
	local args = mArguments.getArgs(frame)&lt;br /&gt;
	return p._redirectDistinguish(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._redirectDistinguish(args)&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			'no redirect supplied',&lt;br /&gt;
			'Template:Redirect-distinguish',&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	local redirectTitle = mw.title.new(args[1])&lt;br /&gt;
	local currentTitle = currentTitle or mw.title.getCurrentTitle()&lt;br /&gt;
	if&lt;br /&gt;
		string.match(args[1], 'REDIRECT%d+') or&lt;br /&gt;
		args[1] == 'TERM' or&lt;br /&gt;
		currentTitle.namespace ~= 0&lt;br /&gt;
	then&lt;br /&gt;
		--do nothing&lt;br /&gt;
	elseif not redirectTitle or not redirectTitle.exists then&lt;br /&gt;
		args[1] = args[1] .. '[[Category:Missing redirects]]'&lt;br /&gt;
	elseif not redirectTitle.isRedirect then&lt;br /&gt;
		if string.find(redirectTitle:getContent(), '#invoke:RfD') then&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				'[[Category:Articles with redirect hatnotes impacted by RfD]]'&lt;br /&gt;
		else&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				'[[Category:Articles with redirect hatnotes needing review]]'&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if not args[2] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			'no page to be distinguished supplied',&lt;br /&gt;
			'Template:Redirect-distinguish',&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	args = mTableTools.compressSparseArray(args)&lt;br /&gt;
	--Assignment by removal here makes for convenient concatenation later&lt;br /&gt;
	local redirect = table.remove(args, 1)&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		'&amp;quot;%s&amp;quot; redirects here. Not to be confused with %s.',&lt;br /&gt;
		redirect,&lt;br /&gt;
		mHatlist.orList(args, true)&lt;br /&gt;
	)&lt;br /&gt;
	return mHatnote._hatnote(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Elli</name></author>
	</entry>
</feed>