Skin:Modern Skylight

MediaWiki skins manual - category
Modern Skylight
Release status: unmaintained
Description Modern skin for MediaWiki
Author(s) Fenet-, cafeinlove
Latest version v1.2 (2015-09-05)
MediaWiki 1.25.x - 1.29.x only
License BSD 2-clause "Simplified" License
Translate the Modern Skylight skin if it is available at

The Modern Skylight is modern-look skin which was originally designed for wiki called 'wiki-chan'. This skin is maintained on github page. If you get trouble, please let us know via issue tracker.

This skin uses Simple Search which is originally developed in Skin:Vector.

This skin is tested under MediaWiki version 1.25.1. You can use this skin at version 1.19.+, but it is not recommended.


  • Download and place the file(s) in a directory called ModernSkylight in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadSkin( 'ModernSkylight' );
  • Yes 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( 'ModernSkylight' );, you need to use:

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

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


There are two hooks available, ModernSkylightNavigation and ModernSkylightUseRightSidebar.

You may configure top menu bar by editing the wiki message MediaWiki:ModernSkylightMenubar. Nomally it formed unordered list * Text | Link | Option. You can use two-level list to make dropdown menu, and use - to make separator. Option is one of these:

  • accesskey={key}: Set keyboard shortcut.
  • shortcut={key}: Show keyboard shortcut notice. It also set accesskey.
  • backlink=yes: Make backlink menu. This option ignores link.
  • admin=yes: Displays only to administrators.

You can combine several options using &. Here's an example of MediaWiki:ModernSkylightMenubar.

* Main Page | Main Page | accesskey=z
* Random | Special:Random | accesskey=x
* Tools | Special:SpecialPages
** Recent Changes | Special:RecentChanges | shortcut=r
** Watchlist | Special:Watchlist | shortcut=l
** -
** Active User | Special:ActiveUsers
** -
** What links here | | shortcut=b&backlink=yes
** User Merge | Special:UserMerge | admin=yes

Also, you may add footer by editing the wiki message MediaWiki:ModernSkylightFooter. Here's an example.

<div class="column">
    <div class="column-head">Title here</div>
    <div class="column-body">
        <div class="entry">
            [[Main page|Main link here]]
            <p>Description about your site</p>
        <div class="entry">
            [[Page A|Another link here]]
            <p>Description about your site</p>

For more information, please check GitHub page.