Once you have the AdSense code you can add it to Mediawiki following these steps:
1) Open skins/Monobook.php and get acquainted with the syntax for the different sections. This is the place to add your AdSense code.
For example, to add the google adsense code at the bottom of the pages, add the code right after:
// Generate additional footer links
?>
After you make the modifications you need to open and resave your LocalSettings.php file. This will clear MediaWiki's parsercache and your changes will show correctly.
You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!