It makes the buttons (here the standard Login-button and the Extension:OpenIDConnect-Login-button) to display all texts on the buttons, even if the texts are longer:
In LocalSettings.php add:
# https://www.mediawiki.org/w/index.php?title=Topic:Xx8ol75kyh1qejp8 # How to modify the Login-Page $GLOBALS['wgHooks']['BeforePageDisplay'][] = function( OutputPage &$out, Skin &$skin ) { $style = <<<EOT <style type="text/css"> button#wpLoginAttempt { white-space: normal; word-wrap: break-word; height: auto !important; } button#mw-input-pluggableauthlogin0 { background-color: salmon !important; border-color: salmon !important; white-space: normal; word-wrap: break-word; height: auto !important; } </style> EOT; $out->addHeadItem( 'change-login-button', $style ); return true; };
Was discussed here: https://www.mediawiki.org/wiki/Topic:Xx8ol75kyh1qejp8