Feature summary:
Make the duplicateLinks tasks ignore links to the same-page by default.
Use case(s):
Some projects use self-links in templates a significant amount, e.g. Japanese Wikipedia uses {{visible anchor}} which has the page linking to the same page (e.g. https://ja.wikipedia.org/wiki/古代エジプト文字の解読#中世イスラム世界). The cleanest way to prevent these from appearing (without dis-enabling the suggestion type for the entire page via the lacksTemplate parameter) is to simply not show these suggestions for self-links.
See also:
Original bug-report: https://www.mediawiki.org/wiki/Talk:VisualEditor/Suggestion_Mode/Feedback#duplicateLink_on_古代エジプト文字の解読_at_jawiki