浏览代码

Fix editcounter link.

tags/v0.2
Ben Kurtovic 9 年前
父节点
当前提交
6615c591e0
共有 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://tools.wmflabs.org/xtools/pcount/index.php?user={0}&lang={1}&wiki={2}"
url = "http://tools.wmflabs.org/xtools-ec/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))

正在加载...
取消
保存