Bug 20713

Summary: Add Russian UNIMARC authority structures
Product: Koha Reporter: Oleg Vasylenko <synapse.ova>
Component: I18N/L10NAssignee: Oleg Vasylenko <synapse.ova>
Status: RESOLVED MOVED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dubyk, f.demians, mtompset
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: [PATCH 1/2] Add Russian UNIMARC authority structures
[PATCH 2/2] Remove old Russian UNIMARC authority structures

Description Oleg Vasylenko 2018-05-06 10:10:13 UTC
Right now there is no russian UNIMARC authority structures. There is russian folder, but the structure is in ukrainian (partly in french).

Steps to Reproduce: 
1. Install ru-RU language
2. Run installer using ru-RU / Russian language
3. Select UNIMARC MARC flavour
4. Verify mandatory files are loaded without problems
5. Check adding of some authority type (for example, Name Personal — Имя лица)

Actual Results:
Installed structures in ukrainian language. Only default structure is mandatory.

Expected Results: 
Installed russian structures without problems. All structures used in code are installed as mandatory

Additional Information: 
C4\AuthoritiesMarc.pm (lines 396-409) checks for some specific authority types. These should be considered as mandatory for UNIMARC installations. Structures SAUT, SCO and STU have the same auth_tag_to_report as other structures and are not present in latest french structure → so could be safely removed

All these structures (unlike french) have visible fields from unimarc 5th block (related access point). Because we can relate current record with any other authority type (for example Name Personal with Geographical Name).

These authority structures can be added to almost any Koha version
Comment 1 Oleg Vasylenko 2018-05-06 10:18:03 UTC
Cannot add patch :( Even though file upload size limitation is 6000 kb and patch is 1.26 Mb server throws error:
413 Request Entity Too Large
Comment 2 Oleg Vasylenko 2018-05-06 13:24:41 UTC
Created attachment 75100 [details] [review]
[PATCH 1/2] Add Russian UNIMARC authority structures
Comment 3 Oleg Vasylenko 2018-05-06 13:26:06 UTC
Created attachment 75101 [details] [review]
[PATCH 2/2] Remove old Russian UNIMARC authority structures
Comment 4 Oleg Vasylenko 2018-05-06 13:40:01 UTC
Couldn't upload all changes in one patch, so split it to 2 patches:
1st one adds file with new structure (it contains all authority types, so another file name was needed)
2nd one deletes old files (separate files containing authority types)
Comment 5 Mark Tompsett 2019-03-13 17:20:30 UTC
Comment on attachment 75101 [details] [review]
[PATCH 2/2] Remove old Russian UNIMARC authority structures

Review of attachment 75101 [details] [review]:
-----------------------------------------------------------------

UPDATE auth_subfield_structure SET hidden=1 WHERE hidden<>0
-- This would affect ALL entries, should there not be an "AND authtypecode=" type clause for each of these?
could there not be other auth type codes other than the ones coded? If so, this would edit them, even though they are not updated here.
Comment 6 Katrin Fischer 2023-09-16 14:15:17 UTC
We removed the old installers in favor of yaml files that can be translated using po files. The translation has moved to translate.koha-community.org.