Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Pasi Kallinen d0b0732c97 Bug 11674: Configuration for MARC field doc URLs
Add a new system preference MarcFieldDocURL. Setting it to some URL
will make all the MARC documentation links point to that in
the MARC edit UI. Leaving the value empty will use the old defaults
(http://loc.gov for MARC21 and http://archive.ifla.org for UNIMARC).

There are some possible substitutions usable in the URL:
 - {MARC} is replaced with either "MARC21" or "UNIMARC"
 - {FIELD} is replaced by the MARC field number, eg. "000", "048", ...
 - {LANG} is replaced by the UI language, eg. "en", or "fi-FI"

To test:

1) Go to Cataloguing > New record
2) Clicking on the question mark links in the MARC edit will
   open a window to either loc.gov or archive.ifla.org
3) Install patch, run updatedatabase, etc
4) Redo parts 1, and 2.
5) Set the value of MarcFieldDocURL to
   http://example.com/?field={FIELD}&marc={MARC}&lang={LANG}
6) Redo parts 1 and 2
7) Clicking on the question mark links in the MARC edit will
   open a window to example.com, with the proper substitutions
   in the URL for the field, marc flavour and language

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-16 14:07:27 -03:00
..
acquisitions.pref Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
admin.pref Bug 7317: (QA followup) ILL sysprefs belong to circulation section 2017-11-09 11:42:15 -03:00
authorities.pref Bug 14769: Add preference AuthorityControlledIndicators 2018-04-12 10:50:35 -03:00
cataloguing.pref Bug 11674: Configuration for MARC field doc URLs 2018-04-16 14:07:27 -03:00
circulation.pref Bug 11512: Update syspref description 2018-04-06 14:51:14 -03:00
enhanced_content.pref Bug 19882: Fix syntax issue in .pref file 2018-04-16 11:17:31 -03:00
i18n_l10n.pref Bug 20115: Add information about this feature in the pref descriptions 2018-04-04 15:45:44 -03:00
local_use.pref
logs.pref
opac.pref Bug 20291: (follow-up) Rename NoLoginInstructions to OpacLoginInstructions 2018-04-02 18:08:07 -03:00
patrons.pref Bug 20264: Remove syspref checkdigit 2018-03-23 11:45:38 -03:00
searching.pref Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
serials.pref
staff_client.pref Bug 20291: Add a StaffLoginInstructions preference for adding text to staff client login 2018-04-02 18:08:07 -03:00
tools.pref Bug 17465: NumSavedReports syspref 2017-05-09 21:17:53 +00:00
web_services.pref Bug 19278: Add RESTdefaultPageSize syspref 2017-12-11 17:46:59 -03:00