Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎svenska • ‎日本語
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Release status: stable
MediaWiki 1.25 - 1.35.x
License GNU General Public License 2.0 or later
Download GitHub:
Translate the Wima skin if it is available at
Check usage and version matrix;

Wima is a fork from the MonoBook skin. This skin is to be considered as a replacement for MonoBook rather than a supplement. It offers four additional advertising blocks and further extras for the Sidebar .

This project is abandoned in favor of WimaAdvertising and DonateButton.


One ad block is located at the top of the "MediaWiki:Sitenotice ", a second one below the article text in front of the category bar and two more ad blocks in the Sidebar . By entering * AD1 and * AD2 in the MediaWiki:Sidebar , these can be placed individually. If Sitenotice is defined, the TopBanner will be displayed randomly alternating with the Sitenotice message.


  • Download and place the file(s) in a directory called Wima in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadSkin( 'Wima' );
  • Yes Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

Configuration options[edit]


Set up the type of the banner

  • wgTopBannerType, wgBottomBannerType, wgAdSidebarTopType, wgAdSidebarBottomType

Set up the banner itself

  • wgTopBannerCode, wgBottomBannerCode, wgAdSidebarTopCode, wgAdSidebarBottomCode

Set up the css style

  • wgTopBannerStyle, wgBottomBannerStyle
  • Set the type of the banner
    • Possible values: 'advertising', 'eventnote', 'hint'
    • Default value: 'advertising'
$wgTopBannerType = 'eventnote';
This will be translated into: de, en, es, fr, it, nl, pt, ru
  • Set a html snipet of the banner.
$wgTopBannerCode = '<a title="Uhren-Wiki" href=""><img src=" - Oben.jpg" width="728" height="92" alt="Werbung" /></a>';
$wgAdSidebarTopCode = '<a title="Schwarzbuch Wikipedia" href=""><img src="" alt="Schwarzbuch_Wikipedia.jpg" /></a> <p><b>Schwarzbuch Wikipedia</b></p><p class="small">Mobbing, Diffamierung und Falschinformation in der Online-Enzyklopädie, und was jetzt dagegen getan werden muss.</p><p>Im Februar 2020 im <i>Zeitgeist-Verlag</i> erschienen.</p>';
  • Set the CSS style specifications for the banner.
$wgTopBannerStyle = 'text-align:center;border:1px solid blue;';
$wgBottomBannerStyle = 'text-align:center;border:1px dotted red;';


  • Enable or disable the DonationButton.
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgDonationButton = true;
  • Set a link to a donation page.
$wgDonationButtonURL = '';

The link is automatically completed by the code of the language selected by the user or alternatively by the $wgLanguageCode variable.

  • Set a donation button.
$wgDonationButtonIMG = $wgServer . '/images/Donate_Button.gif';


  • Enable or disable the FacebookButton
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgFacebookButton = false;
  • Set a link to your facebook page.
$wgDonationButtonURL = '';
  • Set a facebook button image.
$wgFacebookButtonIMG = '';


See also: age classification

  • Enable or disable the AgeClassificationButton
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgAgeClassificationButton = false;
  • Set a link to your age classification page.
$wgAgeClassificationButtonURL = '';
  • Set a age classification button image.
$wgAgeClassificationButtonIMG = '';
  • Set the age classification metadata.
$wgAgeClassificationMetaName = 'age-de-meta-label';
$wgAgeClassificationMetaContent = 'age=0 hash: yourdigitalcode v=1.0 kind=sl protocol=all';