Eflyjason has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/398670 )

Change subject: imagecopy.py: Add 'https' in the link of 'View in browser' 
function
......................................................................

imagecopy.py: Add 'https' in the link of 'View in browser' function

Bug: T182854
Change-Id: I490c35b62f41b662ddb03150e74ea3850b497c79
---
M scripts/imagecopy.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/70/398670/1

diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py
index 656525e..4a8b149 100644
--- a/scripts/imagecopy.py
+++ b/scripts/imagecopy.py
@@ -448,7 +448,7 @@
 
     def open_in_browser(self):
         """The user pressed the View in browser button."""
-        webbrowser.open(self.url)
+        webbrowser.open('https:' + self.url)
 
     def add2_auto_skip(self):
         """The user pressed the Add to AutoSkip button."""

-- 
To view, visit https://gerrit.wikimedia.org/r/398670
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I490c35b62f41b662ddb03150e74ea3850b497c79
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Eflyjason <eflyja...@gmail.com>

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

Reply via email to