Last modified: 2014-09-01 15:37:06 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 T68461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66461 - Vector: Use standard classes like .mw-body in stylesheets instead of custom ids like #content
Vector: Use standard classes like .mw-body in stylesheets instead of custom i...
Status: NEW
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 22:58 UTC by Gabriel Wicke
Modified: 2014-09-01 15:37 UTC (History)
7 users (show)

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


Attachments

Description Gabriel Wicke 2014-06-10 22:58:15 UTC
We are trying to apply the Vector styles to raw Parsoid output for render testing. There are a few prefixed rules that don't apply as they are overly specific to some elements and ids in the old-style HTML output. Afaik #content et al is deprecated, and the better way to do this is to match on .mw-body and .mw-body-content etc. Similar with #footer.

It would also be great if the selector didn't require a div wrapper. In Parsoid HTML the content is directly inside the body & the classes are set on the body. Things will work just fine if the selector was just on the class, without requiring a div.

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


Navigation
Links