<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.interstellarrift.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.interstellarrift.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AYesno</id>
		<title>Module:Yesno - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.interstellarrift.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AYesno"/>
		<link rel="alternate" type="text/html" href="http://www.interstellarrift.com/wiki/index.php?title=Module:Yesno&amp;action=history"/>
		<updated>2026-04-05T14:44:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>http://www.interstellarrift.com/wiki/index.php?title=Module:Yesno&amp;diff=95&amp;oldid=prev</id>
		<title>Sentinel: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.interstellarrift.com/wiki/index.php?title=Module:Yesno&amp;diff=95&amp;oldid=prev"/>
				<updated>2014-08-16T17:05:44Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:05, 16 August 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Sentinel</name></author>	</entry>

	<entry>
		<id>http://www.interstellarrift.com/wiki/index.php?title=Module:Yesno&amp;diff=94&amp;oldid=prev</id>
		<title>Mr. Stradivarius: use the Lua string.lower function instead of mw.ustring.lower; this makes the function around 25x faster</title>
		<link rel="alternate" type="text/html" href="http://www.interstellarrift.com/wiki/index.php?title=Module:Yesno&amp;diff=94&amp;oldid=prev"/>
				<updated>2014-04-18T10:35:42Z</updated>
		
		<summary type="html">&lt;p&gt;use the Lua string.lower function instead of mw.ustring.lower; this makes the function around 25x faster&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Function allowing for consistent treatment of boolean-like wikitext input.&lt;br /&gt;
-- It works similarly to the template {{yesno}}.&lt;br /&gt;
&lt;br /&gt;
return function (val, default)&lt;br /&gt;
	-- If your wiki uses non-ascii characters for any of &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., you&lt;br /&gt;
	-- should replace &amp;quot;val:lower()&amp;quot; with &amp;quot;mw.ustring.lower(val)&amp;quot; in the&lt;br /&gt;
	-- following line.&lt;br /&gt;
	val = type(val) == 'string' and val:lower() or val&lt;br /&gt;
	if val == nil then&lt;br /&gt;
		return nil&lt;br /&gt;
	elseif val == true &lt;br /&gt;
		or val == 'yes'&lt;br /&gt;
		or val == 'y'&lt;br /&gt;
		or val == 'true'&lt;br /&gt;
		or tonumber(val) == 1&lt;br /&gt;
	then&lt;br /&gt;
		return true&lt;br /&gt;
	elseif val == false&lt;br /&gt;
		or val == 'no'&lt;br /&gt;
		or val == 'n'&lt;br /&gt;
		or val == 'false'&lt;br /&gt;
		or tonumber(val) == 0&lt;br /&gt;
	then&lt;br /&gt;
		return false&lt;br /&gt;
	else&lt;br /&gt;
		return default&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Mr. Stradivarius</name></author>	</entry>

	</feed>