Meza/Installing additional skins

From mediawiki.org

Meza by default will install the Vector skin. This skin has been thoroughly tested and is known to work well with the Semantic MediaWiki and extensions installed with a default Meza installation of MediaWiki.

As of the initial creation of this page the 31.x branch of Meza in the GitHub repository has added the ability to install additional MediaWiki skins from a git repository. Testing of any wiki functionality provided by the added skins is the responsibility of the system administrator. The developer of the skin may have additional insight to any issues but may not be able to assist.

Installing additional skins explained[edit]

Adding skins to a Meza MediaWiki is similar to the method to installing additional extensions. Once a Meza installation is deployed edit:

 /opt/conf-meza/public/MezaLocalSkins.yml

Here is the default contents of the file

---
list: []
  # To add skins to this file, first remove the [] from the line above,
  # then define a skins as follows:
  #
  # - name: Tweeki
  #   repo: https://github.com/djflux/Tweeki.git
  #   type: skins
  #   version: master
  #
  # - name: Modern
  #   repo: https://gerrit.wikimedia.org/r/mediawiki/skins/Modern.git
  #   type: skins
  #   version: "{{ mediawiki_default_branch }}"
  #
  # - name: CologneBlue
  #   repo: https://gerrit.wikimedia.org/r/mediawiki/skins/CologneBlue.git
  #   type: skins
  #   version: "{{ mediawiki_default_branch }}"
  #
  # - name: MonoBook
  #   repo: https://gerrit.wikimedia.org/r/mediawiki/skins/MonoBook.git
  #   type: skins
  #   version: "{{ mediawiki_default_branch }}"

Add the skin definition in valid YAML, save MezaLocalSkins.yml and then redeploy the Meza environment (e.g. sudo meza deploy monolith).

Example MezaLocalSkins.yml[edit]

---
list:
  - name: Tweeki
    repo: https://github.com/djflux/Tweeki.git
    type: skins
    version: master