Bugzilla – Attachment 193503 Details for
Bug 41097
Deduping authorities script (dedup_authorities.pl) can die on duplicated ids
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41097: (QA follow-up) Clarify POD
Bug-41097-QA-follow-up-Clarify-POD.patch (text/plain), 1.15 KB, created by
Marcel de Rooy
on 2026-02-20 08:37:27 UTC
(
hide
)
Description:
Bug 41097: (QA follow-up) Clarify POD
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2026-02-20 08:37:27 UTC
Size:
1.15 KB
patch
obsolete
>From b107d3b44cc0d0f5c077bda8d4ba2516fec9be3a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 20 Feb 2026 09:36:08 +0100 >Subject: [PATCH] Bug 41097: (QA follow-up) Clarify POD >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/maintenance/dedup_authorities.pl | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/misc/maintenance/dedup_authorities.pl b/misc/maintenance/dedup_authorities.pl >index c4924e749d..cdea760204 100755 >--- a/misc/maintenance/dedup_authorities.pl >+++ b/misc/maintenance/dedup_authorities.pl >@@ -306,10 +306,14 @@ sub _get_usage { > } > > =head2 _choose_records >- this function takes input of candidate record ids to merging >- and returns >- first the record to merge to >- and list of records to merge from >+ >+ @record_ids = _choose_records(@record_ids); >+ >+ This function sorts the list of record ids, based on the passed >+ methods (see script options). >+ By default, it sorts on usage count. >+ It is used in the main loop to decide which record to keep. >+ > =cut > > sub _choose_records { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41097
:
188416
|
188437
|
193502
| 193503