Background
Users need a visual indicator of whether IP auto-reveal mode is on. For the minimal first release, we will change the wording of this sidebar link, to indicate when the mode is on.
User story
As a patroller using IP auto-reveal to view IP addresses of temporary accounts automatically, I want to know whether I have auto-reveal switched on or off.
Specification
In the sidebar tools menu, display the state of IP auto-reveal mode in parentheses, e.g.:
Note that we also have designs to do this via a bottom-dock menu, which may replace this in the future: T386496: IP auto-reveal: Allow managing auto-reveal mode from the bottom dock menu.
Technical notes
SidebarLinksHandler::addIPAutoReveal will need to check if IP auto-reveal is on.
REST API handlers currently do this via TemporaryAccountAutoRevealTrait. This trait could be replaced by (or updated to call) a service, for re-use by the hook handler.
Acceptance criteria
- The text of the sidebar tool link indicates whether IP auto-reveal mode is on or off


