<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?action=history&amp;feed=atom&amp;title=Module%3AUtil</id>
	<title>Module:Util - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?action=history&amp;feed=atom&amp;title=Module%3AUtil"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Util&amp;action=history"/>
	<updated>2026-10-04T14:34:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Util&amp;diff=1938&amp;oldid=prev</id>
		<title>76561198012490491: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Util&amp;diff=1938&amp;oldid=prev"/>
		<updated>2024-06-14T17:43:41Z</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:43, 14 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 WRSR_:diff:1.41:old-1937:rev-1938 --&gt;
&lt;/table&gt;</summary>
		<author><name>76561198012490491</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Util&amp;diff=1937&amp;oldid=prev</id>
		<title>workers-resources-fandom&gt;Abominação: Created page with &quot;local util = {} -- 	This module was taken from Nukapedia. All credits go to said wiki.   function util.corename(frame, title) 	if frame ~= nil and util.exists(frame.args[1]) then     	result = mw.ustring.gsub(frame.args[1], &#039;%s%(.*&#039;, &#039;&#039;)     else     	if util.exists(title) then     		result =  mw.ustring.gsub(title, &#039;%s%(.*&#039;, &#039;&#039;)     	else     		result = mw.ustring.gsub(mw.title.getCurrentTitle().subpageText, &#039;%s%(.*&#039;, &#039;&#039;)     	end 	end 	return result end  function u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Util&amp;diff=1937&amp;oldid=prev"/>
		<updated>2022-06-15T23:41:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local util = {} --&lt;a href=&quot;/Workers_Resources_Soviet_Republic/index.php?title=This_module_was_taken_from_Nukapedia._All_credits_go_to_said_wiki.&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;This module was taken from Nukapedia. All credits go to said wiki. (page does not exist)&quot;&gt;This module was taken from Nukapedia. All credits go to said wiki. &lt;/a&gt;  function util.corename(frame, title) 	if frame ~= nil and util.exists(frame.args[1]) then     	result = mw.ustring.gsub(frame.args[1], &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)     else     	if util.exists(title) then     		result =  mw.ustring.gsub(title, &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)     	else     		result = mw.ustring.gsub(mw.title.getCurrentTitle().subpageText, &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)     	end 	end 	return result end  function u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local util = {}&lt;br /&gt;
--[[&lt;br /&gt;
	This module was taken from Nukapedia. All credits go to said wiki.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function util.corename(frame, title)&lt;br /&gt;
	if frame ~= nil and util.exists(frame.args[1]) then&lt;br /&gt;
    	result = mw.ustring.gsub(frame.args[1], &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
    else&lt;br /&gt;
    	if util.exists(title) then&lt;br /&gt;
    		result =  mw.ustring.gsub(title, &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
    	else&lt;br /&gt;
    		result = mw.ustring.gsub(mw.title.getCurrentTitle().subpageText, &amp;#039;%s%(.*&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
    	end&lt;br /&gt;
	end&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function util.exists(object, child)&lt;br /&gt;
	if object ~= nil and object ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		if child ~= nil then&lt;br /&gt;
			if object[child] ~= nil and object[child] ~= &amp;#039;&amp;#039; then&lt;br /&gt;
				return true&lt;br /&gt;
			else&lt;br /&gt;
				return false&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function util.trim(s)&lt;br /&gt;
   return s:match&amp;#039;^()%s*$&amp;#039; and &amp;#039;&amp;#039; or s:match&amp;#039;^%s*(.*%S)&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function util.default(data, default)&lt;br /&gt;
		if util.exists(data) then&lt;br /&gt;
		return data&lt;br /&gt;
	else&lt;br /&gt;
		return default&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return util&lt;/div&gt;</summary>
		<author><name>workers-resources-fandom&gt;Abominação</name></author>
	</entry>
</feed>