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 <eflyjason(a)gmail.com>
Gerrit-Reviewer: Framawiki <framawiki(a)tools.wmflabs.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>