维基百科:Huggle/Config.yaml

This is a default project configuration file for Huggle, it's written in YAML and you can prefix it with wiki text as long as the configuration file itself contains magic HTML comment HUGGLE:BOC (see source of this wiki page for details).

This page also serves as complete documentation of all project options as well.

---
# https://www.mediawiki.org/wiki/Manual:Huggle/Deploying/DefaultConfig.yaml
# This is a default project configuration for Huggle for use in new Huggle installations.
# Please keep every option documented if possible. Optional config options are commented out so that current Huggle defaults are always used. Feel free to uncomment to override the defaults.
# Options that are deprecated should not be a part of this document, if you find any, remove them

# IMPORTANT: Options that should be translated in case of different language wiki are marked with LOCALIZE ME, options that were overtaken from English Wikipedia and therefore should be updated to match target wiki are marked with UPDATE ME

##############################################################################
# Access control
# Defines requirements needed to use Huggle in read + write mode on the wiki
# If user is not eligible, Huggle will allow usage in read-only mode
##############################################################################

# If this is set to false, nobody will be allowed to use Huggle on the project,
# this is useful if you need to temporarily or permanently disable it
enable-all: true
# Minimum required version, users with older Huggle will not be allowed to login
min-version: 3.2.0
# If this is set to true, your username must be listed on Approval Page which is defined
# with option "userlist" in section "Other"
approval: false
# User must be admin in order to use huggle (member of sysop group)
require-admin: false
# User must have a valid configuration file (Special:MyPage/huggle3.yaml.css) that contains enable: true
require-config: false
# How many days user account needs to exist so that they can use Huggle
require-time: 7
# How many edits user account needs to have in order to use Huggle
require-edits: 50
# User must have rollback permission in order to use Huggle
require-rollback: false
# If this is set to true, nobody will be allowed to use Huggle in write mode
# This should be true for new installations until you verify that everything
# works as expected.
read-only: false


##############################################################################
# Reporting
# Definition of AIV and similar pages that vandals get reported to
##############################################################################

# Requests for page protection, set protection-requests to true if you want this feature to work on this wiki
protection-requests: false
# Template to use when requesting a page protection, $title is substed to page name, $protection to requested protection level and $reason is the reason for protection
rfpp-template: > 
    === [[$title]] ===\n保护类型:$protection,$reason --~~~~\n::<small>当前保护状态:{{protection status|$title}}</small>

# This is a regex used to check if the page is already in a list
rfpp-verify: >
    ===\s*\[\[$title\]\]\s*===

# Page section to append template to
rfpp-section: 0

# Used to define types of protection (since Huggle 3.4.5)
rfpp-permanent: "永久保護"
rfpp-temporary: "臨時保護"

# RFPP page
protection-request-page: "Wikipedia:请求保护页面"
# Default reason
protection-request-reason: "持續破壞"
# Summary RFPP
protection-request-summary: '請求對[[$2]]保護'

# User reporting

# Type of reports (case insensitive)
# DefaultAuto - Huggle will follow user preferences, and will default to auto reports
# DefaultManual - Huggle will follow user preferences, and will default to manual reports
# StrictAuto - Huggle will enforce automatic reports
# StrictManual - Huggle will enforce manual reports
report: DefaultAuto

# Regex that is used to verify if user is already present on report page
report-user-check-pattern: '{{vandal\|$username}}'

# Edit summary for revert page # LOCALIZE ME #
report-summary: '報告[[Special:Contributions/$1|$1]]'

# Enable AIV reports (user reports)
aiv-reports: false
# Name of page that is used for reports
aiv: "Wikipedia:当前的破坏"
# Name of AIV page used by bots (this page is only used to check if user wasn't already reported there)
#aivbot: "Wikipedia:Administrator intervention against vandalism/TB2"
# Template used to report IP user
aiv-ip: '{{safesubst:Wikipedia:当前的破坏/form| 用户名 = $1| 受影响的条目1 = $2| 说明 = $3}}'
# Template used to report regular user
aiv-user: '{{safesubst:Wikipedia:当前的破坏/form| 用户名 = $1| 受影响的条目1 = $2| 说明 = $3}}'
# Section of AIV page to add reports to
aiv-section: 0
vandal-report-reason: 破壞
uaa: "Wikipedia:需要管理員注意的用戶名"

