Last modified: 2012-12-01 18:31:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41613, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39613 - fixDeprecatedAttributes should add a CSS class
fixDeprecatedAttributes should add a CSS class
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-24 09:41 UTC by Michael M.
Modified: 2012-12-01 18:31 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2012-08-24 09:41:20 UTC
The function fixDeprecatedAttributes from Santizer.php should add a CSS class to changed tags.
Usecase:
A user wants to fix all usage of deprecated attributes. To find them, he puts

li[type] {outline: 2px solid red;}

into his common.css.

This doesn't work when the attributes are automatically converted to CSS.

If an extra class was added, the user could use

li.mw-deprecated-attr-type {outline: 2px solid red;}
Comment 1 Umherirrender 2012-12-01 18:31:30 UTC
Method was removed with bug 40632, makes this bug obsolete

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links