User:バレロン/sandbox/1

sandbox

The website HTML, generated Wikipedia content and the JavaScripts of Wikipedia define hundreds of  and. The use of most of them is not clearly explained or described anywhere. Most of these classes and IDs are used for styling using CSS and identify parts of the page that this styling should apply to. They can also be used to make manipulations to the webpages using JavaScript and some have additional semantic meaning and are used by external parties.

This page is an attempt to catalogue and describe the most used and most important classes and IDs used on this wiki.

Before getting started
There are many intricacies about Cascading Style Sheets and JavaScript, too many to discuss all of them here. Some important points however:
 * Classes are defined in the HTML document (generated by the server or by JavaScript). They are used as selectors in CSS.
 * Learn to use the browser inspectors of Firefox, lE, Chrome or Safari to inspect the webpages.
 * By default much of the CSS and JavaScript resources are processed for efficiency. Append  or   to the URL to make them more readable when inspecting.
 * For styling to apply there are two concepts that are important:
 * Load order Things defined later have priority and thus override things defined 'earlier'. We will try to give an overview of load order, later on.
 * Specificity If load order is failing you when applying your styling, you should know that more complex selectors take priority over order of definition. This is called specificity. It is best practice to keep specificity as low as possible in order to be able to override contextually with lil code.
 * Using  is generally bad. Use different forms of specificity instead.

CSS is complex. Follow the links above and the other links throughout this article to learn more. If you do not understand how Cascading Style Sheets and JavaScript work and what symbols to use, please begin with Wikipedia's own articles about CSS and JavaScript, which contain a list of references and external links to relevant material.

Stylesheets and JavaScript

 * Note: try searching through git for the core skin CSS/JS (eg. Go to  and   and  for the current default/global sets).

The following table is really outdated since MediaWiki 1.17 (June 2011). The complexity of MediaWiki itself has increased significantly and many of the locations of the styling rules have been split out and are only collected and bundled when delivered to the browser.

One way to inspect the core CSS and JS files is to inspect a page with Web development tools while loading any Wikipedia page with  URL parameter (this will separate different CSS files, prevent minification and preserve comments). Another way is to look at these skin files (example of Vector in Git); note that most MediaWiki core JS files are to be found in /resources/src directory.

