// do not remove that first blank line. it is required for technical reasons, see https://xkcd.com/763/ :D
//
![]() | Currently has configurations for testing (see BRFA) |
//
{
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
// This JSON file contains VERY advanced regex magic. If you break MajavahBot, you are responsible for fixing it.
// Some characters have to be double escaped due to JSON systax things. Always use a JSON validator and parser to check your changes.
// Comments with two slashes are supported. The bot will automatically read the changes, so please do not experiment here.
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
// Note: It might take up to 15 minutes for changes to apply.
// page to search for. changing this might break things.
"reports_page": "Wikipedia:Edit filter/False positives/Reports",
// page to write reports, for testing only. set to empty string when running in production
"page_to_write_reports": "User:MajavahBot/EFFP Helper Test/Report page",
// string seperating the reports
"section_header": "==([^=]+)==[^\n=]*\n",
// this will be used to construct the abuse log links
"abuse_log_format": "//en.wikipedia.org/wiki/Special:AbuseLog?title=Special:AbuseLog&wpSearchTitle=%s",
// regex used to parse page title from the article
"page_title_regex": ";Page you were editing\n: ([^\n]*)\n",
// regexes to find "wrong formats", such as pasting the article link directly. these will be automatically fixed
"page_title_wrong_formats": [
"\\[\\[https:\\/\\/en.wikipedia.org\\/wiki\\/([^\\]]+)]] \\(<span class=\"plainlinks\">[^<]+<\\/span>\\)"
],
// if these strings are found in a section, that section is considered closed
"section_closed_strings": [
"{{effp|f|", "{{effp|f}}", "{{effp|fixed",
"{{effp|d|", "{{effp|d}}", "{{effp|done",
"{{effp|t|", "{{effp|t}}", "{{effp|talk",
"{{effp|a|", "{{effp|a}}", "{{effp|alreadydone",
"{{effp|nd}}", "{{effp|notdone}}",
"{{effp|v}}", "{{effp|denied}}",
"{{effp|b|", "{{effp|b}}", "{{effp|blocked",
"{{effp|ar}}", "{{effp|archive}}"
],
"rolling_archive_page_name": "User:MajavahBot/EFFP Helper Test/Rolling archive page",
"rolling_archive_max_sections": 5,
// when string is found, the section will be archieved in the seconds specified from last activity in the report
"archive_delays": {
// archive now: 1h
"{{effp|ar": 3600,
// vandalism: 1h
"{{effp|v}}": 3600,
"{{effp|denied}}": 3600,
// blocked: 1h
"{{effp|b}}": 3600,
"{{effp|b|": 3600,
"{{effp|blocked": 3600,
// done: 2h
"{{effp|d}}": 7200,
"{{effp|d|": 7200,
"{{effp|done": 7200,
// not done: 2h
"{{effp|nd}}": 7200,
"{{effp|notdone}}": 7200,
// request on talk page: 2h
"{{effp|t|": 7200,
"{{effp|t}}": 7200,
"{{effp|talk": 7200,
// already done: 2h
"{{effp|a|": 7200,
"{{effp|a}}": 7200,
"{{effp|alreadydone": 7200
},
// if any of these are found on a report, that report will not be archived.
"archive_blockers": [
"{{effp|noarchive"
],
// archive all threads with no matches from archive_delays in 2 days
"no_resolution_archive_time": 172800
}
//