Last modified: 2011-09-03 04:02:37 UTC
Ever since the introduction of the Html class in August 2009, there has been the suggestion to use arrays for attributes like 'class' [1]. How about adding that in ? I don't mean just a simple " if ( $key ) { $value = implode( ' ', $value ); }", but something more sophisticated. * Recognize them as real lists, so do normalization (removal of duplicates and redundant whitespace) * Also for space-separated value attributes other than 'class' (see specification) -- Krinkle [1] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Html.php?view=markup&pathrev=54767#l59
r96170, r96171