<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUses_Wikidata</id>
	<title>Module:Uses Wikidata - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUses_Wikidata"/>
	<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Uses_Wikidata&amp;action=history"/>
	<updated>2026-04-06T03:50:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Uses_Wikidata&amp;diff=580&amp;oldid=prev</id>
		<title>Daniel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Uses_Wikidata&amp;diff=580&amp;oldid=prev"/>
		<updated>2021-05-06T17:48:57Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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-GB&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:48, 6 May 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key ros_wiki:diff::1.12:old-579:rev-580 --&gt;
&lt;/table&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Uses_Wikidata&amp;diff=579&amp;oldid=prev</id>
		<title>w&gt;Uzume: update mw.wikibase API usage</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Uses_Wikidata&amp;diff=579&amp;oldid=prev"/>
		<updated>2020-05-05T18:53:34Z</updated>

		<summary type="html">&lt;p&gt;update mw.wikibase API usage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.usesProperty(frame)&lt;br /&gt;
	local args = frame.getParent(frame).args or nil&lt;br /&gt;
	if mw.text.trim(args[1] or &amp;#039;&amp;#039;) == &amp;#039;&amp;#039; then&lt;br /&gt;
		args = frame.args&lt;br /&gt;
	end&lt;br /&gt;
	local result = &amp;#039;&amp;#039;&lt;br /&gt;
	local ii = 1&lt;br /&gt;
	while true do&lt;br /&gt;
		local p_num = mw.text.trim(args[ii] or &amp;#039;&amp;#039;)&lt;br /&gt;
		if p_num ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			local label = mw.wikibase.getLabel(p_num) or &amp;quot;NO LABEL&amp;quot;&lt;br /&gt;
			result = result .. &amp;quot;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;[[File:Disc Plain blue dark.svg|middle|4px|link=]] &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;[[d:Property talk:&amp;quot; .. p_num .. &amp;quot;|&amp;quot; .. label .. &amp;quot; (&amp;quot; .. string.upper(p_num) .. &amp;quot;)]]&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; (see &amp;lt;span class=&amp;#039;plainlinks&amp;#039;&amp;gt;[https://query.wikidata.org/embed.html#SELECT%20%3FWikiData_item_%20%3FWikiData_item_Label%20%3Fvalue%20%3FvalueLabel%20%3FEnglish_WikiPedia_article%20%23Show%20data%20in%20this%20order%0A%7B%0A%09%3FWikiData_item_%20wdt%3A&amp;quot; .. p_num .. &amp;quot;%20%3Fvalue%20.%20%23Collecting%20all%20items%20which%20have%20&amp;quot; .. p_num .. &amp;quot;%20data%2C%20from%20whole%20WikiData%20item%20pages%0A%09OPTIONAL%20%7B%3FEnglish_WikiPedia_article%20schema%3Aabout%20%3FWikiData_item_%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E%20.%7D%20%23If%20collected%20item%20has%20link%20to%20English%20WikiPedia%2C%20show%20that%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%20%7D%20%23Show%20label%20in%20this%20language.%20%22en%22%20is%20English.%20%20%20%0A%7D%0ALIMIT%201000 uses]&amp;lt;/span&amp;gt;)&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;quot;&lt;br /&gt;
			ii = ii + 1&lt;br /&gt;
		else break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.tuProperty(frame)&lt;br /&gt;
	local parent = frame.getParent(frame)&lt;br /&gt;
	local result = &amp;#039;&amp;#039;&lt;br /&gt;
	local ii = 1&lt;br /&gt;
	while true do&lt;br /&gt;
		local p_num = mw.text.trim(parent.args[ii] or &amp;#039;&amp;#039;)&lt;br /&gt;
		if p_num ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			local label = mw.wikibase.getLabel(p_num) or &amp;quot;NO LABEL&amp;quot;&lt;br /&gt;
			result = result .. &amp;quot;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&amp;lt;span style=&amp;#039;font-size:90%;line-height:1;&amp;#039;&amp;gt;●&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;[[d:Property:&amp;quot; .. p_num .. &amp;quot;|&amp;quot; .. label .. &amp;quot;]]&amp;lt;/b&amp;gt; &amp;lt;span style=&amp;#039;font-size:90%;&amp;#039;&amp;gt;([[d:Property talk:&amp;quot; .. string.upper(p_num) .. &amp;quot;|&amp;quot; .. p_num .. &amp;quot;]])&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;quot;&lt;br /&gt;
			ii = ii + 1&lt;br /&gt;
		else break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>w&gt;Uzume</name></author>
	</entry>
</feed>