I also wanted to add Google Adsense to MediaWiki without editing the source PHP files. I found the an extension called WikiBanner which allowed code to be added to a top and bottom banner.
How to add Google Adsense to MediaWiki
About the Author: Matt
Matt is the owner of ML2 Solutions.