While adding authorities (authorities.pl), we don't have the "?" now available on cataloging frameworks. A similar strategy might be used. Related bugs: #10940, #5546.
A temporary solution through JQuery can be: var tags = $('div[id^=div_indicator_tag_]'); for (var i=0; i < tags.length; i++) { var t = $(tags[i]); var tag_name = t.attr('id').replace(/div_indicator_tag_/,'').substr(0,3); t.find('span:first').after('<a href="#" class="marcdocs" title="LC MARC auth specifications" onclick="MARC21FieldAuth(\''+tag_name+'\'); return false"> ?</a>'); } $('.marcdocs').css({'color':'blue','font-weight':'bold'});
(In reply to Stefano Bargioni from comment #1) > A temporary solution through JQuery can be: > > var tags = $('div[id^=div_indicator_tag_]'); > for (var i=0; i < tags.length; i++) { > var t = $(tags[i]); > var tag_name = t.attr('id').replace(/div_indicator_tag_/,'').substr(0,3); > t.find('span:first').after('<a href="#" class="marcdocs" title="LC MARC > auth specifications" onclick="MARC21FieldAuth(\''+tag_name+'\'); return > false"> ?</a>'); > } > $('.marcdocs').css({'color':'blue','font-weight':'bold'}); function MARC21FieldAuth(tag_name) { if (tag_name == '000') { window.open("http://www.loc.gov/marc/authority/adleader.html"); } else if (tag_name.search('09') == 0) { window.open("http://www.loc.gov/marc/authority/ad09x.html"); } else { window.open("http://www.loc.gov/marc/authority/ad"+("000"+tag_name).slice(-3) + ".html"); } }
Added to JQuery Library on wiki: http://wiki.koha-community.org/wiki/JQuery_Library#MARC21_documentation_links_while_adding_an_authority but in status=incomplete because it shows also on bibliographic frameworks. A lot of this JQuery enhancement should be added to Koha...
(In reply to Pablo AB from comment #3) > Added to JQuery Library on wiki: > http://wiki.koha-community.org/wiki/ > JQuery_Library#MARC21_documentation_links_while_adding_an_authority but in > status=incomplete because it shows also on bibliographic frameworks. > A lot of this JQuery enhancement should be added to Koha... Thx Pablo to adding it to the jQuery Library. I wrapped the code into an IF statement to apply it only in case of auth frameworks.
I would like to see this added, I use the documentation links on bibliographic records very often and would use them if they were included on authority records as well.
*** Bug 34272 has been marked as a duplicate of this bug. ***
I would *really* like to see this--I think it would be really helpful for those new to cataloging, and those new to authorities! Authorities can be a dark, murky world, and clarifying it in an easy to use & friendly way would rock! Also, those little "?" appearing are SUPER for newbies!!!! Super please with whipped cream on top and a cherry, please, please, advance this bug!!!! Thank you!!!!!!!!!!! h2