Bug 38743

Summary: Links to UNIMARC fields manuals are broken
Product: Koha Reporter: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aude.charillon, m.de.rooy, mathsabypro, phil, philip.orr
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Baptiste Wojtkowski (bwoj) 2024-12-18 13:07:05 UTC
In UNIMARC, links to IFLA are broken and referring to a very old version of MARC format.

 502     function _UNIMARCFieldDoc(field) {
 503         /* http://archive.ifla.org/VI/3/p1996-1/ is an outdated version of UNIMARC, but
 504            seems to be the only version available that can be linked to per tag.  More recent
 505            versions of the UNIMARC standard are available on the IFLA website only as
 506            PDFs!
 507         */
 508         var url;
 509         if (field == 0) {
 510             url = "http://archive.ifla.org/VI/3/p1996-1/uni.htm";
 511         } else {
 512             var first = field.substring(0,1);
 513             url = "http://archive.ifla.org/VI/3/p1996-1/uni" + first + ".htm#";
 514             if (first == 0) url = url + "b";
 515             url = first == 9
 516                   ? "http://archive.ifla.org/VI/3/p1996-1/uni9.htm"
 517                   : url + field;
 518         }
 519         window.open(url);
 520     }

To my knowledge, there is no good solution to this pb :
- According to the code and to my investigation, IFLA is not providing split files, field by field (except fields which have been updated after 2008, which can be accessed through the atomic updates)
- transition-bibliographique.fr is providing such a work but only in french
Comment 1 Phil Ringnalda 2024-12-18 16:42:02 UTC

*** This bug has been marked as a duplicate of bug 31019 ***