Hi Vicenç,

BTW, I am not sure how it works if the template commonscat has its parameter migrated to Wikidata.

This functionality was added a week agoo − see [T110003]. If the bot finds a {{Commonscat}} (or equivalent template) without parameter, it will try to find it in Wikidata (by going to the Wikidata item linked to the list and checking P373).

[T110003] <https://phabricator.wikimedia.org/T110003>

-- 
Jean-Fred