KarenEddy has uploaded a new change for review. https://gerrit.wikimedia.org/r/311894
Change subject: Changed all NCBI urls from http to https. ...................................................................... Changed all NCBI urls from http to https. Change-Id: I36f0bb65337b24735ffde74680cd9af2f96bbc02 --- M BiblioPlus.body.php 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BiblioPlus refs/changes/94/311894/1 diff --git a/BiblioPlus.body.php b/BiblioPlus.body.php index 034dc8f..3c988d6 100644 --- a/BiblioPlus.body.php +++ b/BiblioPlus.body.php @@ -148,7 +148,7 @@ function eSummary( $pmids ) { if ( count( $pmids ) > 0 ) { global $wgSitename, $wgEmergencyContact; - define( 'EUTILS_ROOT', "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/" ); + define( 'EUTILS_ROOT', "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/" ); define( 'ESUMMARY_URL', EUTILS_ROOT . 'esummary.fcgi' ); wfSuppressWarnings(); @@ -266,7 +266,7 @@ $doi, "DOI: $doi" ) . ' |'; } elseif ( $pmid != '' ) { $title = 'title="' .wfMessage( 'biblioplus-pmid-tooltip' )->escaped() . '"'; - $result = "<a href=\"http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?cmd=prlinks&dbfrom=pubmed&retmode=ref&id=$pmid\" $title $style>$result</a>"; + $result = "<a href=\"https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?cmd=prlinks&dbfrom=pubmed&retmode=ref&id=$pmid\" $title $style>$result</a>"; } elseif ( $isbn != '' ) { $title = 'title="' . wfMessage( 'biblioplus-isbn-tooltip' )->escaped() . '"'; $result = "<a href=\"http://isbndb.com/d/book/$isbndbref.html\" $title $style>$result</a>"; @@ -309,7 +309,7 @@ */ function pubMedUrl( $pmids ) { $listUids = implode( ',', $pmids ); - return "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$listUids"; + return "https://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$listUids"; } /** -- To view, visit https://gerrit.wikimedia.org/r/311894 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I36f0bb65337b24735ffde74680cd9af2f96bbc02 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BiblioPlus Gerrit-Branch: master Gerrit-Owner: KarenEddy <karen.f.e...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits