Template:Commons category: Difference between revisions
Jump to navigation
Jump to search
Sources>Mike Peel 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. |
Sources>Mike Peel tweak tracking category logic |
||
Line 38: | Line 38: | ||
<!-- ... or we're using P373 | <!-- ... or we're using P373 | ||
-->|{{#ifeq:{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=True}}|{{#invoke:WikidataIB |getCommonsLink |qid={{{qid|}}}|onlycat=True|fallback=False}} | -->|{{#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]]}} | ||
}} | }} | ||
}} | }} |