<?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%3ASandbox%2FKotz%2FG</id>
	<title>Module:Sandbox/Kotz/G - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FKotz%2FG"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Kotz/G&amp;action=history"/>
	<updated>2026-05-25T05:43:16Z</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:Sandbox/Kotz/G&amp;diff=145710&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Pppery moved page Module:Kotz/G to Module:Sandbox/Kotz/G without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Kotz/G&amp;diff=145710&amp;oldid=prev"/>
		<updated>2018-06-21T20:03:26Z</updated>

		<summary type="html">&lt;p&gt;Pppery moved page &lt;a href=&quot;/index.php?title=Module:Kotz/G&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Module:Kotz/G (page does not exist)&quot;&gt;Module:Kotz/G&lt;/a&gt; to &lt;a href=&quot;/research/Module:Sandbox/Kotz/G&quot; title=&quot;Module:Sandbox/Kotz/G&quot;&gt;Module:Sandbox/Kotz/G&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function getProperty( entityName, propertyName )&lt;br /&gt;
    local entity&lt;br /&gt;
	mw.log (&amp;quot;entityName=&amp;quot; .. entityName)&lt;br /&gt;
	mw.log (&amp;quot;propertyName=&amp;quot; .. propertyName)&lt;br /&gt;
	if (entityName) then entity=mw.wikibase.getEntityObject(); else entity=mw.wikibase.getEntityObject(entityName) end&lt;br /&gt;
	if (entity) then&lt;br /&gt;
		mw.log(entity)&lt;br /&gt;
    	if (entity.claims) then&lt;br /&gt;
		    local property = entity.getProperties()&lt;br /&gt;
		    if (property) then&lt;br /&gt;
		    	return property&lt;br /&gt;
		    end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function property( frame )&lt;br /&gt;
    local status, result = pcall(getProperty, string.upper(frame.args[1]), string.lower(frame.args[2]))&lt;br /&gt;
    return (status and &amp;#039;&amp;#039; or &amp;#039;Error: &amp;#039;) .. (result or &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return {&lt;br /&gt;
    property = property,&lt;br /&gt;
    Property = property&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>