functionality See also mbox-text etc. below. common/commonPrint.css (print) See also mbox-text etc. below. See also mbox-text etc. above.
 * Notes
 * monobook/main.css
 * includes/Linker.php
 * citation
 * Marks a full citation.
 * MediaWiki:Common.css
 * cleanup
 * (Deprecated) Used on some cleanup templates
 * MediaWiki:Common.css
 * cmbox, cmbox-*
 * カテゴリメッセージボックス.
 * MediaWiki:Common.css
 * cmbox, cmbox-*
 * カテゴリメッセージボックス.
 * cmbox, cmbox-*
 * カテゴリメッセージボックス.
 * MediaWiki:Common.css
 * カテゴリメッセージボックスの雛形として使われているテンプレート.
 * collapsible, collapsed, autocollapse, innercollapse/outercollapse
 * Allows tables to be expanded and collapsed using associated javascript. See Help:Collapsing
 * MediaWiki:Common.js
 * collapseButton
 * Applied to the spans containing the show/hide links created by the CollapsibleTables javascript.
 * MediaWiki:Common.css, MediaWiki:Common.js
 * comment
 * Edit summaries on watchlist and rc pages.
 * monobook/main.css (screen, projection)
 * includes/Linker.php
 * dangerousLink
 * Used on Image pages to not have dangerous file types display previews.
 * includes/ImagePage.php
 * def
 * Used in the allmessagestable, Special:Allmessages (System messages)
 * monobook/main.css (screen, projection)
 * includes/specials/SpecialAllmessages.php
 * diff, diff-addedline, diff-context, diff-deletedline, diff-ntitle, diff-otitle, diffchange
 * Used by the diff view
 * common/commonPrint.css, common/diff.css, MediaWiki:Monobook.css
 * skin on diff view, includes/normal/RandomTest.php
 * disputed
 * (Deprecated) A cleanup class.
 * editlink
 * Class to mark an Edit link for use in templates.
 * MediaWiki:Print.css (hidden when printed)
 * error
 * Marks up errors
 * MediaWiki:Monobook.css (only defined for paragraph elements), monobook/main.css (line 278)
 * includes/Math.php,
 * editHelp
 * Interface section
 * includes/EditPage.php
 * editOptions
 * Used in the div surrounding the minor edit and watch this page checkboxes.
 * monobook/main.css,
 * includes/EditPage.php
 * editsection
 * Class used in the interface for section [edit] links
 * common/commonPrint.css (hidden when printed)
 * includes/Linker.php
 * edittools-text
 * Prevents the static edittools from flashing before the compact edittools is loaded.
 * MediaWiki:Common.js/edit.js
 * MediaWiki:Edittools
 * external
 * 外部リンク
 * monobook/main.css (screen, projection)
 * includes/Linker.php
 * extiw
 * Used for Interwiki links.
 * monobook/main.css (screen, projection)
 * includes/Linker.php
 * expansion
 * (Deprecated) A type of cleanup class
 * div.fmbox-warning, mw-warning-with-logexcerpt, mw-cascadeprotectedwarning
 * Pink fmbox warning style for div based system warning notices. The interface renders a div with one of the "mw-" classes around messages like MediaWiki:Protectedpagewarning.
 * MediaWiki:Common.css
 * MediaWiki:Editingold, includes/EditPage.php
 * firstHeading
 * Used on the title of the page, e.g. ""
 * monobook/main.css (screen, projection)
 * skins/MonoBook.php
 * floatright, floatleft, floatnone
 * Used to float something to the right/left of the page (or not float it at all)
 * monobook/main.css (screen, protection)
 * external
 * 外部リンク
 * monobook/main.css (screen, projection)
 * includes/Linker.php
 * extiw
 * Used for Interwiki links.
 * monobook/main.css (screen, projection)
 * includes/Linker.php
 * expansion
 * (Deprecated) A type of cleanup class
 * div.fmbox-warning, mw-warning-with-logexcerpt, mw-cascadeprotectedwarning
 * Pink fmbox warning style for div based system warning notices. The interface renders a div with one of the "mw-" classes around messages like MediaWiki:Protectedpagewarning.
 * MediaWiki:Common.css
 * MediaWiki:Editingold, includes/EditPage.php
 * firstHeading
 * Used on the title of the page, e.g. ""
 * monobook/main.css (screen, projection)
 * skins/MonoBook.php
 * floatright, floatleft, floatnone
 * Used to float something to the right/left of the page (or not float it at all)
 * monobook/main.css (screen, protection)
 * Used on the title of the page, e.g. ""
 * monobook/main.css (screen, projection)
 * skins/MonoBook.php
 * floatright, floatleft, floatnone
 * Used to float something to the right/left of the page (or not float it at all)
 * monobook/main.css (screen, protection)
 * monobook/main.css (screen, protection)
 * includes/Linker.php
 * free
 * Used in the interface for external links
 * includes/parser/Parser.php
 * hatnote
 * Used to mark disambiguation links at the top of pages.
 * MediaWiki:Common.css
 * hlist
 * Renders lists in horizontal style
 * MediaWiki:Common.css
 * hlist inline
 * Allows nesting horizontal lists on one line
 * MediaWiki:Common.css
 * image
 * Interface class used for links to images.
 * includes/Linker.php
 * imbox, imbox-*
 * Image pages message box template styles.
 * Allows nesting horizontal lists on one line
 * MediaWiki:Common.css
 * image
 * Interface class used for links to images.
 * includes/Linker.php
 * imbox, imbox-*
 * Image pages message box template styles.
 * includes/Linker.php
 * imbox, imbox-*
 * Image pages message box template styles.
 * Image pages message box template styles.
 * MediaWiki:Common.css
 * meta-template that is used to create most image message boxes.
 * interwiki-xx
 * Interface class used for interlanguage links in the page margin for language with code xx.
 * includes/SkinTemplate.php
 * infobox
 * Formatting for article infoboxes
 * MediaWiki:Common.css
 * Infoboxes
 * internal
 * Used in the interface on "Edit summary" and the question mark by the minor edit checkbox links, and in the links in the copyright statement(to the GFDL and Wikipedia:Copyrights).
 * includes/Parser.php, languages/Language.php, includes/Linker.php
 * ltr and rtl
 * Set in HTML body element. ltr = Page text goes "Left To Right" like now. rtl = Text goes "Right To Left", like in the Arabic Wikipedia.
 * body
 * magnify
 * The two "magnify" rectangles in the caption of a thumb'ed image (magnify-clip.png)
 * common/shared.css, monobook/main.css, common/commonPrint.css (print)
 * Linker.php (line 675)
 * mbox-inside
 * Tag for templates that might contain mboxes like and . So that mboxes can detect that they are inside and adapt their margins accordingly.
 * MediaWiki:Common.css
 * , and  should have this class.
 * mbox-text, mbox-image, mbox-imageright, mbox-empty-cell
 * Used in &lt;td> and &lt;th> elements inside message boxes. See Ambox CSS classes.
 * MediaWiki:Common.css
 * ,, , , , and meta-templates that are used to build most message boxes.
 * mediawiki
 * Set in HTML body element, to identify pages generated by MediaWiki.
 * as of 31533 this should appear in all skins
 * metadata
 * Used to mark elements in articles that are considered not to be part of the proper content of the article. These are annotations, maintenance templates, navigation links, media controls etc. These elements are often filtered out of 'alternative' views of the content, like CD-ROM editions, bookprint, webpage print, mobile views etc.
 * MediaWiki:Print.css (hidden when printed from articles)
 * minor
 * Used for the "m" marking minor edits.
 * monobook/main.css
 * includes/specials/SpecialContributions.php
 * mufi
 * Forces fonts used for Medieval Unicode Font Initiative (discussion)
 * mw-headline
 * The headline in a heading (without the "[edit]" link)
 * includes/Linker.php
 * mw-headline-number
 * The headline number, if auto-numbering the section headings (a user preference) is enabled
 * [//gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/parser/Parser.php;hb=55f4eb263b9d480224b044ba1e55ba08da39828a#l4173 includes/parser/Parser.php]
 * mw-hidden-cats-hidden
 * "Hidden categories" with preference "Show hidden categories" off
 * common/shared.css
 * includes/Skin.php
 * mw-hidden-cats-ns-shown
 * "Hidden categories" in the Category namespace
 * includes/Skin.php
 * mw-hidden-cats-user-shown
 * "Hidden categories" with preference "Show hidden categories" on
 * includes/Skin.php
 * mw-no-invert
 * Dark mode (gadget) prevent flipping of the colors of an element when in dark mode
 * MediaWiki:Gadget-dark-mode.css
 * mw-tag-markers
 * Tags of the Edit filter
 * MediaWiki:Common.css
 * namespacesettings
 * Interface section on Recent Changes page
 * includes/specials/SpecialRecentchanges.php
 * namespaceselector
 * Part of the Recent Chages page
 * includes/GlobalFunctions.php
 * navbar
 * v•d•e links in navboxes and other templates
 * MediaWiki:Common.css
 * navbox, navbox-*
 * Navigational boxes
 * MediaWiki:Common.css
 * rowspan="2" | new
 * The redlink class; used on internal links to pages that do not have any undeleted history.
 * monobook/main.css (screen, projection), common/commonPrint.css (print)
 * includes/Linker.php, includes/Skin.php, languages/Language.php
 * Used in the allmessagestable, Special:Allmessages (System messages)
 * monobook/main.css (screen, projection)
 * includes/specials/SpecialAllmessages.php
 * newpage
 * The "N" used for new pages on watchlist, etc.
 * monobook/main.css (screen, projection)
 * includes/ChangesList.php
 * noarticletext
 * See MediaWiki:Noarticletext.
 * monobook/main.css (screen, projection)
 * includes/Article.php
 * nonumtoc
 * Hides automatic numbering on the table of contents (in combination with explicitly stating or
 * MediaWiki:Common.css
 * Articles
 * noprint
 * Hides content when printed. But for most usage, see metadata above instead.
 * common/commonPrint.css, MediaWiki:Print.css (hidden when printed)
 * ,, , , , and others.
 * noresize
 * Prevents images from being resized on mobile screen, adds scrollbars instead.
 * N/A
 * notice
 * (Deprecated) Style for "notices"? Used to be used in disambig etc.
 * MediaWiki:Common.css
 * - id="nounderlines"
 * nounderlines
 * Disables underlines on links who are children of this element (original request)
 * MediaWiki:Common.css
 * Articles
 * nourlexpansion
 * When printing only print the title of the link and not the link itself. (replaces "plainlinksneverexpand")
 * MediaWiki:Print.css
 * nowrap
 * Generic no-wrap class.
 * MediaWiki:Common.css
 * nowraplinks
 * Prevents line wraps inside links, but allows word wraps between the links and in normal text. Useful for instance for long link lists.
 * MediaWiki:Common.css
 * ns--1, ns-0 - ns-101
 * Set in HTML body element. Shows which namespace the page is in. ns-0 (main), ns-1 (Talk) and so on. "ns--1" is used on all "Special:" pages. See Namespace.
 * includes/Skin.php
 * ns-talk, ns-subject, ns-special
 * Set in HTML body element. Shows which namespace the page is in. "ns-talk" = all talk pages. "ns-subject" = all non-talk pages, such as articles, "Wikipedia:", "Image:" and so on. "ns-special" = all "Special:" pages (see Special:SpecialPages). See also Namespace.
 * ombox, ombox-*
 * Other pages message box template styles.
 * The "N" used for new pages on watchlist, etc.
 * monobook/main.css (screen, projection)
 * includes/ChangesList.php
 * noarticletext
 * See MediaWiki:Noarticletext.
 * monobook/main.css (screen, projection)
 * includes/Article.php
 * nonumtoc
 * Hides automatic numbering on the table of contents (in combination with explicitly stating or
 * MediaWiki:Common.css
 * Articles
 * noprint
 * Hides content when printed. But for most usage, see metadata above instead.
 * common/commonPrint.css, MediaWiki:Print.css (hidden when printed)
 * ,, , , , and others.
 * noresize
 * Prevents images from being resized on mobile screen, adds scrollbars instead.
 * N/A
 * notice
 * (Deprecated) Style for "notices"? Used to be used in disambig etc.
 * MediaWiki:Common.css
 * - id="nounderlines"
 * nounderlines
 * Disables underlines on links who are children of this element (original request)
 * MediaWiki:Common.css
 * Articles
 * nourlexpansion
 * When printing only print the title of the link and not the link itself. (replaces "plainlinksneverexpand")
 * MediaWiki:Print.css
 * nowrap
 * Generic no-wrap class.
 * MediaWiki:Common.css
 * nowraplinks
 * Prevents line wraps inside links, but allows word wraps between the links and in normal text. Useful for instance for long link lists.
 * MediaWiki:Common.css
 * ns--1, ns-0 - ns-101
 * Set in HTML body element. Shows which namespace the page is in. ns-0 (main), ns-1 (Talk) and so on. "ns--1" is used on all "Special:" pages. See Namespace.
 * includes/Skin.php
 * ns-talk, ns-subject, ns-special
 * Set in HTML body element. Shows which namespace the page is in. "ns-talk" = all talk pages. "ns-subject" = all non-talk pages, such as articles, "Wikipedia:", "Image:" and so on. "ns-special" = all "Special:" pages (see Special:SpecialPages). See also Namespace.
 * ombox, ombox-*
 * Other pages message box template styles.
 * nowraplinks
 * Prevents line wraps inside links, but allows word wraps between the links and in normal text. Useful for instance for long link lists.
 * MediaWiki:Common.css
 * ns--1, ns-0 - ns-101
 * Set in HTML body element. Shows which namespace the page is in. ns-0 (main), ns-1 (Talk) and so on. "ns--1" is used on all "Special:" pages. See Namespace.
 * includes/Skin.php
 * ns-talk, ns-subject, ns-special
 * Set in HTML body element. Shows which namespace the page is in. "ns-talk" = all talk pages. "ns-subject" = all non-talk pages, such as articles, "Wikipedia:", "Image:" and so on. "ns-special" = all "Special:" pages (see Special:SpecialPages). See also Namespace.
 * ombox, ombox-*
 * Other pages message box template styles.
 * includes/Skin.php
 * ns-talk, ns-subject, ns-special
 * Set in HTML body element. Shows which namespace the page is in. "ns-talk" = all talk pages. "ns-subject" = all non-talk pages, such as articles, "Wikipedia:", "Image:" and so on. "ns-special" = all "Special:" pages (see Special:SpecialPages). See also Namespace.
 * ombox, ombox-*
 * Other pages message box template styles.
 * ombox, ombox-*
 * Other pages message box template styles.
 * ombox, ombox-*
 * Other pages message box template styles.
 * MediaWiki:Common.css
 * meta-template that is used to create most other pages message boxes.
 * orig
 * Used in the allmessagestable, Special:Allmessages (System messages)
 * monobook/main.css (screen, projection)
 * includes/specials/SpecialAllmessages.php
 * page-Pagename
 * Each page has its own name as a class in the body tag. Formed by the pagename with spaces and colons replaced by underscores, and prefixed by "page-". Like this page's body has the class "page-Wikipedia_Catalogue_of_CSS_classes" in its body tag.
 * includes/Skin.php
 * pBody
 * Used all-around on the various body-like pieces of the interface, including personal tools, sidebar, and tabs.
 * monobook/main.css
 * skins/MonoBook.php
 * plainlinks
 * Disables the external link arrow
 * common/shared.css
 * ,, and many other places.
 * plainlinks2
 * Changes the color of external links to en: to the internal links color.
 * MediaWiki:Monobook.css
 * plainlinksneverexpand
 * (Deprecated) Replaced with "plainlinks nourlexpansion"
 * plainrowheaders
 * Changes the font style of table row headers that have the  tag applied.
 * MediaWiki:Common.css
 * portlet
 * Used on the tab buttons, and the left navigation columns (in monobook)
 * MediaWiki:Monobook.css
 * skins/MonoBook.php, config/index.php
 * prettytable
 * (Removed) Predecessor of wikitable. No longer works.
 * printfooter
 * Used to mark the footer of the page in the interface.
 * includes/Skin.php
 * protected
 * (Deprecated) Used on some templates that go on protected pages.
 * rcoptions
 * Interface section on Recent Changes page
 * includes/specials/SpecialRecentchanges.php
 * Used on the tab buttons, and the left navigation columns (in monobook)
 * MediaWiki:Monobook.css
 * skins/MonoBook.php, config/index.php
 * prettytable
 * (Removed) Predecessor of wikitable. No longer works.
 * printfooter
 * Used to mark the footer of the page in the interface.
 * includes/Skin.php
 * protected
 * (Deprecated) Used on some templates that go on protected pages.
 * rcoptions
 * Interface section on Recent Changes page
 * includes/specials/SpecialRecentchanges.php
 * protected
 * (Deprecated) Used on some templates that go on protected pages.
 * rcoptions
 * Interface section on Recent Changes page
 * includes/specials/SpecialRecentchanges.php
 * rcoptions
 * Interface section on Recent Changes page
 * includes/specials/SpecialRecentchanges.php
 * includes/specials/SpecialRecentchanges.php
 * includes/specials/SpecialRecentchanges.php

See also mbox-text etc. above. ! class ! description ! in CSS¹ ! in HTML¹
 * redirect-in-category
 * redirect in the list of members, on a category page
 * MediaWiki:Common.css
 * includes/CategoryPage.php
 * redirectText
 * Span around the link on a redirect page
 * monobook/main.css, MediaWiki:Vector.css
 * includes/Article.php
 * reference
 * The class is assigned to the reference note links occurring within the article text and generated by Cite.php.
 * MediaWiki:Common.css
 * MediaWiki:Cite reference link
 * reference-accessdate
 * Some (not all as of 2008-06-08) citation templates wrap the "Retrieved on date " in this class, so it can be hidden in CSS optionally or by default.
 * references, reflist, refbegin
 * These classes are assigned to the ordered list of reference notes generated by Cite.php, and to the and  templates.
 * MediaWiki:Common.css
 * references-column-count, references-column-count-n, references-column-width
 * Assigned to reference lists with columns
 * references-small
 * (Removed ) For small-font references at 90% in articles (in any format, not only Cite.php). To be used where the per article consensus demands smaller font for the references. (original discussion). Also used to style the font size in tables.
 * MediaWiki:Common.css
 * Manually assigned by editors with
 * rimage
 * (Deprecated) Less useful equivalent of
 * monobook/main.css, common/commonPrint.css (print)
 * rtl
 * "Right To Left" text direction, see ltr (Left To Right).
 * searchButton
 * Used in the interface on exactly what you would expect.
 * monobook/main.css
 * skins/MonoBook.php
 * selected
 * Used on the currently selected tab button in the interface. It changes the border-color.
 * monobook/main.css
 * includes/SkinTemplate.php, skins/MonoBook.php
 * selflink
 * Used on links pointing to the same page (e.g. Catalogue of CSS classes)
 * skin-skinname
 * Each skin has its own name as a class in the  element. These classes allow skin-specific print rules to be easily applied. Skin name is lowercase: skin-monobook, skin-modern etc.
 * /includes/Skin.php
 * sortable
 * Related to sortable tables
 * wikibits.js
 * sortarrow
 * Related to sortable tables
 * wikibits.js
 * sortbottom
 * Related to sortable tables
 * wikibits.js
 * sortheader
 * Related to sortable tables
 * wikibits.js
 * special
 * Used for non-links in watchlists, etc. Like the "(diff)" on a new page.
 * includes/QueryPage.php, includes/ImagePage.php
 * subpages
 * used on the line listing the parent of a subpage
 * monobook/main.css (screen, projection)
 * includes/Skin.php, includes/SkinTemplate.php
 * sysop-show
 * Makes the enclosed content visible to admins. Only use this for very short items (such as the red "Group notice" and "Page notice" editnotice links), since some browsers show hidden items to all users.
 * MediaWiki:Group-sysop.css
 * editnotice load
 * template-documentation
 * For the box around template documentation.
 * MediaWiki:Common.css
 * Template:Documentation
 * templatesUsed
 * surrounds the div listing the templates used on a page, on the edit page.
 * includes/EditPage.php
 * texhtml
 * applies to span element that contains a formula
 * common/shared.css, MediaWiki:Common.css
 * text
 * Class used in the interface for external links
 * includes/parser/Parser.php
 * thumb
 * Outer div of a thumbnail. Its border (margin in monobook) is the outer "margin" for thumbnails. Also doubles as the inner padding for galleries.
 * monobook/main.css, MediaWiki:Common.css, MediaWiki:Monobook.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbborder
 * On the image when  is specified.
 * monobook/main.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbcaption
 * Div with the thumbnail's caption.
 * common/shared.css, monobook/main.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbimage
 * On the thumbnail.
 * monobook/main.css
 * includes/Linker.php
 * thumbinner
 * Inner div of a thumbnail.
 * monobook/main.css, MediaWiki:Common.css
 * includes/Linker.php
 * tleft, tright
 * Floated thumbnails
 * common/commonPrint.css (print)
 * includes/Linker.php
 * tmbox, tmbox-*
 * Talk page message box template styles.
 * MediaWiki:Common.css
 * Template:Documentation
 * templatesUsed
 * surrounds the div listing the templates used on a page, on the edit page.
 * includes/EditPage.php
 * texhtml
 * applies to span element that contains a formula
 * common/shared.css, MediaWiki:Common.css
 * text
 * Class used in the interface for external links
 * includes/parser/Parser.php
 * thumb
 * Outer div of a thumbnail. Its border (margin in monobook) is the outer "margin" for thumbnails. Also doubles as the inner padding for galleries.
 * monobook/main.css, MediaWiki:Common.css, MediaWiki:Monobook.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbborder
 * On the image when  is specified.
 * monobook/main.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbcaption
 * Div with the thumbnail's caption.
 * common/shared.css, monobook/main.css, common/commonPrint.css (print)
 * includes/Linker.php
 * thumbimage
 * On the thumbnail.
 * monobook/main.css
 * includes/Linker.php
 * thumbinner
 * Inner div of a thumbnail.
 * monobook/main.css, MediaWiki:Common.css
 * includes/Linker.php
 * tleft, tright
 * Floated thumbnails
 * common/commonPrint.css (print)
 * includes/Linker.php
 * tmbox, tmbox-*
 * Talk page message box template styles.
 * thumbinner
 * Inner div of a thumbnail.
 * monobook/main.css, MediaWiki:Common.css
 * includes/Linker.php
 * tleft, tright
 * Floated thumbnails
 * common/commonPrint.css (print)
 * includes/Linker.php
 * tmbox, tmbox-*
 * Talk page message box template styles.
 * tmbox, tmbox-*
 * Talk page message box template styles.
 * Talk page message box template styles.
 * MediaWiki:Common.css
 * meta-template that is used to create most talk page message boxes.
 * toc, toctitle, toclevel-1, toclevel-2, toctext, tocnumber, toctoggle
 * Used by the Table of Contents. Should not be used by anything else; use class="toccolours" or a more semantic class (like "navbox") instead.
 * monobook/main.css, common/commonPrint.css (print)
 * skin on TOC
 * toccolours
 * Same formatting as class="toc", but can be used by other things.
 * common/oldshared.css, modern/main.css, monobook/main.css, vector/main-ltr.css, MediaWiki:Modern.css, MediaWiki:Monobook.css
 * lots of places
 * topicon
 * Formatting for top right icons like featured article star, protected page etc.
 * MediaWiki:Monobook.css
 * unsortable
 * Related to sortable tables
 * wikibits.js
 * userlinks
 * Username, for unambiguous letterforms like.
 * usermessage
 * "You have new messages" box
 * monobook/main.css (screen, projection), modern/main.css (screen, projection)
 * watchlistredir
 * For redirects on Special:Watchlist/edit
 * Special:Watchlist/edit
 * wikitable
 * For content tables
 * common/shared.css
 * everywhere
 * wpb
 * For WikiProject banner tables.
 * MediaWiki:Common.css
 * and other WikiProject banners
 * wpb-header
 * For the header row of a WikiProject banner.
 * MediaWiki:Common.css
 * and other WikiProject banners
 * wpbs
 * For WikiProject banner shells
 * MediaWiki:Common.css
 * wrap
 * Generic wrap class to override nowrap.
 * MediaWiki:Common.css
 * wraplinks
 * Allows line wraps inside links (to override nowraplinks)
 * MediaWiki:Common.css
 * MediaWiki:Common.css
 * and other WikiProject banners
 * wpb-header
 * For the header row of a WikiProject banner.
 * MediaWiki:Common.css
 * and other WikiProject banners
 * wpbs
 * For WikiProject banner shells
 * MediaWiki:Common.css
 * wrap
 * Generic wrap class to override nowrap.
 * MediaWiki:Common.css
 * wraplinks
 * Allows line wraps inside links (to override nowraplinks)
 * MediaWiki:Common.css
 * MediaWiki:Common.css
 * wraplinks
 * Allows line wraps inside links (to override nowraplinks)
 * MediaWiki:Common.css
 * Allows line wraps inside links (to override nowraplinks)
 * MediaWiki:Common.css
 * }

Classes not used in style sheets
Wikipedia also uses a number of classes with functions unrelated to style sheets.


 * Microformat classes as listed in Microformat classes.
 * , which causes Media Viewer to disregard contents
 * , which causes Yahoo!'s crawler to disregard contents per
 * , prevents EditNoticesOnMobile (and in the future possibly the apps) from automatically popping up an edit notice. See also T312999.

ca-X, f-X, n-X, p-X, pt-X, t-X, wpX IDs
i.e. interface buttons, links, etc.

"ca-" in the class names stands for "content actions", "f-" for footer, "n-" for navigation, "p-" for "page", "pt-" for "personal tools" (at the top), and "t-" for "tools" (in the side bar).

JavaScript variables
About 30 variables that can be used in JavaScript. View the rendered code of any page and find for instance.

Description
The Ili pika somewhat resembles a short-eared rabbit. It is large for a pika, with a length of 20.3 – and a weight of up to 250 g. It has brightly colored hair and displays large rusty-red spots on forehead, crown, and the sides of the neck.

Range
It is endemic to the Tian Shan mountains of northwest Chinese province Xinjiang. A recent census indicated that the Ili pika may have been extirpated from the Jilimalale and Hutubi South Mountains.

Ecology
The Ili pika inhabits talus slopes at high elevations, usually from about 2,800 to 4,100 meters. This species constructs haypiles and is a generalized herbivore. It primarily feeds on grasses and herbs. It occupies slightly sloping high rock walls or cliff faces interlaced with gaps or holes that serve as dens.

Almost nothing is known about the ecology or behavior of the species. The Ili pika has low population densities. It is mostly a diurnal species, but may exhibit nocturnal activity. Only one to two litters are produced each year, but litter size for this species is unknown. The Ili pika is similar to other rock-dwelling pikas in that they are asocial creatures, however, they are less likely to utter vocalizations. Also, the Ili pika varies the percent of time it is active during the day or night based on seasons. During the winter season, they are more active during the day while during the spring and fall, they are more active at night.

Conservation
The species was first observed by conservationist Li Weidong in 1983. After three years of research, Li and his team named it the Ili pika, after the area where it is found, the Ili Prefecture on the far west side of China's Xinjiang province. The animal was not documented again until May 2014 (again by Li). Up to 2015, a total of 29 live sightings were reported.

There were three specimens captured that were observed and used to describe the species in 1986. Additionally, There were studies conducted within the decade to learn more about the species. These studies involved physical presence in the sites where Ili pikas had been thought to be present. These studies were not successful since there were few to no pika's available at various sites.

Its population has been reduced by 70% within 15 years. Population declines have been observed for several locations inhabited by this species. A recent census indicated that the Ili pika may have been extirpated from the Jilimalale and Hutubi South Mountains. Populations have declined in the regions of Jipuk, Tianger Apex, and Telimani Daban. Only one examined site, the Bayingou region of Xinjiang Uygur, showed signs of previously observed abundance. An estimated 2,000 mature individuals existed in the early 1990s. The exact causes for recently observed population declines are not known with certainty, but it is speculated that an increase in grazing pressure and global atmospheric pollution resulting in climate change are negatively affecting populations. It has been suggested that a warming climate has increased the presence of vegetation and animal species from lower elevations in the pika's habitat, leading to a larger number of attendant predators (e.g. foxes) to which pika populations had not so far been exposed. Researchers also believe that some other reasons for the decline in the Ila pika population may be disease throughout the species or increased human activity in the area. Low population densities and reproductive rates coupled with the relatively limited ability to disperse impede the ability of the species to recover from declines. One study of captive animals suggests that the species has some capacity to adapt its feeding habits to lower elevations. There are no known conservation measures in place for the Ili pika.