<?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</id>
	<title>Module:NYC bus link - 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"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:NYC_bus_link&amp;action=history"/>
	<updated>2026-04-09T06:29:47Z</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&amp;diff=144055&amp;oldid=prev</id>
		<title>imported&gt;Legoktm: Replace Module:No globals with require( &quot;strict&quot; )</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:NYC_bus_link&amp;diff=144055&amp;oldid=prev"/>
		<updated>2022-10-21T06:34:27Z</updated>

		<summary type="html">&lt;p&gt;Replace &lt;a href=&quot;/research/Module:No_globals&quot; title=&quot;Module:No globals&quot;&gt;Module:No globals&lt;/a&gt; with require( &amp;quot;strict&amp;quot; )&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;quot;strict&amp;quot;);&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 result = {};&lt;br /&gt;
	local city;&lt;br /&gt;
	&lt;br /&gt;
	args.city = args.city:lower();&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;
	elseif &amp;#039;columbia&amp;#039; == args.city then&lt;br /&gt;
		city = &amp;#039;Columbia Transportation&amp;#039;&lt;br /&gt;
	elseif &amp;#039;princeton&amp;#039; == args.city then&lt;br /&gt;
		city = &amp;#039;Tiger Transit&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		return table.concat ({&amp;#039;&amp;lt;span style=\&amp;quot;font-size:100%; font-style:normal;\&amp;quot; class=\&amp;quot;error\&amp;quot;&amp;gt;unexpected city: &amp;#039;, args.city, &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;})&lt;br /&gt;
	end&lt;br /&gt;
		&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;
	if (&amp;#039;yes&amp;#039; == args.prose) or (&amp;#039;y&amp;#039; == args.prose) then&lt;br /&gt;
		return mw.text.listToText (result);&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;Legoktm</name></author>
	</entry>
</feed>