Addshore added a comment. So the bit of code we would need to touch is this method > https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/repo/includes/ChangeOp/ChangeOpsMerge.php#L199
I guess it would be, If there are conflicts for a site then find the actual final target of both sitelinks (the one we are trying to add and the one already there). If both targets match then remove both sitelinks from both items and add the final target (Thus also resolving redirects) TASK DETAIL https://phabricator.wikimedia.org/T85347 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Aklapper, petr.matas, hoo, daniel, Lydia_Pintscher, Addshore, Multichill, Sjoerddebruin, Legoktm, matej_suchanek, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs