https://bugzilla.wikimedia.org/show_bug.cgi?id=18722
Summary: Wrapper id consistency across skins
Product: MediaWiki
Version: 1.15-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
Currently, when trying to increase the specificity of CSS declarations; there
is no consistent ID that can be used across all skins. Declarations like this:
#content span.PDFlink a,
#mw_content span.PDFlink a{
background:
url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif")
center right no-repeat;
padding-right: 17px;
}
Need to include two separate ids to work in all skins, because there's such a
mishmash of wrapper classes:
chick: globalWrapper, content, bodyContent
standard: content, article
cologneblue: content, article
modern: mw_content,
mw_contentholder
monobook: globalWrapper, content, bodyContent
nostalgia: content
simple: globalWrapper, content, bodyContent
As you can see, #content is closest to being universal, but not so. If two IDs
are needed (for higher specificity), the difficulty increases.
I'm not sure how best to resolve this; adding progressively more wrappers is
probably *not* the best solution. Adding #content to the modern skin would
probably be worthwile, however. Thoughts?
--
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