Переглянути джерело

Fix edit counter link.

tags/v0.2
Ben Kurtovic 10 роки тому
джерело
коміт
c38fe56ad4
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      earwigbot/commands/editcount.py

+ 1
- 1
earwigbot/commands/editcount.py Переглянути файл

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

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)
msg = "\x0302{0}\x0F has {1} edits ({2})."
self.reply(data, msg.format(name, count, fullurl))

Завантаження…
Відмінити
Зберегти