Hello, in arwiki now we just put {{تصنيف كومنز}} (={{Commons category}}) in the articles, categories ..etc, then it take the value automatically from wikidata Property:P373.
So when we use commonscat.py it replace the template like this, can we add "if state" to the code to skip articles containing {{Commons category}} (or its redirects)? or what you think?
N.B: many of wiki projects now dependent on wikidata to bring information to the templates.