What is the problem?
When turning on or off the auto-reveal via the dialog, if the API request to set the global preferences returns an error we only display the error code in the UI, such as notloggedin or readonly. A user might not know what these mean.
Steps to reproduce problem
- You need a test environment with CheckUser and a test user in the checkuser group
- Login as the user in the checkuser group
- Do something that will prevent you from setting your global preferences, for example
- Keep the current tab open and in another tab logout
- In your LocalSettings.php set $wgReadOnly = true;
- Open the tools menu and click IP Auto-reveal
- Fill the form in as necessary and submit
Expected behaviour: An informative error message telling you what is wrong
Observed behaviour: Just a one word error message
Environment
Wiki(s): local docker CheckUser 2.5 (11198de) 15:53, 27 October 2025.
