Description | Adds a button to AbuseFilter pages to test the modified pattern |
---|---|
Author(s) | Suffusion of Yellow |
Status | Beta |
First released | March 21, 2021 |
Updated | March 21, 2021 |
Browsers | Tested with Firefox and Chromium |
Skins | Tested with MonoBook and Vector |
Source | User:Suffusion of Yellow/filterTest.js |
filterTest adds a button to Special:AbuseFilter pages that opens Special:AbuseFilter/test with the modified pattern. This lets you test your changes without copying and pasting.
The built-in "Test this filter against recent edits" link opens the test interface with the version that's currently saved in the database, which is probably not what you want.
Installation
editAdd the following line to your common.js:
mw.loader.load( '/w/index.php?title=User:Suffusion_of_Yellow/filterTest.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Suffusion of Yellow/filterTest.js]]