Manual:$wgEnforceHtmlIds/en

Details
Allow id's that don't conform to HTML4 backward compatibility requirements.

This is currently for testing. If all goes well, this option will be removed and the functionality will be enabled universally.

This was renamed to in r61691 (1.16) and converted to use laxer  syntax.