https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31019
Baptiste Wojtkowski (bwoj) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177694|0 |1 is obsolete| | --- Comment #25 from Baptiste Wojtkowski (bwoj) <[email protected]> --- Created attachment 179727 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179727&action=edit Bug 31019: Fix broken links to UNIMARC field documentation IFLA no longer provides field-level documentation pages for the UNIMARC format (as at December 2024). It only provides: - updates by year as individual PDFs (there may be multiple PDF updates for a field) - a single consolidated PDF that is not yet endorsed by IFLA. This patch updates the default UNIMARC field documentation links to https://www.ifla.org/g/unimarc-rg/unimarc-updates/ It also: - makes minor formating changes to improve consistency with the advanced editor: . the help link text is now [?], instead of ? . adds hover text for [?] - "Show help for this tag" . adds some additional spacing before the indicator fields . removes the '-' before the tag title - updates the MarcFieldDocURL system preference description Test plan: 1. Start up a Koha instance that uses UNIMARC (if using koha-testing-docker, change KOHA_MARC_FLAVOUR=unimarc in your .env file). 2. Set the EnableAdvancedCatalogingEditor system preference to "Enable". 3. Search for and edit any bibliographic record using the basic editor. 4. Click on the help text link (?) after any tag. 5. Note that you get an error: - Firefox: "The page isn’t redirecting properly" - Chrome-based browsers: "This page isn’t working archive.ifla.org redirected you too many times." 6. Switch to the advanced editor (Settings > Switch to advanced editor). 7. Click on a tag and then click the help link ([?]) at the bottom of the page. Result: You get the an error for the web page. 8. Switch back to the basic editor (Settings > Switch to basic editor). 9. Apply the patch. 10. Duplicate the tab and refresh the page for the record you were editing. 11. Click a help link for the basic editor - it now goes to a valid web page (https://www.ifla.org/g/unimarc-rg/unimarc-updates/). 12. Compare the basic editor page to the previously opened tab and note these differences: - the help link text is now [?], instead of ? - there is now hover text for [?]- "Show help for this tag" - there is some additional spacing before the indicator fields - there is no '-' before the tag title 13. Check that the page looks okay if the Settings > Show MARC tag document, and Show tags options are toggled off. 14. Switch to the advanced editor (Settings > Switch to advanced editor). If you click on the help link you now go to a valid web page. 15. View the updated description for updated MarcFieldDocURL system preference and check that it makes sense. 16. Enter a URL for the MarcFieldDocURL system preference, for example, https://example.com 17. Edit another record (using either the basic or advanced editor) and click the help link - it should take you to the web page you set for MarcFieldDocURL. 18. [Optional] Enter a custom URL pattern for the help documentation using {FIELD} (I don't know of any UNIMARC custom URL patterns). 19. Repeat the steps as appropriate for a MARC21 instance: 19.1 Start up a MARC21 instance (change KOHA_MARC_FLAVOUR=unimarc on your .env file). 19.2 The help links should take you to the Library of Congress MARC pages. 19.3 Check that custom URL patterns continue to work, for example, use the Canadian custom URL pattern http://www.marc21.ca/MaJ/BIB/B{FIELD}.pdf 20. Sign off! Signed-off-by: David Nind <[email protected]> Signed-off-by: Mathieu Saby <[email protected]> Signed-off-by: Baptiste Wojtkowski <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
