<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirectData</id>
	<title>Module:RedirectData - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ARedirectData"/>
	<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:RedirectData&amp;action=history"/>
	<updated>2026-04-09T20:54:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=11211&amp;oldid=prev</id>
		<title>Abhishek.it: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=11211&amp;oldid=prev"/>
		<updated>2025-05-24T09:13:08Z</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;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 05:13, 24 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key chabadpedia_en:diff:1.41:old-5584:rev-11211 --&gt;
&lt;/table&gt;</summary>
		<author><name>Abhishek.it</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=5584&amp;oldid=prev</id>
		<title>Shia.k: Created page with &quot;local p = {}  function p.getRedirectToNamespace(frame) 	titleObject = mw.title.getCurrentTitle() -- check if this is a redirect 	if titleObject.redirectTarget then 		targetNamespace = titleObject.redirectTarget.nsText 		return targetNamespace 	end 	return &quot;Notaredirect&quot; end  function p.getTalkPage(frame) -- this is code written to check for the criteria to apply {{R to talk page}} - essentially, whether the redirect is outside of, and going into, a talk namespace 	titleO...&quot;</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=5584&amp;oldid=prev"/>
		<updated>2025-03-20T15:34:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.getRedirectToNamespace(frame) 	titleObject = mw.title.getCurrentTitle() -- check if this is a redirect 	if titleObject.redirectTarget then 		targetNamespace = titleObject.redirectTarget.nsText 		return targetNamespace 	end 	return &amp;quot;Notaredirect&amp;quot; end  function p.getTalkPage(frame) -- this is code written to check for the criteria to apply {{R to talk page}} - essentially, whether the redirect is outside of, and going into, a talk namespace 	titleO...&amp;quot;&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 11:34, 20 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key chabadpedia_en:diff:1.41:old-11210:rev-5584 --&gt;
&lt;/table&gt;</summary>
		<author><name>Shia.k</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=11210&amp;oldid=prev</id>
		<title>wikipedia&gt;The Earwig: Protected &quot;Module:RedirectData&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://chabadpedia.com/index.php?title=Module:RedirectData&amp;diff=11210&amp;oldid=prev"/>
		<updated>2021-03-05T21:25:13Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Module:RedirectData&quot; title=&quot;Module:RedirectData&quot;&gt;Module:RedirectData&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/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 p = {}&lt;br /&gt;
&lt;br /&gt;
function p.getRedirectToNamespace(frame)&lt;br /&gt;
	titleObject = mw.title.getCurrentTitle() -- check if this is a redirect&lt;br /&gt;
	if titleObject.redirectTarget then&lt;br /&gt;
		targetNamespace = titleObject.redirectTarget.nsText&lt;br /&gt;
		return targetNamespace&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;quot;Notaredirect&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getTalkPage(frame) -- this is code written to check for the criteria to apply {{R to talk page}} - essentially, whether the redirect is outside of, and going into, a talk namespace&lt;br /&gt;
	titleObject = mw.title.getCurrentTitle() -- check if this is a redirect&lt;br /&gt;
	if titleObject.redirectTarget then&lt;br /&gt;
		if not titleObject.isTalkPage then -- the current page is NOT a talk page&lt;br /&gt;
			if titleObject.redirectTarget.isTalkPage then -- the target page IS a talk page&lt;br /&gt;
				return &amp;quot;Yes&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return &amp;quot;No&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;quot;Notaredirect&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getSubpageStatus(frame)&lt;br /&gt;
	titleObject = mw.title.getCurrentTitle()&lt;br /&gt;
	if titleObject.redirectTarget then -- check if this is a redirect&lt;br /&gt;
		pageIsSubpage = titleObject.isSubpage&lt;br /&gt;
		targetIsSubpage = titleObject.redirectTarget.isSubpage&lt;br /&gt;
		if (pageIsSubpage or targetIsSubpage) then&lt;br /&gt;
			if (pageIsSubpage and targetIsSubpage) then&lt;br /&gt;
				return &amp;quot;Both&amp;quot; -- both are subpages, return three&lt;br /&gt;
			elseif pageIsSubpage then&lt;br /&gt;
				return &amp;quot;Onlypage&amp;quot; -- just the page is a subpage, target isn&amp;#039;t, return one&lt;br /&gt;
			else&lt;br /&gt;
				return &amp;quot;Onlytarget&amp;quot; -- just the target is a subpage, the page isn&amp;#039;t, return two&lt;br /&gt;
			end&lt;br /&gt;
		else -- neither page nor target is a subpage, return zero&lt;br /&gt;
			return &amp;quot;Neither&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;quot;Notaredirect&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.toDisambig(frame) -- this checks if the page title contains (disambiguation), as well as if it&amp;#039;s a talkpage&lt;br /&gt;
	titleObject = mw.title.getCurrentTitle()&lt;br /&gt;
	if titleObject.redirectTarget then -- check if this is a redirect&lt;br /&gt;
		if string.match(titleObject.text, &amp;quot;(disambiguation)&amp;quot;) then -- title contains (disambiguation)&lt;br /&gt;
			if titleObject.isTalkPage then -- this is a talk page ({{R from unnecessary disambiguation}})&lt;br /&gt;
				return &amp;quot;Talk&amp;quot;&lt;br /&gt;
			else -- this is not a talkpage ({{R to disambiguation page}})&lt;br /&gt;
				return &amp;quot;Article&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		else -- title does not contain &amp;quot;(disambiguation)&amp;quot;&lt;br /&gt;
			return &amp;quot;No&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;quot;Notaredirect&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;The Earwig</name></author>
	</entry>
</feed>