For example https://commons.wikimedia.org/wiki/Category:Berlin has a link to itself, that shouldn't be the case. Commons should never link to itself in the other projects sidebar.
To achieve this set $wgWikimediaBadgesCommonsCategoryProperty to null for commons.
Per T94989#2076945