Template:Commons category: Difference between revisions

tweak tracking category logic
(Changing tracking category logic so that we only use the P373 cases where we have actually fallen back to P373, rather than using the local text. No change to the display of the category links.)
(tweak tracking category logic)
Line 38:
 
<!-- ... or we're using P373
-->|{{#ifeq:{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=True}}|{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=False}}|[[Category:Commons category link is the pagename]]|[[Category:Commons category link is on Wikidata using P373]]<!--}}
... or we've fallen back to the pagename
-->|[[Category:Commons category link is the pagename]]}}
}}
}}
Anonymous user