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.

top banner ad bottom banner ad