Xqt has submitted this change and it was merged.
Change subject: Update commonshelper url to wmflabs ......................................................................
Update commonshelper url to wmflabs
https://sourceforge.net/p/pywikipediabot/bugs/1652/ Change-Id: I7cf2bc30853896b18618ed54ffc08368146871fd --- M imagecopy.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved
diff --git a/imagecopy.py b/imagecopy.py index 97b3510..03a7ca2 100644 --- a/imagecopy.py +++ b/imagecopy.py @@ -208,7 +208,7 @@ gotInfo = False; while(not gotInfo): try: - commonsHelperPage = urllib.urlopen("http://toolserver.org/~magnus/commonshelper.php", parameters) + commonsHelperPage = urllib.urlopen("http://tools.wmflabs.org/commonshelper/index.php", parameters) data = commonsHelperPage.read().decode('utf-8') gotInfo = True; except IOError: @@ -239,7 +239,7 @@
tosend=urllib.urlencode(tosend) print tosend - CH=pageTextPost('http://www.toolserver.org/~magnus/commonshelper.php', tosend) + CH=pageTextPost('http://tools.wmflabs.org/commonshelper/index.php', tosend) print 'Got CH desc.'
tablock=CH.split('<textarea ')[1].split('>')[0]
pywikibot-commits@lists.wikimedia.org