<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sandbox.indicwiki.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://sandbox.indicwiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUses_Wikidata"/>
	<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Uses_Wikidata&amp;action=history"/>
	<updated>2026-04-04T20:38:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://sandbox.indicwiki.org/index.php?title=Module:Uses_Wikidata&amp;diff=61979&amp;oldid=prev</id>
		<title>Indicwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Uses_Wikidata&amp;diff=61979&amp;oldid=prev"/>
		<updated>2026-02-27T12:34:34Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:34, 27 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Indicwiki</name></author>
	</entry>
	<entry>
		<id>https://sandbox.indicwiki.org/index.php?title=Module:Uses_Wikidata&amp;diff=61978&amp;oldid=prev</id>
		<title>https://sandbox.indicwiki.org/index.php/&gt;Legoktm: fix capitalization of Wikidata and Wikipedia in query output</title>
		<link rel="alternate" type="text/html" href="https://sandbox.indicwiki.org/index.php?title=Module:Uses_Wikidata&amp;diff=61978&amp;oldid=prev"/>
		<updated>2022-06-08T17:12:17Z</updated>

		<summary type="html">&lt;p&gt;fix capitalization of Wikidata and Wikipedia in query output&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;lt;ul&amp;gt;&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;li&amp;gt;[[File:Disc Plain blue dark.svg|middle|4px|link=|alt=]] &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;quot;&lt;br /&gt;
			ii = ii + 1&lt;br /&gt;
		else break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	result = result..&amp;quot;&amp;lt;/ul&amp;gt;&amp;quot;&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;lt;ul&amp;gt;&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;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;quot;&lt;br /&gt;
			ii = ii + 1&lt;br /&gt;
		else break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	result = result..&amp;quot;&amp;lt;/ul&amp;gt;&amp;quot;&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>https://sandbox.indicwiki.org/index.php/&gt;Legoktm</name></author>
	</entry>
</feed>