A user can enter a custom "raw" signature in their preferences.
The linter should run on this field and at least indicate that the signature is not good enough.
Following that, the system might either prevent the user from saving his preferences, or ignore the custom signature in favor of the default system signature until such time as the raw signature passes the linter check.
Might possibly use the work in {T163091}.
---
=== Dependencies
The patches to meet the "Requirements" described below should NOT be merged until the following tickets are resolved:
- {T254613}
- {T254614}
=== Requirements
- When someone attempts to save a signature that does not meet the conditions below, present a message that explains to people: 1) that their signature cannot be saved as it is currently written, 2) why their signature cannot be saved as it is currently written and 3) what changes they need to make to the signature they have written in order to save it.
-- Conditions:
--- The signature contains any lint errors
--- The signature contains misnested tags (both kinds) or stripped tags
- Note: this change should not affect current signatures that would become invalid as a result of this change, as noted in T140606#5829318
=== Done
- [ ] Patches are written that meet the "Requirements" described above