User:Polygnotus/Scripts/DeduplicateReferences

This is an old revision of this page, as edited by Polygnotus (talk | contribs) at 09:15, 11 June 2025 (Created page with 'This scripts deduplicates references that are exact duplicates. It ignores inexact duplicates. It tries to come up with a reasonable name. I can be used in addition to User:Polygnotus/DuplicateReferences. I recommend User:Nardog/RefRenamer which provides a handy interface for renaming references. {{Infobox user script | name = DeduplicateReferences | desc = This scripts deduplicates references that are exact duplicates | author = User:Polygnotus...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This scripts deduplicates references that are exact duplicates. It ignores inexact duplicates. It tries to come up with a reasonable name. I can be used in addition to User:Polygnotus/DuplicateReferences. I recommend User:Nardog/RefRenamer which provides a handy interface for renaming references.

DeduplicateReferences
File:DeduplicateReferences.png
DescriptionThis scripts deduplicates references that are exact duplicates
Author(s)Polygnotus
UpdatedJune 11, 2025
    (2 months ago)
SourceUser:Polygnotus/DeduplicateReferences.js

DeduplicateReferences References script

Installation

First install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.

Or install it manually by adding the below code to your Special:MyPage/common.js file:

{{subst:iusc|User:Polygnotus/Scripts/DeduplicateReferences.js}}

Functionality

  • Deduplicates references that are exact duplicates
  • Tries to come up with a good name
  • Has a blacklist for bad refnames