瀏覽代碼

short: 500b -> 1000b

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
f7054de9d8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      earwigbot/tasks/afc_statistics.py

+ 2
- 2
earwigbot/tasks/afc_statistics.py 查看文件

@@ -698,7 +698,7 @@ class AFCStatistics(Task):
"""Return any special notes or warnings about this page.

resubmit: submission was resubmitted after a previous decline
short: submission is fewer than 500 bytes
short: submission is fewer than 1000 bytes
no-inline: submission has no inline citations
unsourced: submission lacks references completely
old: submission has not been touched in > 4 days
@@ -714,7 +714,7 @@ class AFCStatistics(Task):
if "D" in statuses and chart != self.CHART_MISPLACE:
notes += "|nr=1" # Submission was resubmitted

if len(content) < 500:
if len(content) < 1000:
notes += "|ns=1" # Submission is short

if not re.search("\<ref\s*(.*?)\>(.*?)\</ref\>", content, re.I | re.S):


Loading…
取消
儲存