Steps to replicate the issue (include links if applicable):
- e.g. let the user session timeout on web/desktop and try to add something to the reading list with the reading list icon. There is a error notification message "An error has occurred: notloggedin"
What should have happened instead?:
This should be a human-readable message that is translated to the user's language.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
QA steps
- Log in
- Open two tabs
- In tab 1 log out
- In tab 2 click the bookmark icon
Expected: the error message should be localized.
Requirement
Scope: Desktop web (Vector 2022) and mobile web (Minerva).
- Reading List error notifications must display human-readable, localized messages.
- Raw backend error codes (e.g., “notloggedin”) must be mapped to translatable user-facing strings.
- Translations must follow MediaWiki i18n conventions and display correctly for the user’s interface language.
- Notification system must still function normally for all other error types.
BDD
Feature: Localized error messages in Reading List notifications
Scenario: Session timeout error
Given I have a logged-out session while viewing a page with the Reading List icon
When I click the bookmark icon to save the article
Then a localized, human-readable error message is shown
And no raw backend error code is displayedTest Steps
Test Case 1: Session timeout error message localization
- Log in and open two tabs of the same wiki page.
- In Tab 1, log out.
- In Tab 2, click the Reading List (bookmark) icon.
- AC1: A notification appears with a localized, human-readable error message.
- AC2: The raw error code “notloggedin” does not appear.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T401607#11244499 |
| 2 | ✅ | T401607#11244499 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T401607#11244501 |
| 2 | ✅ | T401607#11244501 |



