jenkins-bot has submitted this change and it was merged.
Change subject: Fix for nice_get_address(): use Page.title(asUrl=True) as param ......................................................................
Fix for nice_get_address(): use Page.title(asUrl=True) as param
Change-Id: I345098a0a3905f8e09fce57197d9fa5393d0b54f --- M scripts/interwiki.py M scripts/replace.py 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/interwiki.py b/scripts/interwiki.py index df70c62..38b1c43 100755 --- a/scripts/interwiki.py +++ b/scripts/interwiki.py @@ -1964,7 +1964,7 @@ if answer == 'b': webbrowser.open("http://%s%s" % ( page.site.hostname(), - page.site.nice_get_address(page.title()) + page.site.nice_get_address(page.title(asUrl=True)) )) pywikibot.input(u"Press Enter when finished in browser.") return True diff --git a/scripts/replace.py b/scripts/replace.py index 186c0ff..f83b642 100755 --- a/scripts/replace.py +++ b/scripts/replace.py @@ -386,7 +386,7 @@ if choice == 'b': webbrowser.open("http://%s%s" % ( page.site.hostname(), - page.site.nice_get_address(page.title()) + page.site.nice_get_address(page.title(asUrl=True)) )) i18n.input('pywikibot-enter-finished-browser') try:
pywikibot-commits@lists.wikimedia.org