Bugzilla – Attachment 180198 Details for
Bug 39508
Add support for ISNI and Wikidatata identifiers to OPACAuthorIdentifiersAndInformation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39508: With OPACAuthorIdentifiersAndInformation, make ISNI and Wikidata identifiers be displayed correctly
Bug-39508-With-OPACAuthorIdentifiersAndInformation.patch (text/plain), 2.01 KB, created by
Janusz Kaczmarek
on 2025-04-01 14:17:28 UTC
(
hide
)
Description:
Bug 39508: With OPACAuthorIdentifiersAndInformation, make ISNI and Wikidata identifiers be displayed correctly
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2025-04-01 14:17:28 UTC
Size:
2.01 KB
patch
obsolete
>From 6cb7e35dc1ec208d4e8d36477ab00c876f71bf2b Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Tue, 1 Apr 2025 12:24:46 +0000 >Subject: [PATCH] Bug 39508: With OPACAuthorIdentifiersAndInformation, make > ISNI and Wikidata identifiers be displayed correctly > >At the current, when OPACAuthorIdentifiersAndInformation is on, ISNI >and Wikidata entries in authority 024 field generate empty bullets. > >Test plan: >========== >1. Turn OPACAuthorIdentifiersAndInformation on for Identifiers. >2. Edit an authority record adding 024 field(s) for wikidata / ISNI, > e.g.: > 024 7_ $a 0000000120967858 $1 https://isni.org/isni/0000000120967858 $2 isni > 024 7_ $a Q859 $1 http://www.wikidata.org/entity/Q859 $2 wikidata >3. Go to a linked bibliograohic record in OPAC and see the 'Author > information' tab. There should be empty bullets under author's > name. >4. Apply the patch ; restart_all >5. Repeat p. 3. The bullets should be followed by a description and > link. >--- > .../bootstrap/en/includes/authority-information.inc | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >index 7e939f6e8e..4354e3b71a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >@@ -18,6 +18,12 @@ > [% CASE 'viaf' %] > <span>VIAF ID: </span> > <a href="https://viaf.org/viaf/[% info.number | url %]">[% info.number | html %]</a> >+ [% CASE 'isni' %] >+ <span>ISNI ID: </span> >+ <a href="https://isni.org/isni/[% info.number | url %]">[% info.number | html %]</a> >+ [% CASE 'wikidata' %] >+ <span>WIKIDATA ID: </span> >+ <a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a> > [% END %] > </li> > [% CASE 'activity' %] >-- >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 39508
:
180153
|
180198
|
180208
|
182256