Manual:$wgMimeType

Details
The type to send in the   header of pages.

Set to "application/xhtml+xml" if you want pages to be treated as XHTML.

Also "application/xhtml+xml" is necessary to display MathML properly in Mozilla.