Skin:Modern

From MediaWiki.org
Jump to: navigation, search

Other languages:
български • ‎català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Modern

Release status: stable

Dantman-Skin-modern.png
MediaWiki no longer built in since 1.24+
License GPLv2+
Download
Example https://en.wikipedia.org/w/index.php?useskin=modern

Translate the Modern skin if it is available at translatewiki.net

Check usage and version matrix; code metrics

Issues:

Open tasks · Report a bug

Modern is one of the skins which was bundled with MediaWiki by default. It is derived from the monobook skin.

Installation[edit | edit source]

This skin is included in the MediaWiki download tarball. You only need to install it separately if you installed MediaWiki using a different method.

  • Download and place the file(s) in a directory called Modern in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadSkin( 'Modern' );
  • YesY Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing skins using wfLoadSkin(), since MediaWiki 1.25. If you need to install this skin in earlier versions, instead of wfLoadSkin( 'Modern' );, you need to use:

require_once "$IP/skins/Modern/Modern.php";

(To run an skin on an earlier release, you may need to download the version of it tagged for that release from Special:SkinDistributor.)