Extension:Google AdSense

Description
Enables easy addition of Google AdSense advertisements to a MediaWiki instance. See screenshot and Installation for details. This extension requires an account with Google's AdSense.

Installation
Example settings
 * Download the extension
 * Add the following lines to your LocalSettings.php (replace the text where directed)


 * Add any of the optional settings below, if your settings deviate from the defaults


 * Add the following CSS code to MediaWiki:Common.css (also in file GoogleAdSense.css)


 * The description (label) of the portlet can be changed in [[MediaWiki:Googleadsense ]] . Defaults to "Google AdSense".

How to install on Mediawiki prior to 1.14
Open ./include/Skin.php file and find buildSidebar function at the end.

Insert next code // Port from 1.15 wfRunHooks('SkinBuildSidebar', array($this, &$bar));

prior to if ( $wgEnableSidebarCache ) $parserMemc->set( $key, $bar, $wgSidebarCacheExpiry );

And ads should work.