Thanks for the Google AdSense 2 extension, it works great! However, I have a question you may have an answer to:
I would like ads to be shown only on pages in the NS_MAIN namespace. Can this be done in GoogleAdSense.php or in LocalSettings.php? If so, how?
According to Google's current AdSense Terms and Conditions ads should not display on non-content pages, which does not necessarily include various system or even search pages etc. If they are, the publisher may risk having their account terminated.... I guess this was something that Google introduced after you originally wrote the extension.
Thanks in advance for any advise!