I didn't realize that this script, and the original, only work in the VisualEditor until I read a a post on the talk page to the original script. I don’t use the VisualEditor. Would it be possible to implement source editor support for this? I think this script is extremely useful, but I can’t use it since I only edit using the source editor. Interqwarktalkcontribs02:27, 17 June 2018 (UTC)[reply]
As it's long after this was posted, possibly not of great use to the original questioner, but probably worth putting on record. Last year, without having seen this earlier discussion, I described the usefulness of this script with the Visual Editor on the user page; it is much easier to remove duplicates this way than in edit mode. So, even if Interqwark uses the source editor for most purposes, it's worth using the visual editor for finding and fixing duplicate links.
There is one issue, either a quirk (if it can't be fixed) or a bug (if it can): when used with the visual editor, removing any link within a paragraph removes the highlight on all other duplicates within that paragraph. Not a major issue, either remember all the links in a paragraph, or repeat the highlighting, but if it is easily fixed, I'd suggest that it's worth it. Best wishes, Pol098 (talk) 10:29, 18 September 2020 (UTC)[reply]
Is there any way to set it so that it automatically runs when you load a page in mainspace, rather than needing to hit the button? I'll draft a line of code in a second, but I was wondering if that were a possibility to be included. Thanks, --DannyS712 (talk) 03:14, 29 January 2019 (UTC)[reply]
This should be possible to do as an option. I've got a few other script things I'm working on at the moment, so I'm not sure when I'll get around to it. - Evad37[talk]00:27, 7 February 2019 (UTC)[reply]
@Evad37 I've implemented this in User:Aaron Liu/sandbox.js. What do you think? Note that I made it so there's no toast (mw.notify) if the option to automatically highlight them is enabled. Should I change the option name for highlighting duplinks? It's currently autoDuplinks. Note that I've also replaced most vars with letsAaron Liu (talk) 21:19, 27 December 2023 (UTC)[reply]
This tool detects links to the article ISBN in references as duplicates. Personally I would prefer if only the first entry in a reference list linked to that article, but it might be easier for now if the tool were configured to ignore links to ISBN within <ref> tags, perhaps. —Hugh (talk) 03:34, 14 February 2019 (UTC)[reply]
This tool shows duplicate links in a box. However, I would suggest or request that is there any way to highlight the duplicate links with yellow background while the first link with orange background. I think highlighting the links is far better than showing them in a box. Thank you. Empire ASTalk!13:51, 8 August 2020 (UTC)[reply]
Hello! So my suggestion is to have the tool ignore {{citation needed}} templates. These usually aren't something where removing the duplicate link would need to be done (unless of course there's a lot of that template in the article in which case it just gets replaced with a maintenance template), and also removing the duplicate link from the template requires actually removing the template (unless there's a parameter which disables the link to the template that I"m not aware of). An example of this is on Mannheim Steamroller. ― Blaze The WolfTalkBlaze Wolf#654519:10, 1 November 2021 (UTC)[reply]
Hello there @Evad37, I'm trying to use your script here, but not sure it's actually working the way it should. Every single thing which is linked has a box around it. So, I'm not sure why it is highlighting every single link instead of the repeated links? Coldstreamer20 (talk) 17:18, 16 December 2021 (UTC)[reply]