Cavendish skin is a MediaWiki skin originally created by and for Mozilla for their wiki.

Clone this repo:
  1. de4892e build: Updating composer dependencies by libraryupgrader · 8 months ago REL1_43 master
  2. 65959a6 Change use of class ResourceLoaderSkinModule by Umherirrender · 11 months ago REL1_42
  3. 685ae13 skin: Update class name for SkinModule, renamed in MW 1.39 by James D. Forrester · 11 months ago
  4. e961ad0 skin.json: Use tabs for line indent by Umherirrender · 1 year, 10 months ago REL1_41
  5. e9b1d4f Per skin.json, update the version number passed to the "cavendish-skin-info" i18n msg by Jack Phoenix · 2 years ago REL1_40

Cavendish

Cavendish MediaWiki skin version 2.6.0

Compatibility

This version of the skin is compatible with MW 1.35+

Customization

There are different options that can be set in LocalSettings.php.

$wgLogos['1x-options'] = [ 'width' => 10, 'height' => 20, 'margin' => 10 ]

  • width of the logo as a number in px
  • height of the logo as a number in px
  • offset on top of the logo

$wgCavendishSiteWidth fixed width of the content area, if not set it's dynamic (default is false, that means dynamic)

$wgCavendishQRCode Whether to add QR code to all pages (true) or not (false)

$wgCavendishQRUrlAdd Used to track campaign for entry through QR Code in analytics software (e.g. Google Analytics, Piwik, ...); default is "?pk_campaign=qr-code"

  NODES
composer 1
os 2