Jump to content

Skin:WebPlatform

From mediawiki.org
MediaWiki skins manual - category
WebPlatform
Release status: beta
Author(s)
License No license specified
Download
Example Example on Skins wiki
Public wikis using 4 (Ranked 195th)
Public wikis using as default skin 1
Translate the WebPlatform skin if it is available at translatewiki.net
Issues : Open tasks · Report a bug

The WebPlatform skin is a MediaWiki skin based on the Vector skin and written originally for the now-discontinued WebPlatform.org project. The skin was popular from 2012 to 2015 and supported by WebPlatform stewards, which included Apple, Facebook, Google, HP, Intel, Microsoft, Mozilla, Nokia, and Opera. Together these organizations collaborated with W3C on improving open web standards and documenting said standards.

Because this skin was purpose-written for one wiki only, the interface parts originally contained hard-coded references to WebPlatform.org. As of skin version 1.3, the vast majority of these are gone and the only parts specific to WebPlatform.org which still need to be generalized are in the page footer, where there's the list of aforementioned "steward" organizations' logos and the WebPlatform.org wordmark.

The skin is responsive and suitable for a wide variety of devices (e.g. smartphones, tablets, traditional desktop and laptop computers, ...).

Installation

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

Configuration variables

[edit]
  • $wgWebPlatformEnableBreadcrumbs — (since skin version 1.3) controls whether the built-in breadcrumbs navigation is functional (true, the default) or not (false). Even if set to false, the root breadcrumb item (which displays the site name) will still be rendered.

Customizing the various menus

[edit]

The skin has two editable menus, on top of the page and at the bottom. By default the top menu has content but the bottom one doesn't. Both use syntax similar to that of the MediaWiki:Sidebar interface message.

  • MediaWiki:Webplatform-sitenav — controls the top navigation links on the right side of the site logo (on left-to-right interfaces).
  • MediaWiki:Webplatform-bottom-footer — the bottom navigation menu, empty by default. If links are specified here, they will be shown at the bottom of the article, above the footer (which contains the copyright icon (if any) and the stewards' logos).