Translations:Manual:$wgWellFormedXml/10/en

Setting it to true will not guarantee that all pages will be well-formed, although non-well-formed pages should be rare and you should report them as a bug if you find one.