Extension:WimaAdvertising

The WimaAdvertising extension offers four additional blocks to the, , , and  skin. The banners are placed in the top and bottom of the wiki and two of them in the.

Configuration options
Enable advertising. Default is false.

Disable advertising for logged-in users. Default is false.

wgBannerType

 * Set the type of the banner
 * Possible values: 'advertising', 'eventnote', 'hint'
 * Default value: 'advertising'

wgBannerCode

 * Set a html of the banner.

You can also do Google AdSense:

wgBannerStyle

 * Set the CSS style specifications for the banner.

Google Adsense
Enable advertising. Default is false.

Disable advertising for logged-in users. Default is false.

Mandatory parameters
(You can get your publisher ID and ad unit ID from the "Get code" page: Get and copy the ad code.)

Ad units
Define up to four ad units:

Replace the first value with your AdSense ad unit ID (google_ad_slot / data-ad-slot) for each ad unit. The Slot ID for your AdSense script is for example 1234580893.

Also specify the width and the height of the AdSense unit, specified in your AdSense account (google_ad_width / data-ad-width, google_ad_height / data-ad-height).

Optional parameters
Add any of the optional settings below – if your settings deviate from the defaults:

Skin Vector
Skin Vector in revision 1.35 needs a hack to make the extension work for the ads in the sidebar.

Change line 450: into:

Skin MonoBook
For the Skin MonoBook, the ad at the bottom might look better if the hook is moved to the end of the content area.

Change lines 85-91: into: