<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons_category</id>
	<title>Template:Commons category - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons_category"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Commons_category&amp;action=history"/>
	<updated>2026-04-04T15:42:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Template:Commons_category&amp;diff=6448&amp;oldid=prev</id>
		<title>&gt;Fredddie: Reverted edit by Fredddie (talk) to last version by Izno</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Commons_category&amp;diff=6448&amp;oldid=prev"/>
		<updated>2023-07-16T03:34:12Z</updated>

		<summary type="html">&lt;p&gt;Reverted edit by &lt;a href=&quot;/wiki/index.php/Special:Contributions/Fredddie&quot; title=&quot;Special:Contributions/Fredddie&quot;&gt;Fredddie&lt;/a&gt; (&lt;a href=&quot;/wiki/index.php?title=User_talk:Fredddie&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Fredddie (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Izno&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Sister project&lt;br /&gt;
| position = {{{position|}}}&lt;br /&gt;
| project  = commons&lt;br /&gt;
| text     = Wikimedia Commons has {{{alt-term|media related to}}} &amp;lt;span style=&amp;quot;font-weight: bold; {{#ifeq:{{{nowrap|no}}}|yes|white-space:nowrap;}} {{#ifeq:{{{italic|yes}}}|yes|font-style: italic;}}&amp;quot;&amp;gt;[[commons:{{#if:{{{1|}}}|Category:{{{1|}}}|{{if then show|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:{{PAGENAME}}}}}}|{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{#if:{{{1|}}} | {{{1|}}} &amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}&amp;lt;!--&lt;br /&gt;
  --&amp;gt; |{{PAGENAME}} }} }} }}} }}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{{2|{{#if:{{{1|}}} | {{{1|}}} &amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}|{{PAGENAME}} }}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;}}}}}}}]]&amp;lt;/span&amp;gt;.&amp;lt;!--&lt;br /&gt;
 End of the template code, now add relevant tracking categories&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;{{#switch:{{NAMESPACE}}||{{ns:14}}=&amp;lt;!--&lt;br /&gt;
 Only add tracking categories to articles and categories.&lt;br /&gt;
 --&amp;gt;{{#if:{{{1|}}}|{{#ifeq:Category:{{replace|{{{1|}}}|_|&amp;amp;#32;}}|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link is on Wikidata]]&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;|{{#ifeq:{{replace|{{{1|}}}|_|&amp;amp;#32;}}|{{PAGENAME}}|&amp;lt;!--&lt;br /&gt;
   ... the local parameter is the same as the local pagename&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link is defined as the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   ... the local parameter is not the pagename&lt;br /&gt;
   --&amp;gt;|[[Category:Commons category link is locally defined]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}}} }}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
  We don&amp;#039;t have a locally-defined link &lt;br /&gt;
  --&amp;gt;|{{#if:{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   ... so we&amp;#039;re using Wikidata&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link from Wikidata]]&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- ... or we&amp;#039;re using the pagename&lt;br /&gt;
    --&amp;gt;|[[Category:Commons category link is the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}&lt;br /&gt;
  }}&lt;br /&gt;
  }}&lt;br /&gt;
  }}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;!-- Add categories to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>&gt;Fredddie</name></author>
	</entry>
</feed>