<?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%2FPerryprog%2Fsandbox</id>
	<title>Module:Sandbox/Perryprog/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%3ASandbox%2FPerryprog%2Fsandbox"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Perryprog/sandbox&amp;action=history"/>
	<updated>2026-04-21T10:25:44Z</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/Perryprog/sandbox&amp;diff=145973&amp;oldid=prev</id>
		<title>imported&gt;Perryprog: Just testing out some Scribunto things.</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Perryprog/sandbox&amp;diff=145973&amp;oldid=prev"/>
		<updated>2021-02-26T23:11:16Z</updated>

		<summary type="html">&lt;p&gt;Just testing out some Scribunto things.&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;
local transcluder = require(&amp;#039;Module:Transcluder&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local function referenceCount(referencesText)&lt;br /&gt;
	count = 0&lt;br /&gt;
	-- Seriously, no string.split method?&lt;br /&gt;
	for match in string.gmatch(referencesText, &amp;#039;&amp;lt;ref&amp;gt;&amp;#039;) do&lt;br /&gt;
    	count = count + 1&lt;br /&gt;
	end&lt;br /&gt;
	return count&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	pageReferences = transcluder.get(frame.args[1], { only = &amp;#039;references&amp;#039; })&lt;br /&gt;
	return referenceCount(pageReferences)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Perryprog</name></author>
	</entry>
</feed>