Page MenuHomePhabricator

Do not strip HTML5 custom data attributes
Closed, ResolvedPublic

Description

MediaWiki should not strip HTML5 custom data attributes (data-xxx="..."). These are the standard method for passing data to clientside scripts in HTML5, and are fully backwards-compatible. This has many applications, such as table sorting and metadata handling.

HTML5 spec section: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data-with-the-data-attributes


Version: unspecified
Severity: enhancement

Details

Reference
bz26247