User "Dantman" posted a comment on MediaWiki.r94465.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94465#c23179
Commit summary:

Add code to the sanitizer to convert presontational attributes that were 
removed in html5 into inline css. This allows wiki to keep using them in short 
loose WikiText but still output valid modern markup.
Note that there were some attributes excluded. Namely stuff on img and object, 
and the table cellspacing and cellpading which aren't easily converted into 
inline css.

Comment:

Sanitizer::fixDeprecatedAttributes is called by Sanitizer::fixTagAttributes 
which has been around for awhile. You really think we should change 
fixTagAttributes' method just to have callers pass in the value of a global 
config var?

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to