Skin:Slate

From MediaWiki.org
Jump to: navigation, search


MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Slate

Release status: unmaintained

Slate MediaWiki Skin.png
License GPL-2.0+
Download
Example Demo

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

Check usage and version matrix;

Issues:

Open tasks · Report a bug

Slate is a skin!

Goals
Changes
  • Remove the gradients
  • Remove weird IE hacks and other cruft
  • Responsiveness
  • Move page-specific links below the page title
    • Consolidate?
  • Maybe move search
  • Figure out the sidebar situation
  • Personal tools urgh
Next
  • Security review of skin by Chris (phabricator:T89214)
  • Get skin deployed to Beta Labs
  • Get rid of the border around the content
    • Grids provide structure without the need of color blocking and lines
  • Write a small JavaScript script
    • Allows one-click opt-in to using Slate
    • Should work with both Vector and Monobook
    • Link in the footer for now is fine
    • Bonus: add a message (or even a link) to undo the skin switch
  • Send e-mail to wikitech-ambassadors or Tech/News about new alpha skin to test
  • Static header toolbar
    • This needs a better name

Installation[edit]

  • Download and place the file(s) in a directory called Slate in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/skins/Slate/Slate.php";
$wgSlateUseSimpleSearch = true;
$wgSlateUseIconWatch = true;
  • YesY Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

Configuration options[edit]

wgSlateUseSimpleSearch[edit]

  • Search form look.
    • - true = use an icon search button
    • - false = use Go & Search buttons
$wgSlateUseSimpleSearch = true;

wgSlateUseIconWatch[edit]

  • Watch and unwatch as an icon rather than a link.
    • - true = use an icon watch/unwatch button
    • - false = use watch/unwatch text link
$wgSlateUseIconWatch = true;