Extension:Google AdSense

Deskripsi
Memungkinkan penambahan mudah iklan AdSense Google ke turunan MediaWiki. Lihat screenshot dan  '  Instalasi 'untuk rincian. Perpanjangan ini memerlukan account dengan AdSense Google. http://gr19210.blogspot.com Embedded file	Reference	Page text. Page text.[1]

Installation
Example settings
 * Download the extension
 * Add the following lines to your LocalSettings.php (replace the text where directed), putting any  globals after the   statement:


 * 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
'''Note: This is not official code and it was tested on 13.x mediawiki only. Use it at your own risk!'''

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.