{"id":166,"date":"2019-09-23T05:52:46","date_gmt":"2019-09-23T03:52:46","guid":{"rendered":"https:\/\/blog.wikimannia.org\/?page_id=166"},"modified":"2020-12-12T19:41:48","modified_gmt":"2020-12-12T17:41:48","slug":"skin-wima","status":"publish","type":"page","link":"https:\/\/blog.wikimannia.org\/en\/subjects\/internet\/skin-wima\/","title":{"rendered":"Skin Wima"},"content":{"rendered":"<p>WikiMANNia&#8217;s Skin <i>Wima<\/i> is closely based on the Skin <i>MonoBook<\/i>, which comes with MediaWiki software.<\/p>\n<p>The skin offers four advertising spaces, which are filled via <a href=\"https:\/\/www.mediawiki.org\/wiki\/Manual:LocalSettings.php\">LocalSettings.php<\/a>.<\/p>\n<p>The advertising space 1 alternates randomly with <a href=\"https:\/\/www.mediawiki.org\/wiki\/Special:MyLanguage\/Manual:Interface\/Sitenotice\" target=\"extern\">Sitenotice<\/a>. Advertising space 2 is located at the bottom of the article content. The advertising spaces 3 and 4 are located in the Sidebar. The exact positioning is determined with the entries &#8220;*AD1&#8221; and &#8220;*AD2&#8221; in the &#8220;MediaWiki:Sidebar&#8221;.<\/p>\n<p>Two advertising spaces can also be used as event information. These variables have to be set:<\/p>\n<ul>\n<li><code>$wgTopBannerType = 'eventnote';<\/code><\/li>\n<li><code>$wgAdSidebarTopType = 'eventnote';<\/code><\/li>\n<\/ul>\n<p>The default value is &#8216;advertising&#8217;. These variables can therefore be omitted for advertising insertions.<\/p>\n<p>HTML code must be assigned to these variables:<\/p>\n<ul>\n<li><code>$wgTopBannerCode = '';<\/code><\/li>\n<li><code>$wgBottomBannerCode = '';<\/code><\/li>\n<li><code>$wgAdSidebarTopCode = '';<\/code><\/li>\n<li><code>$wgAdSidebarBottomCode = '';<\/code><\/li>\n<\/ul>\n<p>If a variable is not set or contains its string of zero length, the corresponding ad space remains unoccupied.<\/p>\n<p>These variables must be assigned CSS style specifications, for example:<\/p>\n<ul>\n<li><code>$wgTopBannerStyle = 'text-align:center;border:1px solid blue;'<\/code><\/li>\n<li><code>$wgBottomBannerStyle = 'text-align:center;border:1px dotted red;'<\/code><\/li>\n<\/ul>\n<p>The advertising space 1 alternates randomly with Sitenotice. Advertising space 2 is located at the bottom of the article content. The advertising spaces 3 and 4 are located in the sitenotice. The exact positioning is determined with the entries &#8220;*AD1&#8221; and &#8220;*AD2&#8221; in the &#8220;MediaWiki:Sidebar&#8221;.<\/p>\n<p>The skin is localized for the languages &#8220;de&#8221;, &#8220;en&#8221;, &#8220;es&#8221;, &#8220;fr&#8221;, &#8220;it&#8221;, &#8220;nl&#8221;, &#8220;pt&#8221; and &#8220;ru&#8221;.<\/p>\n<p>A detailed description can be found on MediaWiki under <a href=\"https:\/\/www.mediawiki.org\/wiki\/Skin:Wima\" target=\"extern\">Skin Wima<\/a>.<\/p>\n<p>Download here:<\/p>\n<ul>\n<li><a href=\"\/?p=170\">Wima-REL1_19<\/a><\/li>\n<li><a href=\"\/?p=168\">Wima-REL1_23<\/a><\/li>\n<li><a href=\"\/\/github.com\/WikiMANNia\/MediaWiki-Skins-with-Advertisements\/releases\/tag\/1.25.0-w\" target=\"extern\">Wima-REL1_25<\/a><\/li>\n<li><a href=\"\/\/github.com\/WikiMANNia\/MediaWiki-Skins-with-Advertisements\/releases\/tag\/1.27.0-w\" target=\"extern\">Wima-REL1_27<\/a><\/li>\n<li><a href=\"\/\/github.com\/WikiMANNia\/MediaWiki-Skins-with-Advertisements\/releases\/tag\/1.31.0-w\" target=\"extern\">Wima-REL1_31<\/a><\/li>\n<li><a href=\"\/\/github.com\/WikiMANNia\/MediaWiki-Skins-with-Advertisements\/releases\/tag\/1.33.0-w\" target=\"extern\">Wima-REL1_33<\/a><\/li>\n<li><a href=\"\/\/github.com\/WikiMANNia\/MediaWiki-Skins-with-Advertisements\/releases\/tag\/1.35.0-w\" target=\"extern\">Wima-REL1_35<\/a><\/li>\n<\/ul>\n<p>PS:<\/p>\n<p>The donation button can be hidden by <i>$wgDonationButton<\/i> and the link to the donation page can be set explicitly by <i>$wgDonationButtonURL<\/i>:<\/p>\n<ul>\n<li><code>$wgDonationButton = false;<\/code><\/li>\n<li><code>$wgDonationButtonURL = 'yourdomain.org\/spendenseite.php?lang=';<\/code><\/li>\n<\/ul>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>WikiMANNia&#8217;s Skin Wima is closely based on the Skin MonoBook, which comes with MediaWiki software. The skin offers four advertising spaces, which are filled via LocalSettings.php. The advertising space 1 alternates randomly with Sitenotice. Advertising space 2 is located at &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/blog.wikimannia.org\/en\/subjects\/internet\/skin-wima\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":120,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-166","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/pages\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":0,"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/pages\/166\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/pages\/120"}],"wp:attachment":[{"href":"https:\/\/blog.wikimannia.org\/en\/wp-json\/wp\/v2\/media?parent=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}