瀏覽代碼

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))

Loading…
取消
儲存