Vtingey has submitted this change and it was merged.

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(-)

Approvals:
  Vtingey: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I36f0bb65337b24735ffde74680cd9af2f96bbc02
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BiblioPlus
Gerrit-Branch: master
Gerrit-Owner: KarenEddy <karen.f.e...@gmail.com>
Gerrit-Reviewer: Vtingey <vtin...@msl.ubc.ca>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to