Warning!
You are about to edit the configuration page for HersfoldArbClerkBot, an automated account. This bot is dependent on this page to function correctly.
If you are not a current Arbitrator or Arbitration Committee Clerk, you should not be editing this page.
This page controls the limits used by the bot to determine if a user should be issued a notice on their talk page. Please note that the notices posted on the evidence page itself are color-coded by a template; this page does not control that template. You will have to edit that template separately at User:HersfoldArbClerkBot/Length header.
Basic configuration
Each line must not contain any spaces, nor should the variable names be changed in any way.
*WORD_LENGTH= integer
WORD_LENGTH is the limit set on the number of displayed words an evidence section may contain. When counting words, the bot does not include list formatting (*, #, or : characters at the beginning of lines), headers, HTML tags, templates, URLs, internal link targets (for example, italicized text would not be counted: [[Link target|displayed text]]; [[Link target]]), and timestamps formed by ~~~~ or ~~~~~. The bot will count other displayed text contained in signatures, and so may not be entirely accurate. This value may be set to -1 to entirely disable notices about sections exceeding this limit.
*DIFF_COUNT= integer
DIFF_COUNT is the limit set on the number of diff links an evidence section may contain. The bot considers any URL that contains the phrase "/w/index.php?" followed (eventually) by the phrase "diff" to be a diff link. This is considered to be accurate, even for diffs showing multiple revisions. This value may be set to -1 to entirely disable notices about sections exceeding this limit.
*LINK_COUNT= integer
LINK_COUNT is the limit set on the number of URLs that are not diffs an evidence section may contain. The bot determines this count by counting the number of times the phrase "http" appears, then subtracting the diff count. This is considered to be accurate. This value may be set to -1 to entirely disable notices about sections exceeding this limit.
*WORD_TOLERANCE= decimal greater than 1
*DIFF_TOLERANCE= decimal greater than 1
*LINK_TOLERANCE= decimal greater than 1
Each tolerance variable represents the amount of leeway the bot will allow a user before issuing a notice to their talk page about the evidence limits. These variables are percentages expressed in decimal form; for example, 1.10 indicates that the bot should wait until an evidence section is greater than 110% of the set limit before notifying a user (for example, with a word limit of 500, a section must be at least 500 * 1.10 = 550 words long in order to trigger a notice). This is intended to allow for Arbitrator and Clerk discretion when handling long evidence sections, and to account for counting errors that may arise with the bot (for example, signatures adding to the word count). This value should always be greater than or equal to 1.0.
Default configuration
The default values hard-coded into the bot are shown below. If this page becomes corrupted, the bot will revert to these values but will continue to run.
*WORD_LENGTH=500
*DIFF_COUNT=50
*LINK_COUNT=-1
*WORD_TOLERANCE=1.10
*DIFF_TOLERANCE=1.10
*LINK_TOLERANCE=1.00
END CONFIG
User and Case overrides
Custom limits can be set on a per-user, per-case, or per-user-and-case basis. This is done using the OVERRIDE variable, as seen below. Each custom override must be placed on a separate line, and must not contain any errors or it will be ignored.
*OVERRIDE=user name|case name|WORD_LENGTH|DIFF_COUNT|LINK_COUNT|WORD_TOLERANCE|DIFF_TOLERANCE|LINK_TOLERANCE
All arguments for the override must be listed in the correct order, and no arguments may be omitted. Errors or missing parameters may result in the override being ignored. Either username or case name may be set to all . When the username is set to "all", the given limits will apply to all users who provide evidence in the given case, unless a more specific override rule is provided. When the case is set to "all", the given limits will apply to all cases the given editor provides evidence in, unless a more specific override rule is provided.
|