Is there any way to bypass the Logout confirmation screen? I would like to avoid having to confirm the logout every time.
Hello Ryan,
as per my test the $wgShowLogoutConfirmation = false;
config (currently unstable) from MediaWiki core is not (yet) supported by BlueSpice. In this case you can consider adding the following lines into your MediaWiki:Common.js
:
// Auto-submit logout form on Special:UserLogout page
$(document).ready(function() {
if ($('body').hasClass('page-Special_UserLogout')) {
setTimeout(function() {
var submitButton = $('#mw-content-text .mw-htmlform-submit-buttons button[type="submit"][value="Submit"]');
if (submitButton.length > 0) {
submitButton.click();
return;
}
}, 100);
}
});
Best wishes,
Hua