Revision 598517 of "Manual:Interface/de/IDs and classes" on mediawikiwiki

Diese Seite enthält eine Liste der häufigsten IDs und Klassen, vor allem wenn es wichtige Informationen über das, für was sie bestimmt sind, oder wenn es eine (mögliche) Kollision gibt.

Fühlen Sie sich frei, mehr hinzuzufügen (alphabetisch).

{| class="wikitable"
! Selector
! Skin(s)
! Beschreibung
! Verfügbarkeit
|- id="id-bodyContent"
| #bodyContent
| monobook, vector
| Holds the page content, including categories, contentSub, ...
|
|- id="class-client-nojs"
| .client-nojs
| (all)
| JavaScript removes this and adds .client-js instead.
|
|- id="class-comment"
| .comment
| 
| Comment (edit summary) in history, recent changes, watchlist, ... The parentheses are inside this span.
|
|- id="class-diff"
| .diff
| (all)
| Diff when comparing revisions ('''warning:''' collides with [[Extension:SyntaxHighlight GeSHi|SyntaxHighlight GeSHi]]: <nowiki><source lang="diff"></nowiki> adds a class 'diff')
|
|- id="class-editsection"
| .editsection
| 
| Around the edit section link next to section headers.
|
|- id="class-firstHeading"
| .firstHeading
| monobook, vector, modern
| The page title
|
|- id="id-firstHeading"
| #firstHeading
| monobook, vector
| The page title
|
|- id="class-ltr"
| .ltr
| (all)
| {{deprecated-inline}} When the UI language is left-to-right. Before that, when the content language was LTR. See also[[#class-rtl|.rtl]].
| MW 1.18+ ({{r}})
|- id="class-mediawiki"
| .mediawiki
| (all)
| 
|
|- id="class-mw-content-ltr"
| .mw-content-ltr
| (all)
| Added on the same div as [[#id-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)
| MW 1.18+ ({{r}})
|- id="class-mw-content-rtl"
| .mw-content-rtl
| (all)
| See [[#class-mw-content-ltr|.mw-content-ltr]]
| MW 1.18+ ({{r}})
|- id="id-mw-content-text"
| #mw-content-text
| (all)
| 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, ...)<br />[[bugzilla:35247|bug 35247]]: should only contain actual page text
| MW 1.19+ ({{r|111647}})
|- id="id-pagehistory"
| #pagehistory
| 
| List of revisions when viewing action=history
|
|- id="class-plainlinks"
| .plainlinks
| 
| See [[Manual:Plainlinks]]
|
|- id="class-rtl"
| .rtl
| (all)
| {{deprecated-inline}} When the UI language is right-to-left. Before that, when the content language was RTL. See also[[#class-ltr|.ltr]].
| MW 1.18+ ({{r}})
|- id="id-searchbox"
| #searchbox
| 
| Used by Inputbox and WikiForum: [[bugzilla:33676|bug 33676]]
|
|- id="class-sitedir-ltr"
| .sitedir-ltr
| (all)
| When the wiki [[content language]] direction is left-to-right. When RTL, it is .sitedir-rtl obviously.
| MW 1.18+ ({{r|91518}})
|}