Help:Customizing your skin

A guide to Wiktionary-specific skin customizations for logged-in users.

The files needed to be edited will depend on your current skin (which can be edited at Special:Preferences → "Appearance"):
 * All skins: common.css
 * Chick: chick.css/.js
 * Classic: standard.css/.js
 * Cologne Blue: cologneblue.css/.js
 * Minerva (the default mobile theme): minerva.css
 * Modern: modern.css/.js
 * Monobook: monobook.css, monobook.js
 * MySkin: myskin.css/.js
 * Nostalgia: nostalgia.css/.js
 * Simple: simple.css/.js
 * Vector (the default desktop theme): vector.css/.js

To preview a page in a different skin, use a URL such as (link).

To preview a page in a mobile theme, add the  parameter: (link).

CSS customization
You can customize your CSS file in order to change a few things in your interface. This is simply done by dropping lines of code in that page, saving it and then clearing your cache or perhaps even restarting your browser in order to make them work. Below are a handful of these codes. If these don't suffice, you can guess at them, which might work, or, alternatively, search Meta or Wikipedia to find more.

Hide translations
Not interested in translations?

The section heading will remain visible, though.

Hide extra horizontal lines between language sections
If you hate seeing this:

English

add this code to your CSS file:

Note that all horizontal lines in the standard (entry) namespace will be hidden. If you do have problems with any other kinds of pages, please report them so that a solution can be sought.

Sister project boxes
To hide (or manipulate) all sister project boxes:

To hide (or manipulate) certain sister project boxes only:

Project Gutenberg rankings
If you find these too intrusive, add this to your CSS file:

Qualifiers and italicized parentheses
Readers can customize the style of the context qualifiers that precede definitions; sense gloss qualifiers that precede synonyms, antonyms, related terms, etc.; and parentheses around italic text within non-italic sentences. Your current style is this:
 * a definition....
 * synonym, synonym, synonym

The default style is with non-italic punctuation:
 * (context qualifier like this, default style) a definition... (note..., default style).
 * (Sense gloss like this, default style): synonym, synonym, (qualifier like this, default style) synonym

The punctuation can display in italics:
 * (context qualifier like this, all italic) a definition... (note..., all italic).
 * (Sense gloss like this, all italic): synonym, synonym, (qualifier like this, all italic) synonym

Qualifiers can display without italics:
 * (qualifier like this, non-italic) a definition....
 * (Sense gloss like this, non-italic): synonym, synonym, (qualifier like this, non-italic) synonym

Qualifiers can display in small caps with no parentheses:
 * qualifier like this, small caps with no parentheses : a definition....
 * Sense gloss like this, small caps with no parentheses : synonym, synonym, qualifier like this, small caps with no parentheses synonym

Qualifiers can display in a smaller font:
 * (qualifier like this, smaller font) a definition....
 * (Sense gloss like this, smaller font): synonym, synonym, (qualifier like this, smaller font) synonym

Parentheses can be hidden aggressively. (Warning: This setting creates ungrammatical sentences.)
 * countable: A domesticated species Felis silvestris of feline animal commonly kept as a house pet.
 * à le “to the” is never used: contracted into au.

“Disambiguation” See also
In the Beer parlour there is a current discussion on the preferred format of the See also section at the top of many pages. To achieve some of the various hard-coded formats:


 * 1) Indent the section (as if it were preceeded by a colon)
 * 2) Prevent links being bolded:
 * 3) Add a bottom margin to prevent the the "see also" and the TOC to join.
 * 1) Add a bottom margin to prevent the the "see also" and the TOC to join.
 * 1) Add a bottom margin to prevent the the "see also" and the TOC to join.

Selecting the kind of list

 * 1) azza, bzzb, czzc
 * 2) azza, bzzb, and czzc
 * 3) azza, bzzb and czzc
 * 1) azza, bzzb, and czzc
 * 2) azza, bzzb and czzc
 * 1) azza, bzzb and czzc
 * 1) azza, bzzb and czzc
 * 1) azza, bzzb and czzc

Gender abbreviation periods
If you prefer gender abbreviations like this:

m.

over this:

m

add this to your CSS file:

At this time, this feature is used in the gender annotations through Module:gender and number. These are currently hidden by default.

Serial commas
If you prefer lists like this:

One, two, and three

over this:

One, two and three

add this to your CSS file:

Currently serial commas are hidden by default.

Russian stress marks
Since with current common fonts, the optional stress marks used with Russian by dictionaries can be ugly, they are hidden by default in the places they are of less importance.

If you prefer this:

рабо́чий

over this:

рабочий

add this to your CSS file:

Different font for definitions
To change all text that is in an ordered list of #, add the following:

Or specify as you wish. Some people are fond of italics:

You can also change link styles in definitions:

And so forth...

defines the main namespace of articles. Other namespaces are:  for Talk:,   for User:, etc. (see Help:Namespace for numbers).

Highlighting the inflection line
To highlight the inflection line (most of the time) add the following to your skin CSS file:

“Form of” definitions
Definitions for non-lemma entries (e.g. the inflected forms of lemma entries) indicate that the term is a special form, such as the plural, of another word. Customize the format of such definitions by adding any of the following:


 * For “form of” definitions with plain (wikilinked only) lemma:
 * Form of word.
 * For “form of” definitions with a bold lemma:
 * Form of word.
 * For “form of” definitions with an italic definition (“qualifier”):
 * Form of word.
 * For “form of” definitions with an italic lemma:
 * Form of word.
 * For “form of” definitions with an italic definition (“qualifier”) and bold lemma:
 * Form of word.
 * For “form of” definitions with an italic lemma:
 * Form of word.
 * For “form of” definitions with an italic definition (“qualifier”) and bold lemma:
 * Form of word.
 * For “form of” definitions with an italic definition (“qualifier”) and bold lemma:
 * Form of word.
 * For “form of” definitions with an italic definition (“qualifier”) and bold lemma:
 * Form of word.