##############################################################################
# Deletion requests
# Configuration of ability to delete or request for deletion of pages
##############################################################################
# Whether speedy deletions are enabled, right now Huggle3 supports only speedy deletions
speedy: true
# Enable warning templates for speedy deletions
# speedy-enable-warnings: true
# Send warnings by default
# speedy-warning-on-by-default: true
# Delete summary # LOCALIZE ME #
speedy-delete-summary: "請求快速刪除:$1"
# Summary used when delivering a notification to user who authored the page # LOCALIZE ME #
speedy-message-summary: "通知:頁面[[$1]]快速刪除提名"
# Title of message that is delivered to user # LOCALIZE ME #
speedy-message-title: "快速刪除通知"
# Summary used when a template informing user about speedy deletion request is delivered to user talk # LOCALIZE ME #
speedy-summary: "通知:頁面[[$1]]快速刪除提名"

# Available speedy deletion options, these are arrays that consist of description, template (put to top of the page), template used to inform user about deletion, and optional information if user should be notified about the deletion # UPDATE ME #
speedy-options:
    G1: ["没有实际内容", db-nonsense, '{{subst:huggle/db-notice|1=$1|2=没有实际内容的页面。}}', notify]
    G2: ["测试页", db-test, '{{subst:huggle/db-notice|1=$1|2=测试页面。}}', notify]
    G3: ["破坏", db-vandalism, '{{subst:huggle/db-notice|1=$1|2=纯粹[[Wikipedia:破坏|破坏]],包括但不限于明显的[[Wikipedia:不要制造恶作剧|恶作剧]]、错误信息、[[Wikipedia:不要人身攻击|人身攻击]]等。|nothanks=yes}}', notify]
    G5: ["曾被删除的内容", db-repost, '{{subst:huggle/db-notice|1=$1|2=曾经根据[[Wikipedia:頁面存廢討論|页面存废讨论]]、[[Wikipedia:頁面存廢討論/疑似侵權|侵权审核]]或[[Wikipedia:檔案存廢討論|文件存废讨论]]结果删除后又重新创建的内容,而有关内容与已删除版本相同或非常相似,无论标题是否相同。}}', notify]
    G8: ["移动请求", db-move, '{{subst:huggle/db-notice|1=$1|2=管理员因技术原因删除页面。}}']
    G10: ["原作者清空或请求删除", db-author, '{{subst:huggle/db-notice|1=$1|2=原作者清空页面或提出删除,且贡献者只有一人(对条目内容无实际修改的除外;提请须出于善意,及附有合理原因)。}}']
    G11: ["广告", db-spam, '{{subst:huggle/db-notice|1=$1|2=明显的[[Wikipedia:SOAP|广告宣传]]页面,或只有相关人物或团体的联系方法的页面。}}', notify]
    G12: ["违反生者传记", db-bio, '{{subst:huggle/db-notice|1=$1|2=未列明来源''''语调负面的[[Wikipedia:生者傳記|生者传记]]。}}', notify]
    G13: ["机器翻译", db-mt, '{{subst:huggle/db-notice|1=$1|2=明显、拙劣的机器翻译。}}', notify]
    G14: ["未翻译内容", db-nzh, '{{subst:huggle/db-notice|1=$1|2=超过两周没有进行任何翻译的非[[现代标准汉语]]页面。}}', notify]
    G15: ["孤立页面", db-talk, '{{subst:huggle/db-notice|1=$1|2=孤立页面,比如没有主页面的[[Wikipedia:讨论页|讨论页]]、指向空页面的[[Wikipedia:重定向|重定向]]等。}}']
    A1: ["内容空泛", db-nocontext, '{{subst:huggle/db-notice|1=$1|2=条目的内容笼统,或甚至根本没有提及条目主体,使条目不能用以区分其他事物。}}', notify]
    A2: ["无内容", db-text, '{{subst:huggle/db-notice|1=$1|2=内容只包括外部连接、参见、图书参考、分类、模板、跨语言连接的条目([[Wikipedia:消歧義|消歧义页]]、[[Wikipedia:重定向|重定向]]、[[Wikipedia:軟重定向|软重定向]]除外)。}}', notify]
    A3: ["跨维基条目", db-nc, '{{subst:huggle/db-notice|1=$1|2=复制自其他[[Template:Wikimedia project|中文维基计划]],或是与其他中文维基计划内容相同的文章。}}', notify]
    F1: ["重复文件", Db-redundantimage, '{{subst:huggle/db-notice|1=$1|2=重复的档案(完全相同或缩小),而且不再被条目使用。}}']
    F3: ["版权或来源不明", subst:no_license/auto, '{{subst:huggle/db-notice|1=$1|2=所有[[Category:未知版权的档案|未知版权的档案]]和[[Category:來源不明檔案|来源不明档案]]会在提交5日后删除。}}']
    F4: ["版权来源缺失", subst:no_source/auto, '{{subst:huggle/db-notice|1=$1|2=[[MediaWiki talk:Uploadtext-default/zh|2006年5月11日起]],没有提供版权状况、来源等资讯的档案。}}', notify]
    F5: ["被取代", db-SVG, '{{subst:huggle/db-notice|1=$1|2=被高分辨率或[[SVG]]档案取代的图片。}}', notify]
    F6: ["未被使用非自由文件", db-unfree, '{{subst:huggle/db-notice|1=$1|2=没有被条目使用的[[Wikipedia:合理使用|非自由版权]]档案。}}']
    F7: ["被维基共享资源取代", nowcommons, '{{subst:huggle/db-notice|1=$1|2=与[[维基共享资源]]档案重复的档案。}}', notify]
    R2: ["跨命名空间重定向", db-internamespace, '{{subst:huggle/db-notice|1=$1|2=跨[[Help:命名空间|命名空间]]的[[Wikipedia:重定向|重定向]]。}}']
    R3: ["格式错误的重定向", Db-redirtypo, '{{subst:huggle/db-notice|1=$1|2=格式错误,或明显笔误的[[Wikipedia:重定向|重定向]]。}}', notify]
    R5: ["损坏的重定向", db-redirnone, '{{subst:huggle/db-notice|1=$1|2=指向本身或循环的[[Wikipedia:重定向|重定向]]。(如A→B→C→……→A或A→A)}}', notify]
    O1: ["用户请求", Db-userreq, '{{subst:huggle/db-notice|1=$1|2=用户请求删除自己的[[Help:用户页|用户页]]或其子页面。}}']
    O3: ["匿名用户讨论页", db-anontalk, '{{subst:huggle/db-notice|1=$1|2=已超过一个月未有编辑动作的匿名(IP)用户的用户[[Wikipedia:讨论页|讨论页]],且已完成存盘。}}']
    O4: ["空的类别", db-catempty, '{{subst:huggle/db-notice|1=$1|2=空的类别(没有条目也没有子类别)。}}']

##############################################################################
# Prediction
# This section contains clues that help Huggle predict quality of edit
##############################################################################

# ip addresses are more likely to be vandals
score-ip: 20
# flagged bots are likely not vandals, even if they add swear words
score-bot: -20000
# people with high amount of flags are trusted even if not whitelisted
score-flag: -200
# userpages are frequently used to test stuff
score-user: -250
# userpages edited by other user than owner are typically vandalism
score-foreign-user: 100
# talk pages are often false positives, let's put them low
score-talk: -200
# users with score lower than this are inserted to wl
score-wl: -2000
# ORES see meta.wikimedia.org/wiki/Objective_Revision_Evaluation_Service
# If this is set to true ORES will be enabled
ores-enabled: false
# This is used to indicate whether ORES is supported by a project, if yes, it should be set to true even if ORES is not enabled
ores-supported: false
# URL of ORES
ores-url: https://ores.wikimedia.org/scores/

# This constant is used to amplify the converted score. Native ORES scores have range from 0 to 1 (floating point)
# huggle is using different scoring mechanism and its scores are signed long integers. Tune this variable to
# change weight of ORES within Huggle scores.

# With value of 600, ORES's score "1" (100%) would result in Huggle score 600 and ORES's score "0" would result in -600, score "0.5" would result in 0.
ores-amplifier: 600

# The list below is called "score words" it contains words presence of increase the score of edit by value in brackets,
# you can define as many score words as you want, these words must be lowercase, otherwise ignored (they are compared with diff text which
# is lowercase so that it's case insensitive)

# score-parts are parts of a word, they can be even in a middle of a word, so be careful here or you create too many false positives
score-parts:
#  Score     List of words
    200: [haha, fuuuu, '!!!!!!', '??????', '--------------', Special:Contributions]
    # suck and fuck are not contained in any normal words at least not according English dictionary: http://www.morewords.com/contains/fuck/
    600: [faggot, hihi, hahaha, suck, fuck, fag, retard, shemale]

# score-words are separate words, they don't even actually need to be words, they can be short phrases as well, but must not contain
# comma (fuck off - is valid word)

# no-talk score words are ignored on talk pages (huggle 3.1.10+)
score-words-no-talk:
    800: [hey, heya, hi, hello]
    1000: [':)', ':-)', ':P', ':D', lol, rofl]

score-words:
    100: [cool, stupid, rape, raping, bla, sex, tits, porn, yeah, yea, yee, balls, weed, arse, stupid, homosexual, dicks, ugly, fart]
    200: [crackhead, bieber, porn, bold text, italic text, crap, p3n1s, omg, lmao, rofl, blabla, swag]
    800: [pr0n, p0rn, sh1t, bullshit, wank, peace be upon him]
    1000: [shit, gay, bitch, penis, piss, awesome, gays, faggots, suck, sucks, boobs, dick, pussy, cunt, poop, poo, lesbo, dyke, queer, whore, cockass]
    2000: [pen1s, b1tch, p1ss, fuck, asshole, retard, '=)', '(:', asshat, fucknugget, motherfucker, fucktard, arsehole, swag, ass, butt, '-.-', dipshit, dipstick, asswipe, cunt, twat, yolo, fuckoff, fuck you, wanker, sucks dick, boobs, masturbate, fucking, nigger, niga, nigga, wiener, weiner, derp, derpy, weiner, butthole, tit, bum]

# This is a list of all edit tags that affect the score somehow, available since Huggle 3.1.17
score-tags:
    bad external: 100
    Huggle: -2000
    Twinkle: -2000
    Possible vandalism: 800

##############################################################################
# Reverting and templates
# Configuration of reverting and various templates
##############################################################################
# Specify type of headings to use when sending a message to user
# standard will use text in "template-header"
# page will use page in question as header
# none will not use any headers
headings: page

# Use for "standard" headers. Uncomment if you want to change it # LOCALIZE ME #
template-header: "{{subst:#time:Y年n月}}"

# Define how old templates are considered valid in days, older templates are ignored
# By default templates older than 30 days are ignored
# template-age: -30

# List of tags supported by a wiki, please keep in mind that "tag" is a bit historical term, they are in fact templates # UPDATE ME #
tags: [subst:advert/auto, subst:autobiography/auto, subst:cleanup/auto, subst:coi/auto, subst:confusing/auto, subst:context/auto, subst:copyedit/auto, subst:disputed/auto, subst:essay-like/auto, subst:expand/auto, subst:expert/auto, subst:hoax/auto, subst:in-universe/auto, subst:internallinks/auto, subst:introrewrite/auto, subst:nofootnotes/auto, subst:non-free/auto, subst:notability/auto, subst:notchinese|INSERT LANGUAGE NAME/auto, subst:npov/auto, subst:original research/auto, subst:orphan/auto, subst:plot/auto, subst:primarysources/auto, subst:prose/auto, subst:refimprove/auto, subst:sections/auto, subst:tone/auto, subst:tooshort/auto, subst:totally-disputed/auto, subst:uncategorized/auto, subst:underconstruction/auto, subst:unencyclopedic/auto, subst:unreferenced/auto, subst:update/auto, subst:wikify/auto]

# Optional description of individual tags to show in Huggle's tag form # UPDATE ME #
tags-info:
    advert: info='Looks like advertisement' param=test
    autobiography: info='Looks like an auto-bio'
    cleanup: info="Needs cleanup <obsolete don't use>"
    coi: info='Conflict of interest'
    context: info='Page is missing context'

# User needs to confirm they want to revert user who is on whitelist
confirm-ignored: true
# User must confirm revert of multiple edits
confirm-multiple: false
# To be implemented (probably revert of page creator?)
confirm-page: true
# To be implemented (probably revert that leads to same version of text)
confirm-same: true
# User must confirm if they want to revert themselves
confirm-self-revert: true
# To be implemented (probably revert of user who is warned? makes no sense :))
confirm-warned: true

# Default summary for software rollback, eg. using manual revert instead of rollback functionality provided my MW # LOCALIZE ME #
manual-revert-summary: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑;更改回[[Special:Contributions/$2|$2]]的最后一个版本'
# Not currently in use - might be implemented in future
multiple-revert-summary-parts: "Reverted,edit by,edits by,and,other users,to last revision by,to an older version by"

# List of warning types, these will be present in dropdown menus in Huggle, allowing to clarify reasons for revert.
# Default configuration contains only 1 type of warning, with 3 examples that are commented
warning-types:
    00000_attack: '针对用户的人身攻击'
    00200_error: '加入真实性有误的内容'
    00500_npov: '不遵守中立的观点方针'
    00800_blank: '清空页面'
    00900_delete: '移除内容'
    01000_afd: '移除模板:存废讨论模板'
    01100_speedy: '移除模板:快速删除模板'
    01200_advert: '宣传:广告宣传'
    01300_spam: '宣传:加入不合适的外部链接'
    01600_test: '编辑测试'
    01800_bio: '无来源:违反生者传记方针'
    01900_unsor: '无来源:未能提供可靠来源'
    02000_nor: '无来源:原创研究'
    02100_warning: '破坏'
# Default warning template to use, it must be one of these defined in "warning-types".
default-template: warning

# Summaries associated with warning types, each warning type should have one # LOCALIZE ME #
revert-summaries:
    00000_attack: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:[[WP:NPA|人身攻击]]'
    00200_error: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:真实性有误'
    00500_npov: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:不遵守[[WP:POV|中立的观点]]方针'
    00800_blank: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:清空页面'
    00900_delete: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:移除内容时未提供充分理由'
    01000_afd: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:移除提删模板'
    01100_speedy: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:移除速删模板'
    01200_advert: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:广告宣传'
    01300_spam: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:加入不合适的[[WP:EL|外部链接]]'
    01600_test: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:编辑测试或胡言乱语'
    01800_bio: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:在[[WP:BLP|生者传记]]加入没有可靠来源佐证且可能引发争议的内容'
    01900_unsor: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:未能提供[[WP:RS|可靠来源]]'
    02000_nor: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:加入[[WP:NOR|原创研究]]'
    02100_warning: '取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑:明显非建设性编辑'
# Not currently in use as there is too many default summaries :) we need to figure out which are really not needed and get rid of them
# rollback-summary: "Reverted edits by [[Special:Contributions/$1|$1]] ([[User talk:$1|talk]]) to last revision by $2"

# This is actual default summary that is used for rollback in case reason is not specified # LOCALIZE ME #
default-summary: "取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑;更改回[[Special:Contributions/$2|$2]]的最后一个版本"
# To be implemented - rollback summary used in case that target revision is unknown
rollback-summary-unknown: "取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑"
# To be implemented - for revert of current revision only
single-revert-summary: "取消[[Special:Contributions/$1|$1]]([[User talk:$1|对话]])的编辑"
# Used for restoring of a revision of edit # LOCALIZE ME #
# restore-summary: "还原到由$2做出的修订版本$1: $3"
# Used when undoing own edit # LOCALIZE ME #
undo-summary: "自我回退"
# Edit summary for warning deliveries, $1 is name of page related to warning # LOCALIZE ME #
warn-summary: "层级1警告:关于[[$1]]"
warn-summary-2: "层级2警告:关于[[$1]]"
warn-summary-3: "层级3警告:关于[[$1]]"
warn-summary-4: "层级4警告:关于[[$1]]"

# Template clues for parser that Huggle is looking for, each warning level needs to have some of these so that
# it's possible to figure out which warning level the template resembles.
# It can be any part of the template, on English wikipedia templates have invisible comments in them which clarify
# the warning level. It can be however any part of the template, such as image, or piece of text.
# UPDATE ME #
warning-template-tags:
    - '1;<!-- Template:uw-vandalism1 -->'
    - '2;<!-- Template:uw-vandalism2 -->'
    - '3;<!-- Template:uw-vandalism3 -->'
    - '4;<!-- Template:uw-vandalism4 -->'

# Whether this project supports "instant warnings" these are templates that trigger level 4 instantly, used for obvious vandals
warning-im: true
# How many warning levels to use. Currently it's only supported to use 3 or 4, but plans are to make this completely dynamic.
warning-mode: 4

# Definitions of warning templates - these are messages that are delivered to user who is about to receive a warning.
# $1 = name of page, $2 = URL to diff

02100_warning1: '{{subst:huggle/warn-1|1=$1|2=$2}}'
02100_warning2: '{{subst:huggle/warn-2|1=$1|2=$2}}'
02100_warning3: '{{subst:huggle/warn-3|1=$1|2=$2}}'
02100_warning4: '{{subst:huggle/warn-4|1=$1|2=$2}}'
02100_warning4im: '{{subst:huggle/warn-4im|1=$1|2=$2}}'

00000_attack1: '{{subst:huggle/warn-attack-1|1=$1|2=$2}}'
00000_attack2: '{{subst:huggle/warn-attack-2|1=$1|2=$2}}'
00000_attack3: '{{subst:huggle/warn-attack-3|1=$1|2=$2}}'
00000_attack4: '{{subst:huggle/warn-attack-4|1=$1|2=$2}}'
00000_attack4im: '{{subst:huggle/warn-attack-4im|1=$1|2=$2}}'

01300_spam1:   '{{subst:huggle/warn-spam-1|1=$1|2=$2}}'
01300_spam2:   '{{subst:huggle/warn-spam-2|1=$1|2=$2}}'
01300_spam3:   '{{subst:huggle/warn-spam-3|1=$1|2=$2}}'
01300_spam4:   '{{subst:huggle/warn-spam-4|1=$1|2=$2}}'
01300_spam4im: '{{subst:huggle/warn-spam-4im|1=$1|2=$2}}'

01200_advert1: '{{subst:uw-advert1|1=$1}}'
01200_advert2: '{{subst:uw-advert2|1=$1}}'
01200_advert3: '{{subst:uw-advert3|1=$1}}'
01200_advert4: '{{subst:uw-advert4|1=$1}}'
01200_advert4im: '{{subst:uw-advert4im|1=$1}}'

00900_delete1:    '{{subst:huggle/warn-delete-1|1=$1|2=$2}}'
00900_delete2:    '{{subst:huggle/warn-delete-2|1=$1|2=$2}}'
00900_delete3:    '{{subst:huggle/warn-delete-3|1=$1|2=$2}}'
00900_delete4:    '{{subst:huggle/warn-delete-4|1=$1|2=$2}}'
00900_delete4im:  '{{subst:huggle/warn-delete-4im|1=$1|2=$2}}'

01600_test1:   '{{subst:huggle/warn-test-1|1=$1|2=$2}}'
01600_test2:   '{{subst:huggle/warn-test-2|1=$1|2=$2}}'
01600_test3:   '{{subst:huggle/warn-test-3|1=$1|2=$2}}'
01600_test4:   '{{subst:huggle/warn-test-4|1=$1|2=$2}}'
01600_test4im: '{{subst:huggle/warn-test-4im|1=$1|2=$2}}'

00500_npov1:    '{{subst:huggle/warn-npov-1|1=$1|2=$2}}'
00500_npov2:    '{{subst:huggle/warn-npov-2|1=$1|2=$2}}'
00500_npov3:    '{{subst:huggle/warn-npov-3|1=$1|2=$2}}'
00500_npov4:    '{{subst:huggle/warn-npov-4|1=$1|2=$2}}'
00500_npov4im:  '{{subst:huggle/warn-npov-4im|1=$1|2=$2}}'

00200_error1:   '{{subst:huggle/warn-error-1|1=$1|2=$2}}'
00200_error2:   '{{subst:huggle/warn-error-2|1=$1|2=$2}}'
00200_error3:   '{{subst:huggle/warn-error-3|1=$1|2=$2}}'
00200_error4:   '{{subst:huggle/warn-error-4|1=$1|2=$2}}'
00200_error4im: '{{subst:huggle/warn-error-4im|1=$1|2=$2}}'

01800_bio1:   '{{subst:huggle/warn-bio-1|1=$1|2=$2}}'
01800_bio2:   '{{subst:huggle/warn-bio-2|1=$1|2=$2}}'
01800_bio3:   '{{subst:huggle/warn-bio-3|1=$1|2=$2}}'
01800_bio4:   '{{subst:huggle/warn-bio-4|1=$1|2=$2}}'
01800_bio4im: '{{subst:huggle/warn-bio-4im|1=$1|2=$2}}'

00800_blank1:   '{{subst:huggle/warn-blank-1|1=$1|2=$2}}'
00800_blank2:   '{{subst:huggle/warn-blank-2|1=$1|2=$2}}'
00800_blank3:   '{{subst:huggle/warn-blank-3|1=$1|2=$2}}'
00800_blank4:   '{{subst:huggle/warn-blank-4|1=$1|2=$2}}'
00800_blank4im: '{{subst:huggle/warn-blank-4im|1=$1|2=$2}}'

01900_unsor1: '{{subst:huggle/warn-unsor-1|1=$1|2=$2}}'
01900_unsor2:    '{{subst:huggle/warn-unsor-2|1=$1|2=$2}}'
01900_unsor3:    '{{subst:huggle/warn-unsor-3|1=$1|2=$2}}'
01900_unsor4: '{{subst:huggle/warn-4|1=$1|2=$2}}'
01900_unsor4im: '{{subst:huggle/warn-4im|1=$1|2=$2}}'

02000_nor1: '{{subst:uw-nor1|1=$1}}'
02000_nor2: '{{subst:uw-nor2|1=$1}}'
02000_nor3: '{{subst:uw-nor3|1=$1}}'
02000_nor4: '{{subst:uw-nor4|1=$1}}'
02000_nor4im: '{{subst:uw-nor4im|1=$1}}'

01100_speedy1: '{{subst:huggle/warn-speedy-1|1=$1|2=$2}}'
01100_speedy2: '{{subst:huggle/warn-speedy-2|1=$1|2=$2}}'
01100_speedy3: '{{subst:huggle/warn-speedy-3|1=$1|2=$2}}'
01100_speedy4: '{{subst:huggle/warn-speedy-4|1=$1|2=$2}}'
01100_speedy4im: '{{subst:huggle/warn-speedy-4im|1=$1|2=$2}}'

01000_afd1: '{{subst:huggle/warn-afd-1|1=$1|2=$2}}'
01000_afd2: '{{subst:huggle/warn-afd-2|1=$1|2=$2}}'
01000_afd3: '{{subst:huggle/warn-afd-3|1=$1|2=$2}}'
01000_afd4: '{{subst:huggle/warn-afd-4|1=$1|2=$2}}'
01000_afd4im: '{{subst:huggle/warn-4im|1=$1|2=$2}}'

# Welcoming of users
# All welcome templates are expected not to contain four tildes, signatures are appended by Huggle

# List of templates for dropdown menu
# $1 will substitute to name of target user (since Huggle 3.3.3) # UPDATE ME #
welcome-messages:
    "欢迎用户": '{{subst:huggle/Welcome}}'
    "欢迎IP": '{{subst:huggle/Welcomeip}}'
    "欢迎且第一篇条目有问题": '{{subst:huggle/Firstarticle}}'
    "欢迎破坏者": '{{subst:huggle/Welcomevandal}}'

# Default welcome message for registered users # UPDATE ME #
welcome: '{{subst:huggle/Welcome}}'
# Welcome message sent to IP users # UPDATE ME #
welcome-anon: '{{subst:huggle/Welcomeip}}'
# Edit summary # LOCALIZE ME #
welcome-summary: '欢迎用户'

##############################################################################
# Administrator functions
##############################################################################

# Expiry options that will be displayed in block form
block-expiry-options: [15 minutes,3 hours,12 hours,24 hours,31 hours,48 hours,55 hours,72 hours,1 week,2 weeks,1 month,3 months,6 months,1 year,indefinite]
# Default expiry time
blocktime: indefinite
# Default expiry time for anonymous user
blocktime-anon: "24 hours"
# Default message to deliver to user who is getting a block # UPDATE ME #
block-message: '{{subst:uw-block1|time=$1|reason=$2}}'
# To be implemented. Default block message for user who is getting indefinite block
block-message-indef: '{{subst:uw-block3|reason=$1}}'
# Default reason for block # UPDATE ME #
block-reason: "[[Wikipedia:破坏|破坏]]"
# Edit summary used when editing user talk page # LOCALIZE ME #
block-summary: "通知:已封禁"

# Default reason for page protection # UPDATE ME #
protection-reason: '被IP用戶或新用戶破壞'

# Available reasons in dropdown box for page deletions
# UPDATE ME #
deletion-reasons:
    - 'Patent nonsense'
    - 'Test page'
    - 'Vandalism'

##############################################################################
# Classification
##############################################################################

# These are localized versions of months that will be used by Huggle when creating a timestamp or for message headers.
# LOCALIZE ME #
months:
  - 1月
  - 2月
  - 3月
  - 4月
  - 5月
  - 6月
  - 7月
  - 8月
  - 9月
  - 10月
  - 11月
  - 12月

# These are needed especially for wikis where months in signatures are not same as these in months list (see above) or their localized version
# every line is a YAML array for 1 month, for example:
# - ['January','Jan','J.','1.']
alternative-months:
  - [1.,1月]
  - [2.,2月]
  - [3.,3月]
  - [4.,4月]
  - [5.,5月]
  - [6.,6月]
  - [7.,7月]
  - [8.,8月]
  - [9.,9月]
  - [10.,10月]
  - [11.,11月]
  - [12.,12月]

# Edits with summaries that contain these strings will be considered friend applications by Huggle and ignored (in default filter)
# UPDATE ME #
assisted-summaries:
    - '[[Project:AutoWikiBrowser|AWB]]'
    - '使用[[:en:User:Dispenser/Checklinks|tool]]'
    - '(使用[[WP:HOTCAT|HotCat]])'
    - '使用[[:en:User:MichaelBillington/MWT|MWT]]'
    - '使用[[:en:Wikipedia:Tools/Navigation_popups|]]'
    - '[[:en:User:monobook.js/script.js|script]]-assisted'
    - '使用[[:en:User:S/tags|tags]]'
    - '使用[[:en:Wikipedia:STiki||STiki]]'
    - '([[:en:User:AmeIiorate/TINA|TINA]])'
    - '使用[[WP:TWINKLE|Twinkle]]'
    - '使用[[WP:TW|TW]]'
    - '使用[[WP:TWINKLE|TW]]'
    - '([[WP:TW|TW]])'
    - '([[Project:Huggle|HG]])'

# These are regular expressions used by Huggle to identify whether edit summary means that page was created, blanked, redirected or replaced
# UPDATE ME #
page-blanked-pattern: '(\[\[(Wikipedia|WP):(AES|Automatic edit summaries)|(←|Automatic summary)\]\])?(:|←)? ?清空全部.*'
page-created-pattern: '(\[\[(Wikipedia|WP):(AES|Automatic edit summaries)|(←|Automatic summary)\]\])?(:|←)? ?(建立内容为|建立內容為).*'
page-redirected-pattern: '(\[\[(Wikipedia|WP):(AES|Automatic edit summaries)|(←|Automatic summary)\]\])?(:|←)? ?重定向到.*'
page-replaced-pattern: '(\[\[(Wikipedia|WP):(AES|Automatic edit summaries)|(←|Automatic summary)\]\])?(:|←)? ?(页面内容被替换为|頁面內容被替換為).*'

# These are regular expressions used by Huggle to identify whether edit summary means that page was reverted
revert-patterns:
    - '.*(最后一个版本|最後一個版本).*'
    - '.*(所作出的修訂|所作出的修订).*'
    - '回退至.*'
    - 'js: revert .*'
    - '[rR]evert.*'
    - 'rv.*'
    - 'undid .*'
    - '[Uu]ndo .*'
    - '.* undid revision [\d]+ by .*'

# UPDATE ME #
shared-ip-templates:
    - aberwebcacheipaddress
    - ipedu
    - ipowner
    - isp
    - publicip
    - schoolip
    - school ip
    - shared ip
    - sharedip
    - sharedip us military
    - sharedipcert
    - sharedipedu
    - sharedippublic
    - sharedunknownedu
    - singnet
    - vandalip

# These are regular expressions used by Huggle to identify whether edit summary means that page was tagged
tag-summaries:
    - '^prod$'
    - '提删'
    - '页面存废讨论'
    - 'CSD'
    - '速删'
    - '请求快速删除'
    - '标记至条目'
    - '模板到'
    - '^db$'
    - 'db-'
    - 'db tag$'
    - '(marked for|tagged for|tagging for|requesting) speedy deletion'
    - 'speedy deletion request'
    - 'adding \{\{.+\}\} to article'
    - '^afd$'
    - '[\{:]afd'
    - 'afd[ \}]'
    - '^orfud$'
    - '^non-free reduce$'
    - 'orphaned fair use image tagging'
    - 'tagging orphaned page for deletion'
    - 'image has no (rationale|valid rationale|source|license|source or license)'
    - 'marking newly uploaded untagged file'
    - '^tag$'

##############################################################################
# Queue list
##############################################################################

queues:
    'Filtered edits':
        filter-ignored: exclude
        filter-notifications: exclude
        filter-own-userspace: exclude
        filter-reverts: exclude
        filter-tags: exclude
        filter-warnings: exclude

    'Filtered new pages':
        filter-ignored: exclude
        filter-new-pages: require

    'All edits':

    'All new pages':
        filter-new-pages: require

    'Assisted edits':
        filter-assisted: require
        filter-bot: exclude

    'My edits':
        filter-me: require

default-queue: 'default'

# Everything in this list will be ignored if it fully matches the string
# UPDATE ME #
ignore:
    - 'Project:Sandbox'

# Everything in this list will be ignored if it partially matches the name
# UPDATE ME #
ignore-patterns:
    - '/sandbox'
    - '/沙盒'
    - '/common.js'
    - '/common.css'

##############################################################################
# Other
##############################################################################

# Summary used when updating user config page # LOCALIZE ME #
config-summary: '更新设置'
# These items are visible in "Go" menu in Huggle, first one is name of page on wiki, second is name as seen in Huggle menu
go:
    "Wikipedia:当前的破坏": "当前的破坏"
    "Wikipedia:Huggle/Sandbox": "Huggle 沙盒"
    "Wikipedia:傀儡調查": "傀儡調查"
# Whether patrolling of changes is enabled on the project
patrolling-enabled: false
# This suffix is appended to every single edit message made by huggle
summary: '([[Project:Huggle|HG]])'
startup-message-location: "Wikipedia:Huggle/Message"
userlist: "Wikipedia:Huggle/Users"
userlist-update-summary: "添加 [[Special:Contributions/$1|$1]]"