Manual talk:Interface/Sidebar/Hacks

Hi, I have a new version of Mediawiki (1.25) and checked Monobook.php and Vector.php but couldn't find end of the left (by default at least) column  to add a banner to the sidebar (PHP) :(
 * I'll update the page for MediaWiki 1.27. --87.123.63.88 14:01, 22 August 2016 (UTC)

Unfortunately that wont work - change this:

$bar = array(     // Returns the message text of that sidebar with only {{-transformation done.      // Setting array keys "text" and "id"; array keys "href" and "active" stay unset.      'anon' => array( 'text' => wfMessage( 'anon_sidebar' )->inContentLanguage->text, 'id' => 'anon-info', )   );

to this:

$bar = array(     // Returns the message text of that sidebar with only {{-transformation done.      // Setting array keys "text" and "id"; array keys "href" and "active" stay unset.        'text' => wfMessage( 'anon_sidebar' )->inContentLanguage->text,       );