ValidateTagInput checks all tag adds and removals on a post edit. For tag adds it validates that no new tags are being created via mistaggings or mispellings. For tag removes it checks the implication hierarchy to validate that no existing tags will readd that tag once it is removed.
Installation
- Chrome/Firefox: Install Tampermonkey
Project page
Main script
https://raw.githubusercontent.com/BrokenEagle/JavaScripts/stable/validatetaginput.user.js
Usage notes
There are two buttons: Submit and Check. Both will perform tag validation, but only submit will go on to submit the tags.
If one of the validations fail, it presents an error notice. For tag adds, it lists all of the new tags that will be created. For tag removes, it lists all of the hierarchy relationships that will cause a tag removal to be readded.
Additionally, it will display a Skip Validation checkbox below the Submit button. Selecting this will cause the userscript to ignore any validation failures and submit the tag changes as is.
One way to cause the tag validator to ignore a particular tag, especially if it is intentional, is to preface it with the metatag for its character type (example: general:this_is_a_new_tag
).
Final
Any suggestions or feedback is appreciated.
Latest edits
- (2019-12-26)
- Version 28 Updated library version
Versions
Updated