Page MenuHomePhabricator

TablePager formatting should use CSS in place of deprecated HTML attributes
Closed, ResolvedPublic

Description

With the move to HTML5, TablePager and its children are breaking the validators quite a bit.

Cellpadding, align, valign, width attributes all need removing to validate as HTML5.


Version: unspecified
Severity: enhancement

Details

Reference
bz19942

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz19942.
bzimport added a subscriber: Unknown Object (MLST).

happy.melon.wiki wrote:

Document OutputPage::addExtensionStyle()

I see. Needs documenting, then; here's a suggestion.

attachment diff.txt ignored as obsolete

happy.melon.wiki wrote:

Ignore that, wrong bug.

Adjusted summary to clarify we're talking about HTML attributes, not deprecated PHP code.

happy.melon.wiki wrote:

Fixed in r85022.