Template:Commons category: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Sources>WOSlinker
don't add userpages into Category:Commons category template with no category set)
Sources>Ahecht
escaping the string isn't needed. tested with Q739550 (M&M's) and Q8349 ("Weird Al" Yankovic)
Line 21: Line 21:
-->{{#if:{{#property:P373}}
-->{{#if:{{#property:P373}}
  | {{#if:{{{1|}}}
  | {{#if:{{{1|}}}
   | {{#ifeq:{{#property:P373}}|{{#invoke:StringReplace|encode wiki page name|{{{1|}}}}}
   | {{#ifeq:{{#property:P373}}|{{{1|}}}
   | <!-- [[Category:Commons category with local link same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | <!-- [[Category:Commons category with local link same as on Wikidata]]  – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
   | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
   | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->

Revision as of 17:34, 13 June 2018