This user is a bot | |
---|---|
(talk · contribs) | |
Operator | A930913 |
Author | A930913 |
Approved? | Yes, BRFA |
Flagged? | Yes |
Task(s) | Inform editors that they may have broken the matching brackets on a page |
Edit rate | ~10/hour |
Edit period(s) | Continually |
Automatic or manual? | Automatic |
Programming language(s) | Python |
Exclusion compliant? | Yes |
Source code published? | If someone wants it, bug me to release it. |
Emergency shutoff-compliant? | Yes |
Other information | BracketBot is run from the Wikimedia Laboratories. |
What the Bot Does
BracketBot checks all edits to see if all open brackets ({[< have matching close brackets >]}), and informs the editor that their edit may have broken some markup if there is a mismatch. In order to reduce false positives, it will not message the editor if one of these conditions is met:
- It is not in the main namespace.
- It is fixed within ten minutes.
- There are no unmatched brackets for the whole article.
- It finds the unorthodox numbering system of 1), 2), … or a), b), …
- The edit summary contains "rv", "revert" or "!nobot!".
- The edit hash matches a hash in the previous 50 edits (the edit was a revert).
- The user has opted out of BracketBot messages.
If it has to create a talk page for the user, it will {{welcome}} them.
Opting out
Single person
Opt out – the bot will ignore your edits.
- Add [[Category:Wikipedians who opt out of BracketBot messages]] to your talk page or your user page.
- OR Add {{NoBracketBot}} to your user page or your user talk page.
Opt in – the bot will resume watching your edits.
- Remove [[Category:Wikipedians who opt out of BracketBot messages]] from your user page.
- OR Remove {{NoBracketBot}} from your user page or your user talk page.
Show opt out list – view a list of user pages of users whom the bot will ignore.
- List those who opted out by category.
- List those who opted out by template.
Single edit
To explicitly disable notification on a single specific edit, place "!nobot!" anywhere in the edit summary.
Entire pages
Add {{NoBracketBot}} <!-- This page contains deliberate unpaired brackets. BracketBot should ignore. --> to the page.
Daily Instead of Monthly Headers
Opt in - the bot will notify you under a daily header.
- Add {{DailyBracketBot}} to your user page or your talk page.
Opt out - the bot will notify you under a monthly header.
- Remove {{DailyBracketBot}} from your user page or your talk page.
Show opt out list – view a list of user pages of users whom the bot will notify under a daily header.
- List those who opted in.
Template
The current template used is {{User:BracketBot/inform}}.
Live Feed
Currently, the live feed can be viewed at ##930913-ub connect. If it is not running, ping a930913.