Page MenuHomePhabricator

Find unbalanced HTML in current signature of users and inform the user and/or reset the signature
Closed, DuplicatePublic

Description

It seems that quite some few users have signatures that do not have properly balanced HTML, which might break pages when they will sign pages after everything is switched to remex. This might be unnecessarily disruptive.

We could find all non-default signature preferences, and parse them with the linter? and find the users that might be with a broken signature very soon. Then we can choose to leave bot messages, or display an in browser message or simply reset the signature.

Implementation ideas:
1: db query + bot
2: or php check in session check + special page asking the user to reset or fix preference
3: default JS gadget that checks the preference in session and presents user with option to reset or fix in his preferences.
4: Have remex lint check before saving signature in preferences

Might significantly ease transition.

Event Timeline

Vvjjkkii renamed this task from Find unbalanced HTML in current signature of users and inform the user and/or reset the signature to lbeaaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
AfroThundr3007730 renamed this task from lbeaaaaaaa to Find unbalanced HTML in current signature of users and inform the user and/or reset the signature.Jul 1 2018, 5:14 AM
AfroThundr3007730 lowered the priority of this task from High to Medium.
AfroThundr3007730 updated the task description. (Show Details)
AfroThundr3007730 added a subscriber: Aklapper.