Add common headers and footers to MediaWiki pages