Last modified: 2013-10-06 16:25:25 UTC
Like it is done for deprecated attributes (function fixDeprecatedAttributes in Sanitizer.php), deprecated HTML tags should be replaced by CSS, too. These tags are (see URL): * big * center * font * strike * tt For big, strike and tt this should be easy. font requires the obsolete attributes to be converted to CSS. I'm not sure, whether it is actually possible to replace center, <center><table><tr><td>a</td></tr></table></center> centers the table (tested in Firefox), but something like <div style="text-align:center; margin-left:auto; margin-right:auto;"><table><tr><td>a</td></tr></table></div> doesn't. The changed tags should be given an extra CSS class in order to be able to address them using CSS.
To center a table: style="margin: 1em auto 1em auto;"
Marking this as invalid since $wgCleanupPresentationalAttributes was removed on Change-Id: I4e86305520a3b22ef88381caab55d24abac932e3 (per bug 40632).