<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FJackmcbarn</id>
	<title>Module:Sandbox/Jackmcbarn - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FJackmcbarn"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Jackmcbarn&amp;action=history"/>
	<updated>2026-06-07T05:55:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Jackmcbarn&amp;diff=145574&amp;oldid=prev</id>
		<title>imported&gt;Jackmcbarn: Reverted edits by Jackmcbarn (talk) to last version by Le Deluge</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Jackmcbarn&amp;diff=145574&amp;oldid=prev"/>
		<updated>2020-08-02T19:21:01Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/research/Special:Contributions/Jackmcbarn&quot; title=&quot;Special:Contributions/Jackmcbarn&quot;&gt;Jackmcbarn&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Jackmcbarn&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Jackmcbarn (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Le Deluge&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getTarget = require(&amp;#039;Module:Redirect&amp;#039;).getTarget&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function pagetype(nsText)&lt;br /&gt;
	return nsText == &amp;#039;&amp;#039; and &amp;#039;articles&amp;#039; or (mw.ustring.lower(nsText) .. &amp;#039; pages&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
	local target = getTarget(currentTitle)&lt;br /&gt;
	if target then&lt;br /&gt;
		local currentNsText, targetNsText = currentTitle.nsText, mw.title.new(target).nsText&lt;br /&gt;
		if currentNsText ~= targetNsText then&lt;br /&gt;
			return string.format(&amp;#039;[[:Category:Cross-namespace redirects from %s]][[:Category:Cross-namespace redirects to %s]]&amp;#039;, pagetype(currentNsText), pagetype(targetNsText))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;#039;[[:Category:Pages incorrectly tagged as cross-namespace redirects]]&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Jackmcbarn</name></author>
	</entry>
</feed>