<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://redlettermedia.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AOther_uses_of</id>
	<title>Module:Other uses of - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://redlettermedia.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AOther_uses_of"/>
	<link rel="alternate" type="text/html" href="https://redlettermedia.wiki/mediawiki/index.php?title=Module:Other_uses_of&amp;action=history"/>
	<updated>2026-05-14T09:57:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://redlettermedia.wiki/mediawiki/index.php?title=Module:Other_uses_of&amp;diff=1830&amp;oldid=prev</id>
		<title>Orangestar: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://redlettermedia.wiki/mediawiki/index.php?title=Module:Other_uses_of&amp;diff=1830&amp;oldid=prev"/>
		<updated>2024-06-13T17:30:03Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:30, 13 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff:1.41:old-1829:rev-1830 --&gt;
&lt;/table&gt;</summary>
		<author><name>Orangestar</name></author>
	</entry>
	<entry>
		<id>https://redlettermedia.wiki/mediawiki/index.php?title=Module:Other_uses_of&amp;diff=1829&amp;oldid=prev</id>
		<title>en&gt;MSGJ: Undid revision 1119075377 by Nihiltres (talk) - causing errors</title>
		<link rel="alternate" type="text/html" href="https://redlettermedia.wiki/mediawiki/index.php?title=Module:Other_uses_of&amp;diff=1829&amp;oldid=prev"/>
		<updated>2023-04-21T11:03:48Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1119075377 by &lt;a href=&quot;/w/Special:Contributions/Nihiltres&quot; title=&quot;Special:Contributions/Nihiltres&quot;&gt;Nihiltres&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:Nihiltres&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Nihiltres (page does not exist)&quot;&gt;talk&lt;/a&gt;) - causing errors&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mArguments --initialize lazily&lt;br /&gt;
local mHatList = require(&amp;#039;Module:Hatnote list&amp;#039;)&lt;br /&gt;
local mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;)&lt;br /&gt;
local mOtheruses = require(&amp;#039;Module:Other uses&amp;#039;)&lt;br /&gt;
local yesNo = require(&amp;#039;Module:Yesno&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.otherusesof (frame)&lt;br /&gt;
	mArguments = require(&amp;#039;Module:Arguments&amp;#039;)&lt;br /&gt;
	return p._otherusesof(mArguments.getArgs(frame))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._otherusesof (args)&lt;br /&gt;
	local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
	local prefixedText = currentTitle.prefixedText&lt;br /&gt;
	local maxArg = 0&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &amp;#039;number&amp;#039; and k &amp;gt; maxArg then maxArg = k end&lt;br /&gt;
	end&lt;br /&gt;
	local page = args[maxArg]&lt;br /&gt;
	if maxArg == 1 then page = mHatnote.disambiguate(page) end&lt;br /&gt;
	local ofWhat = nil&lt;br /&gt;
	if maxArg &amp;gt; 2 then&lt;br /&gt;
		local pages = {}&lt;br /&gt;
		local midPages = {}&lt;br /&gt;
		for k, v in pairs(args) do&lt;br /&gt;
			if type(k) == &amp;#039;number&amp;#039; and k &amp;lt; maxArg then&lt;br /&gt;
				midPages[k] = mHatnote.quote(v)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		for i = 1, maxArg do&lt;br /&gt;
			if midPages[i] then pages[#pages + 1] = midPages[i] end&lt;br /&gt;
		end&lt;br /&gt;
		ofWhat = mHatList.orList(pages)&lt;br /&gt;
	end&lt;br /&gt;
	if not ofWhat then&lt;br /&gt;
		ofWhat = mHatnote.quote(args[1] or prefixedText)&lt;br /&gt;
	end&lt;br /&gt;
	local options = {&lt;br /&gt;
		title = ofWhat,&lt;br /&gt;
		otherText =&lt;br /&gt;
			args.topic and&lt;br /&gt;
			string.format(&amp;#039;uses of %s in %s&amp;#039;, ofWhat, args.topic) or&lt;br /&gt;
			string.format(&amp;#039;uses of %s&amp;#039;, ofWhat)&lt;br /&gt;
	}&lt;br /&gt;
	local skipCat =&lt;br /&gt;
		(currentTitle.isTalkPage or (currentTitle.namespace == 2)) or&lt;br /&gt;
		(yesNo(args.category) == false)&lt;br /&gt;
	local oddCat =&lt;br /&gt;
		skipCat and &amp;#039;&amp;#039; or&lt;br /&gt;
		&amp;quot;[[Category:Hatnote templates using unusual parameters]]&amp;quot;&lt;br /&gt;
	if (mw.ustring.lower(args[1] or &amp;quot;&amp;quot;) == mw.ustring.lower(prefixedText)) and&lt;br /&gt;
		maxArg &amp;lt;= 2 or&lt;br /&gt;
		((not args[1]) and (not args[2]))&lt;br /&gt;
	then&lt;br /&gt;
		options.otherText = options.otherText .. oddCat&lt;br /&gt;
	end&lt;br /&gt;
	arg = page and {page} or {}&lt;br /&gt;
	return mOtheruses._otheruses(arg, options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;MSGJ</name></author>
	</entry>
</feed>