This page contains a list of common IDs and classes, especially when there is important information about what they're intended to be used for, or when there is a (possible) collision.
For a more extended collection of historically grown list of IDs and classes visit Wikipedia's Catalogue of CSS classes.
Indicates the browser does not have JavaScript enabled (or the browser is not supported). If JavaScript is enabled, this is automatically removed at run time in favor of .client-js.
.client-js
All
Indicates the browser has JavaScript enabled and is supported by ResourceLoader. This is automatically added at run time, replacing .client-nojs on the <html> element.
.comment
Comment (edit summary) in history, recent changes, watchlist, ... The parentheses are inside this span.
.diff
Diff when comparing revisions.
.editsection
Around the edit section link next to section headers.
.firstHeading
MonoBook, Vector, Modern
The page title
.mediawiki
.mw-body-content
MonoBook, Vector
Holds the page content, including categories, contentSub, ...
Added on the same div as #mw-content-text, except on special pages and file pages, or when not viewing the page (e.g. history) or if the page doesn't exist. More info: directionality support.
Warning:
Do not use this to get the content! (e.g. in JavaScript)
Holds everything between the page title and contentSub on the one hand, and ArticleFeedback and categories on the other hand. Present on each page view (includes history view, non-existing pages, print view, ...). Known issue: May contain unrelated elements (bug 35247)