<?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%3AExistNotRedirect%2Fsandbox</id>
	<title>Module:ExistNotRedirect/sandbox - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AExistNotRedirect%2Fsandbox"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:ExistNotRedirect/sandbox&amp;action=history"/>
	<updated>2026-04-16T03:15:26Z</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:ExistNotRedirect/sandbox&amp;diff=136123&amp;oldid=prev</id>
		<title>imported&gt;Nardog: sample</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:ExistNotRedirect/sandbox&amp;diff=136123&amp;oldid=prev"/>
		<updated>2020-07-11T11:48:38Z</updated>

		<summary type="html">&lt;p&gt;sample&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.main(args)&lt;br /&gt;
	local myArgs = mw.getCurrentFrame():getParent().args&lt;br /&gt;
	local myPageName = myArgs[1]&lt;br /&gt;
	local forceFileOnly = myArgs.forcefile -- force File: namespace check only&lt;br /&gt;
	&lt;br /&gt;
	if not myPageName or myPageName == &amp;quot;&amp;quot; then&lt;br /&gt;
		return &amp;quot;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local myPageTitle = mw.title.makeTitle(&amp;quot;&amp;quot;, myPageName)&lt;br /&gt;
	if not myPageTitle then&lt;br /&gt;
		error(&amp;quot;Invalid page title passed, MediaWiki cannot understand it&amp;quot;, 1)&lt;br /&gt;
	end&lt;br /&gt;
	if myPageTitle.exists&lt;br /&gt;
		or not forceFileOnly and myPageTitle.file and myPageTitle.file.exists&lt;br /&gt;
	then&lt;br /&gt;
		if not myPageTitle.isRedirect then&lt;br /&gt;
			return myArgs[1]&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return &amp;quot;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Nardog</name></author>
	</entry>
</feed>