Mentions
The template allows readers to customize the way mentioned terms and phrases appear.

By default, Latin-script (i.e. Roman script, French, German, etc., not just Latin-language) terms and phrases mentioned through appear in italics. Readers can toggle the output from italics to bold with browser cookies by selecting “Show other Latin (Roman) script mentions in bold” from WT:PREFS. Alternatively, or for more advanced customization, readers can add any of the following to their style sheets:


 * For plain format (e.g.: From mot + ...):
 * For bold format (e.g.: From mot + ...):
 * For italicized format (e.g.: From mot + ...):
 * For italicized format (e.g.: From mot + ...):
 * For italicized format (e.g.: From mot + ...):

Further, the default style of the subsequent sense glosses (short definitions) is in double quotes. Readers can easily change the output to single quotes with browser cookies by selecting “Show English glosses for mentioned terms in single quotes” from WT:PREFS. Alternatively, readers can styles to their style sheets:
 * To show English translation glosses in single quotes (e.g.: From (‘word’) + ... with  (‘unit of speech’) + ...):

The parentheses around transliterations and glosses can be hidden. (Warning: this creates some ungrammatical sentences.)
 * To remove parentheses around all transliterations and glosses (e.g.: From colloquial Arabic ‘ālima, originally a feminine adjective meaning ‘learned, knowledgeable’, from .):

More

 * 1) Show parenthesized plain (non-italic) transliterations.
 * 2) Put the [show] checkbox onto the left of the translation bars.
 * 3) Display words in quotations that have been emboldened with Customizing your skin with a square box instead
 * 1) Display words in quotations that have been emboldened with Customizing your skin with a square box instead
 * 1) Display words in quotations that have been emboldened with Customizing your skin with a square box instead
 * 1) Display words in quotations that have been emboldened with Customizing your skin with a square box instead

Sidebar
You can customize the sidebar (navigation box, search box, toolbox etc.) in any thinkable way, but the most useful fact is probably that you can get rid of the links you're not using. This is done by adding  after any of the following codes that define the links.

For example,  hides the Donations link from the Navigation box. You can also group these together, saying  which works for them all.

With JavaScript, you can do the reverse and append links that you often use but are not in the sidebar by default.

Hide the Wiktionary logo
Don't like the logo and/or its pronunciation? Hide it.

The following will move the sidebar into its place for monobook skins.

The following will move the sidebar into its place for vector skins.

Enlargen diffs
Annoyed by the small letters when viewing diffs in page histories?

Change headers
Level 1 headers?

Level 2?

Level 3?

Pagetitle header only?

Highlight active reference
Highlight references when clicked, making it easier to find which one you clicked in a long list.

More

 * 1) Redirects have a black color in Special:Allpages
 * 2) Redirects are struck through in Special:Allpages
 * 3) Hide categories
 * 4) Make   boxes scrollable
 * 5) Hides MediaWiki:Sitenotice
 * 6) Hide everything but language headers in the main namespace
 * 7) Hides the New messages box on the Watchlist (count still displayed in header)
 * 8) Hides the "Take me back" and "New features" links in the header.
 * 9) Hide the special character input beneath the edit field.
 * 10) Make the second half of the heading of Special:RecentChanges smaller
 * 11) Change the bullets in unordered lists to be round.
 * 1) Hides the New messages box on the Watchlist (count still displayed in header)
 * 2) Hides the "Take me back" and "New features" links in the header.
 * 3) Hide the special character input beneath the edit field.
 * 4) Make the second half of the heading of Special:RecentChanges smaller
 * 5) Change the bullets in unordered lists to be round.
 * 1) Hide the special character input beneath the edit field.
 * 2) Make the second half of the heading of Special:RecentChanges smaller
 * 3) Change the bullets in unordered lists to be round.
 * 1) Change the bullets in unordered lists to be round.
 * 1) Change the bullets in unordered lists to be round.

Active CSS pages

 * User:Hippietrail/monobook.css
 * User:Mike/monobook.css
 * User:Vildricianus/monobook.css

JavaScript customization
User JavaScript files are loaded often before other elements, such as the page contents, that we want to edit. The standard way to deal with this is to define functions in a User skin file and then have them run once the page is loaded. For example, to run customizeMyPage write the following:

The function importScript allows the use of code in other JavaScript files. For example, the following can be used outside of any function:

For a more thorough guide, see w:Wikipedia:WikiProject User scripts/Guide. It details how to add elements to a User's sidebar.

No sense number when there is only one sense
If you've always wanted to see this:

foo
 * A kind of thing.

instead of the usual:

foo
 * 1) A kind of thing.

add this to your CSS file:

And this function to your JavaScript file:

Add a colon after disambiguation “See also”
If you prefer this:

See also:

To this:

See also

And this function to your JavaScript file:

Hide TTBC categories
If you find all those "Translations to be checked" categories distracting, add this to your CSS file:

And this function to your JavaScript file:

Show interwikis for non-existing words
User:Stratoprutser/404_native.js queries other wiktionaries if a certain word is not found on the current Wiktionary, and displays found interlanguage entries as interwiki links.

To install it, add to your to Special:MyPage/common.js:

Example: User:Stratoprutser/common.js.

For other language versions you'd use: