Thread:User talk:Siebrand/How to make GoogleAdsense 2 display ads on content pages only/reply (4)

I was able to use the following in GoogleAdSense.class.php to replace $wgTitle:

// Keeps blank pages from showing AdSense if ( $skin->getTitle->getNamespace != 0) { return $bar; }

I hope that helps.