This system preference never worked; also, as far as I can tell, the PINES oISBN service was experimental, not meant for production use, and is not currently advertised.
Signed-off-by: Galen Charlton <[email protected]> --- C4/XISBN.pm | 9 ++------- admin/systempreferences.pl | 1 - installer/data/mysql/en/mandatory/sysprefs.sql | 3 +-- .../1-Obligatoire/unimarc_standard_systemprefs.sql | 1 - installer/data/mysql/pl-PL/mandatory/sysprefs.sql | 1 - ...m_preferences_full_optimal_for_install_only.sql | 1 - ...ystem_preferences_only_translation_updating.sql | 3 --- ...m_preferences_full_optimal_for_install_only.sql | 1 - ...ystem_preferences_only_translation_updating.sql | 3 --- .../admin/preferences/enhanced-content.pref | 1 - 10 files changed, 3 insertions(+), 21 deletions(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index aa9687c..e015ce3 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -85,7 +85,7 @@ sub _get_biblio_from_xisbn { sub get_xisbns { my ( $isbn ) = @_; - my ($response,$thing_response,$xisbn_response,$gapines_response,$syndetics_response); + my ($response,$thing_response,$xisbn_response,$syndetics_response); # THINGISBN if ( C4::Context->preference('ThingISBN') ) { my $url = "http://www.librarything.com/api/thingISBN/".$isbn; @@ -113,12 +113,7 @@ sub get_xisbns { } } - # PINES ISBN (Experimental) - #if ( C4::Context->preference('PINESISBN') ) { - # my $url = "http://www.librarything.com/api/thingISBN/".$isbn; - # $gapines_response = _get_url($url,'thingisbn'); - #} - $response->{isbn} = [ @{ $xisbn_response->{isbn} or [] }, @{ $syndetics_response->{isbn} or [] }, @{ $thing_response->{isbn} or [] }, @{ $gapines_response->{isbn} or [] } ]; + $response->{isbn} = [ @{ $xisbn_response->{isbn} or [] }, @{ $syndetics_response->{isbn} or [] }, @{ $thing_response->{isbn} or [] } ]; my @xisbns; my $unique_xisbns; # a hashref diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index ecdfa05..6ed5310 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -291,7 +291,6 @@ $tabsysprefs{FRBRizeEditions} = "EnhancedContent"; $tabsysprefs{XISBN} = "EnhancedContent"; $tabsysprefs{OCLCAffiliateID} = "EnhancedContent"; $tabsysprefs{XISBNDailyLimit} = "EnhancedContent"; -$tabsysprefs{PINESISBN} = "EnhancedContent"; $tabsysprefs{ThingISBN} = "EnhancedContent"; $tabsysprefs{OPACFRBRizeEditions} = "EnhancedContent"; diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql index d0ba1b5..7060fa2 100644 --- a/installer/data/mysql/en/mandatory/sysprefs.sql +++ b/installer/data/mysql/en/mandatory/sysprefs.sql @@ -126,7 +126,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OCLCAffiliateID','','Use with FRBRizeEditions and XISBN. You can sign up for an AffiliateID here: http://www.worldcat.org/wcpa/do/AffiliateUserServices?method=initSelfRegister','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBNDailyLimit',499,'The xISBN Web service is free for non-commercial use when usage does not exceed 500 requests per day','','Integer'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('PINESISBN',0,'Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ThingISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the ThingISBN web service in the Editions tab on the detail pages.','','YesNo'); -- I18N/L10N @@ -287,4 +286,4 @@ INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanatio INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI','0','Enables ILS-DI services at OPAC.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo'); \ No newline at end of file +INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo'); diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql index b2e0f11..d6d6dc6 100644 --- a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql +++ b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql @@ -141,7 +141,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('XISBN',0,'Utilisé avec ''FRBRizeEditions''. Si activé, Koha va utiliser le service xISBN de l''OCLC dans l''onglet supplémentaire de la page de détail. Voir : http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OCLCAffiliateID','','Utilisé avec ''FRBRizeEditions'' and ''XISBN''. Vous pouvez obtenir un AffiliateID à l''adresse : http://www.worldcat.org/wcpa/do/AffiliateUserServices?method=initSelfRegister','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('XISBNDailyLimit',499,'Le service XISBN est gratuit pour tout usage non commercial, dans la limite de 500 interrogations quotidiennes.','','Integer'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('PINESISBN',0,'Utilisé avec ''FRBRizeEditions''. Si activé, koha utilisera le service ''PINES OISBN'' dans l''onglet supplémentaire de la page de détail de notice.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ThingISBN',0,'Utilisé avec ''FRBRizeEditions''. Si activé, Koha utilisera le service ''ThingISBN'' dans l''onglet supplémentaire de la page de détail de notice.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WebBasedSelfCheck',0,'Si activé, permet le système de prêt auto-controlé à partir de l''opac (/cgi-bin/koha/sco/sco-main.pl',NULL,'YesNo'); diff --git a/installer/data/mysql/pl-PL/mandatory/sysprefs.sql b/installer/data/mysql/pl-PL/mandatory/sysprefs.sql index c6a8a41..54f4194 100644 --- a/installer/data/mysql/pl-PL/mandatory/sysprefs.sql +++ b/installer/data/mysql/pl-PL/mandatory/sysprefs.sql @@ -127,7 +127,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OCLCAffiliateID','','Use with FRBRizeEditions and XISBN. You can sign up for an AffiliateID here: http://www.worldcat.org/wcpa/do/AffiliateUserServices?method=initSelfRegister','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBNDailyLimit',499,'The xISBN Web service is free for non-commercial use when usage does not exceed 500 requests per day','','Integer'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('PINESISBN',0,'Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ThingISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the ThingISBN web service in the Editions tab on the detail pages.','','YesNo'); -- I18N/L10N diff --git a/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql b/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql index d6ee529..0f8dd9f 100644 --- a/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql +++ b/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql @@ -157,7 +157,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OCLCAffiliateID','','Use with FRBRizeEditions and XISBN. You can sign up for an AffiliateID here: http://www.worldcat.org/wcpa/do/AffiliateUserServices?method=initSelfRegister','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBNDailyLimit',499,'The xISBN Web service is free for non-commercial use when usage does not exceed 500 requests per day','','Integer'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('PINESISBN',0,'Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ThingISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the ThingISBN web service in the Editions tab on the detail pages.','','YesNo'); -- I18N/L10N diff --git a/installer/data/mysql/ru-RU/mandatory/system_preferences_only_translation_updating.sql b/installer/data/mysql/ru-RU/mandatory/system_preferences_only_translation_updating.sql index 869503c..dc295d2 100644 --- a/installer/data/mysql/ru-RU/mandatory/system_preferences_only_translation_updating.sql +++ b/installer/data/mysql/ru-RU/mandatory/system_preferences_only_translation_updating.sql @@ -124,9 +124,6 @@ UPDATE systempreferences SET explanation='ÐклÑÑиÑÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ UPDATE systempreferences SET explanation='ÐÑли вклÑÑено, Ñо ÐРбÑÐ´ÐµÑ Ð¾Ð¿ÑаÑиваÑÑ Ð¾Ð´Ð¸Ð½ или неÑколÑко веб-ÑеÑвиÑов ISBN каÑаÑелÑно ÑвÑзаннÑÑ ISBN и оÑобÑÐ°Ð·Ð¸Ñ Ð½Ð° вкладке «ÐзданиÑ» на ÑÑÑаниÑе Ñ Ð¿Ð¾Ð´ÑобноÑÑÑми' WHERE variable='OPACFRBRizeEditions'; -- If ON, the OPAC will query one or more ISBN web services for associated ISBNs and display an Editions tab on the details pages -UPDATE systempreferences SET explanation='ÐÑполÑзÑеÑÑÑ Ñ FRBRizeEditions. ÐÑли вклÑÑено, ÐÐ¾Ñ Ð° иÑполÑзÑÐµÑ Ð²ÐµÐ±-ÑеÑÐ²Ð¸Ñ PINES OISBN Ð´Ð»Ñ Ð²ÐºÐ»Ð°Ð´ÐºÐ¸ «ÐзданиÑ» на ÑÑÑаниÑе Ñ Ð¿Ð¾Ð´ÑобноÑÑÑми.' WHERE variable='PINESISBN'; --- Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages. - UPDATE systempreferences SET explanation='ÐклÑÑÐ°ÐµÑ Ð¸Ð»Ð¸ вÑклÑÑÐ°ÐµÑ Ð²Ñе ÑÑнкÑии меÑок. ÐÑо оÑновной пеÑеклÑÑаÑÐµÐ»Ñ Ð´Ð»Ñ Ð¼ÐµÑок.' WHERE variable='TagsEnabled'; -- Enables or disables all tagging features. This is the main switch for tags. diff --git a/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql b/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql index e22efcf..e45ad31 100644 --- a/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql +++ b/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql @@ -157,7 +157,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OCLCAffiliateID','','Use with FRBRizeEditions and XISBN. You can sign up for an AffiliateID here: http://www.worldcat.org/wcpa/do/AffiliateUserServices?method=initSelfRegister','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('XISBNDailyLimit',499,'The xISBN Web service is free for non-commercial use when usage does not exceed 500 requests per day','','Integer'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('PINESISBN',0,'Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages.','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ThingISBN',0,'Use with FRBRizeEditions. If ON, Koha will use the ThingISBN web service in the Editions tab on the detail pages.','','YesNo'); -- I18N/L10N diff --git a/installer/data/mysql/uk-UA/mandatory/system_preferences_only_translation_updating.sql b/installer/data/mysql/uk-UA/mandatory/system_preferences_only_translation_updating.sql index b1b7887..5a8bb0d 100644 --- a/installer/data/mysql/uk-UA/mandatory/system_preferences_only_translation_updating.sql +++ b/installer/data/mysql/uk-UA/mandatory/system_preferences_only_translation_updating.sql @@ -124,9 +124,6 @@ UPDATE systempreferences SET explanation='ÐклÑÑиÑи можливÑÑÑÑ UPDATE systempreferences SET explanation='ЯкÑо ввÑмкнÑÑо, Ñо ÐРбÑде опиÑÑваÑи один Ñи бÑлÑÑе веб-ÑеÑвÑÑÑв ISBN Ñодо повâÑÐ·Ð°Ð½Ð¸Ñ ISBN Ñа вÑдобÑазиÑÑ Ð½Ð° вкладÑÑ Â«ÐиданнÑ» на ÑÑоÑÑнÑÑ Ð· подÑобиÑÑми' WHERE variable='OPACFRBRizeEditions'; -- If ON, the OPAC will query one or more ISBN web services for associated ISBNs and display an Editions tab on the details pages -UPDATE systempreferences SET explanation='ÐикоÑиÑÑовÑÑÑÑÑÑ Ð· FRBRizeEditions. ЯкÑо ввÑмкнÑÑо, ÐÐ¾Ñ Ð° викоÑиÑÑÐ°Ñ Ð²ÐµÐ±-ÑеÑвÑÑ PINES OISBN Ð´Ð»Ñ Ð²ÐºÐ»Ð°Ð´ÐºÐ¸ «ÐиданнÑ» на ÑÑоÑÑнÑÑ Ð· подÑобиÑÑми.' WHERE variable='PINESISBN'; --- Use with FRBRizeEditions. If ON, Koha will use PINES OISBN web service in the Editions tab on the detail pages. - UPDATE systempreferences SET explanation='ÐÐ¼Ð¸ÐºÐ°Ñ Ð°Ð±Ð¾ Ð²Ð¸Ð¼Ð¸ÐºÐ°Ñ ÑÑÑ ÑÑнкÑÑй мÑÑок. Це оÑновний пеÑÐµÐ¼Ð¸ÐºÐ°Ñ Ð´Ð»Ñ Ð¼ÑÑок.' WHERE variable='TagsEnabled'; -- Enables or disables all tagging features. This is the main switch for tags. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref index cf89468..5ab6c67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref @@ -1,5 +1,4 @@ Enhanced Content: -# Broken, omitted: PINESISBN All: - - <strong>NOTE:</strong> if you have more than one source of cover images set up, Koha will use the first available. -- 1.7.0
_______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
