jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/398670 )

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


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

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

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved



diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py
index 656525e..c58a2df 100644
--- a/scripts/imagecopy.py
+++ b/scripts/imagecopy.py
@@ -530,7 +530,8 @@
                         # Do the TkdialogIC to accept/reject and change te name
                         (newname, skip) = TkdialogIC(
                             imagepage.title(withNamespace=False),
-                            imagepage.get(), username, imagepage.permalink(),
+                            imagepage.get(), username,
+                            imagepage.permalink(with_protocol=True),
                             imagepage.templates()).getnewname()
 
                         if skip:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I490c35b62f41b662ddb03150e74ea3850b497c79
Gerrit-PatchSet: 6
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Eflyjason <eflyja...@gmail.com>
Gerrit-Reviewer: Framawiki <framaw...@tools.wmflabs.org>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4...@gmail.com>
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