diff options
author | Dreamy Jazz <wpgbrown@wikimedia.org> | 2024-09-11 16:12:52 +0100 |
---|---|---|
committer | Dreamy Jazz <wpgbrown@wikimedia.org> | 2024-09-12 11:06:46 +0100 |
commit | ab89fff633843b4493de6a58e014a461e02b73f9 (patch) | |
tree | 7b1b7c326fa9e024bf2d6741e764f7b444a1ade3 /resources/src/mediawiki.api/parse.js | |
parent | 7fa2b33fb48fe16c726268dadbfbf2851270d825 (diff) | |
download | mediawikicore-ab89fff633843b4493de6a58e014a461e02b73f9.tar.gz mediawikicore-ab89fff633843b4493de6a58e014a461e02b73f9.zip |
Customise Special:UserLogout success message for temporary account
Why:
* When a temporary account exits their session, the
Special:UserLogout page is loaded to indicate the success.
* However, the success page talks about the temporary account
logging out which may cause confusion.
* Per design mocks shared on T374519, this should be modified
to indicate that the user logged out of a temporary account.
What:
* Set 'templogout' as the page title when the user is logging out
of a temporary account.
* Set 'logouttext-for-temporary-account' as the message shown
for a logout success when the user is logging out from a
temporary account
* Update mediawiki.page.ready/ready.js to add a flag to the
URL Special:UserLogout URL that is redirected to once the
logout API call has occured.
* Update tests for SpecialUserLogoutTest
Bug: T374519
Change-Id: Ib62cdb5ba716976321cd556aa9defe97b3446b33
Diffstat (limited to 'resources/src/mediawiki.api/parse.js')
0 files changed, 0 insertions, 0 deletions