Hi. I have a SAML-based SSO that times out every 15 mins.
MediaWiki 1.31.1 (a4c8065) VisualEditor 0.1.0 (3db9a0a)12:41, 3 June 2019
The following is a summary of the way edits are saved with respect to the SAML expiration.
- FORM EDIT - No Problem - User attempts to save edits to a page using Form Edit after SAML has timed-out --> SAML just renews and the pending edits are saved. Nothing lost.
- SOURCE EDIT - No Problem - User attempts to save edits to a page using Source Edit after SAML has timed-out --> SAML just renews and the pending edits are saved. Nothing lost.
- VE - PROBLEM - User attempts to save edits to a page using VE after SAML has timed-out --> VE crashes with error as shown in thumbnail. USER HAS NO CLEAR OPTIONS
To the savvy user the solution is simple - just renew the session using a new tab and come back to the edit screen, click "Resume editing", and then SAVE again (with the session renewed), but the non-savvy user (rightly) does not know what to do.
How to fix this scenario so the normal user has a clear intuitive option to renew session and save their edits?
Can I alter the Mediawiki message "ooui-dialog-process-error" to maybe provide a link to a page on my server that will renew the session?