Extension:Google Adsense

Description
This lets Users put Google Adsense on top of their wiki. See Example.

Adsense.php
Make a file called Adsense.php in the same folder where LocalSetting.php is. Add this code below to file:

 

Monobook.php
Go to monobook.php and add this code:



Under:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Monobook/Main.css
Go to the monobook folder and find main.css and alter some of the codes like this:

*/

width: 100%; float: right; margin: 0 0 .6em -12.2em; padding: 0; }	margin: 2.8em 0 0 12.2em; padding: 0 1em 1em 1em; position: relative; z-index: 2; }	padding-top: 160px; }
 * 1) column-content {
 * 1) content {
 * 1) column-one {

Change it to:

*/

width: 100%; float: right; margin: 0 0 .6em -12.2em; padding: 0; }	margin: 1.8em 0 0 12.2em; padding: 0 1em 1em 1em; position: relative; z-index: 2; }	padding-top: 40px; }
 * 1) column-content {
 * 1) content {
 * 1) column-one {

Then find p-cactions (half way in the middle)

position: absolute; top: 1.3em; left: 11.5em; margin: 0; white-space: nowrap; width: 76%; line-height: 1.1em; overflow: visible; background: none; border-collapse: collapse; padding-left: 1em; list-style: none; font-size: 95%; }
 * 1) p-cactions {

Change it to:

position: absolute; top: 9.7em; left: 11.5em; margin: 0; white-space: nowrap; width: 76%; line-height: 1.1em; overflow: visible; background: none; border-collapse: collapse; padding-left: 1em; list-style: none; font-size: 95%; }
 * 1) p-cactions {