Adding Google code to MediaWiki MobileFrontend skin

The following is a super-hacky method of adding Google Adsense banner ads above and below your content as well as add Google Analytics code when a user is on mobile and uses the MobileFrontend skin of your MediaWiki site. An example can be seen at WabbitWiki.

Wabbitwiki top banner ad Wabbitwiki bottom banner ad

(more…)