User:Polygnotus/Scripts/DeduplicateReferences
Appearance
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.
There is a testpage over at User:Polygnotus/Scripts/DeduplicateReferencesTest.
| Description | This scripts deduplicates references that are exact duplicates |
|---|---|
| Author | Polygnotus |
| Updated | April 10, 2026 (4 months ago) |
| Source | User:Polygnotus/Scripts/DeduplicateReferences.js |
Installation
[edit]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
[edit]- Deduplicates references that are exact duplicates
- Tries to come up with a good name
- Has a blacklist for bad refnames