<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://producers.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACommons_link%2Fdoc</id>
	<title>Module:Commons link/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://producers.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACommons_link%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://producers.wiki/index.php?title=Module:Commons_link/doc&amp;action=history"/>
	<updated>2026-05-28T18:54:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://producers.wiki/index.php?title=Module:Commons_link/doc&amp;diff=5440&amp;oldid=prev</id>
		<title>Skritzer: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://producers.wiki/index.php?title=Module:Commons_link/doc&amp;diff=5440&amp;oldid=prev"/>
		<updated>2020-12-16T19:18:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:18, 16 December 2020&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>Skritzer</name></author>
		
	</entry>
	<entry>
		<id>https://producers.wiki/index.php?title=Module:Commons_link/doc&amp;diff=5439&amp;oldid=prev</id>
		<title>wikipedia&gt;Hike395: add doc string for fallback parameter</title>
		<link rel="alternate" type="text/html" href="https://producers.wiki/index.php?title=Module:Commons_link/doc&amp;diff=5439&amp;oldid=prev"/>
		<updated>2020-12-14T06:46:03Z</updated>

		<summary type="html">&lt;p&gt;add doc string for fallback parameter&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|release}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGallery}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Use wikidata to find Commons gallery corresponding to this article. If unable to find gallery in wikidata, default to searching for PAGENAME in Commons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGallery|title|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Link to Commons gallery at &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGallery|search=string|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Link to Commons search for &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getCategory|fallback=string|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Use wikidata first, then if failure, use Commons search for &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getCategory}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Use wikidata to find Commons category corresponding to this article. If unable to find category in wikidata, default to searching for Category:PAGENAME in Commons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getCategory|title|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Link to Commons category at &amp;lt;code&amp;gt;Category:title&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getCategory|search=string|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Link to Commons search for &amp;lt;code&amp;gt;Category:string&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getCategory|fallback=string|linktext=text}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Use wikidata first, then if failure, use Commons search for &amp;lt;code&amp;gt;Category:string&amp;lt;/code&amp;gt;. Optionally, use &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; as displayed link text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGalleryOrCategory}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Use wikidata to find &amp;quot;best&amp;quot; single Commons link: try gallery first, fall back to category. Other arguments as above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGalleryAndCategory}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Lua to implement {{tl|commons and category}}: return Commons gallery, Commons category, or both (if both found)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|getGalleryAndCategory|GalleryName|CategoryName}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Either GalleryName or CategoryName or both can be supplied, will override wikidata search&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|bold=1|italic=1}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Format of first link can be specified (bold or italic or both)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|linktext=link|categoryText=category}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:Text in the first link, and the second (category) link can be overridden, also.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
[[Category:Wikidata modules]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Hike395</name></author>
		
	</entry>
</feed>