<?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%3ANYC_bus_link%2Fsandbox</id>
	<title>Module:NYC bus link/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%3ANYC_bus_link%2Fsandbox"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:NYC_bus_link/sandbox&amp;action=history"/>
	<updated>2026-06-07T18:12:56Z</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:NYC_bus_link/sandbox&amp;diff=144057&amp;oldid=prev</id>
		<title>imported&gt;WOSlinker: use require(&#039;strict&#039;) instead of require(&#039;Module:No globals&#039;)</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:NYC_bus_link/sandbox&amp;diff=144057&amp;oldid=prev"/>
		<updated>2022-10-21T10:01:34Z</updated>

		<summary type="html">&lt;p&gt;use require(&amp;#039;strict&amp;#039;) instead of require(&amp;#039;Module:No globals&amp;#039;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;strict&amp;#039;);&lt;br /&gt;
local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.getLink(frame)&lt;br /&gt;
	local args = getArgs(frame);&lt;br /&gt;
	local city;&lt;br /&gt;
	&lt;br /&gt;
	if &amp;#039;NYC&amp;#039; == args.city then&lt;br /&gt;
		city = &amp;#039;New York City bus&amp;#039;;&lt;br /&gt;
	elseif &amp;#039;LI&amp;#039; == args.city then&lt;br /&gt;
		city = &amp;#039;Long Island bus&amp;#039;;&lt;br /&gt;
	elseif &amp;#039;NJ&amp;#039; == args.city then&lt;br /&gt;
		city = &amp;#039;New Jersey bus&amp;#039;;&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	local result = {};&lt;br /&gt;
	for _, name in ipairs (args) do&lt;br /&gt;
		table.insert (result, table.concat ({&amp;#039;[[&amp;#039;, name, &amp;#039; (&amp;#039;, city, &amp;#039;)|&amp;#039;, name, &amp;#039;]]&amp;#039;}))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	&lt;br /&gt;
	local prose;&lt;br /&gt;
	if &amp;#039;yes&amp;#039; or &amp;#039;y&amp;#039; == args.prose then&lt;br /&gt;
		return mw.text.listToText (result, &amp;#039;, &amp;#039;, &amp;#039; and &amp;#039;);&lt;br /&gt;
	else&lt;br /&gt;
		return table.concat (result, &amp;#039;, &amp;#039;);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p;&lt;/div&gt;</summary>
		<author><name>imported&gt;WOSlinker</name></author>
	</entry>
</feed>