Browse Source

Fix edit counter link.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
c38fe56ad4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/commands/editcount.py

+ 1
- 1
earwigbot/commands/editcount.py View File

@@ -47,7 +47,7 @@ class Editcount(Command):
return return


safe = quote_plus(user.name.encode("utf8")) safe = quote_plus(user.name.encode("utf8"))
url = "http://toolserver.org/~tparis/pcount/index.php?name={0}&lang={1}&wiki={2}"
url = "http://tools.wmflabs.org/xtools/pcount/index.php?user={0}&lang={1}&wiki={2}"
fullurl = url.format(safe, site.lang, site.project) fullurl = url.format(safe, site.lang, site.project)
msg = "\x0302{0}\x0F has {1} edits ({2})." msg = "\x0302{0}\x0F has {1} edits ({2})."
self.reply(data, msg.format(name, count, fullurl)) self.reply(data, msg.format(name, count, fullurl))

Loading…
Cancel
Save