Jump to content

Topic on Project:Support desk

@Osnard This is the finally working version, fixed.

I makes the button (here: for Extension:OpenIDConnect) to display all texts on the button, even if the text is longer:

  1. https://www.mediawiki.org/w/index.php?title=Topic:Xx8ol75kyh1qejp8
  2. How to modify the Login-Page

$GLOBALS['wgHooks']['BeforePageDisplay'][] = function( OutputPage &$out, Skin &$skin ) {

       $style = <<<EOT
               <style type="text/css">
                       button#mw-input-pluggableauthlogin0 {
                       background-color: salmon !important;
                       border-color: salmon !important;
                       overflow-wrap: break-word !important;
                       white-space: normal;
                       word-wrap: break-word;
                       height: auto !important;
               </style>

EOT; $out->addHeadItem( 'change-login-button', $style );