https://bugzilla.wikimedia.org/show_bug.cgi?id=30719

       Web browser: ---
             Bug #: 30719
           Summary: Add array-support for space-seperated list attributes
                    in the Html class
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to