Skin:WMAU

From mediawiki.org
Jump to navigation Jump to search
MediaWiki skins manual - category
OOjs UI icon layout-ltr.svg
WMAU
Release status: beta
WMAU MediaWiki skin screenshot 2021-05-10.png
Author(s) Sam Wilson and Caddie Brain
Latest version 0.3.0 (2020-06-11)
Compatibility policy Master maintains backwards compatibility.
MediaWiki 1.35
License GNU General Public License 3.0 or later
Download
Example https://wikimedia.org.au/wiki/MediaWiki_skin?useskin=wmau
Translate the WMAU skin if it is available at translatewiki.net
Check usage and version matrix;
Issues : Open tasks · Report a bug

The WMAU skin is a reader-first blog-style skin for MediaWiki 1.35 and above. It is being developed for Wikimedia Australia.

Installation[edit]

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

Configuration[edit]

  1. Logos: See $wgLogos.
  2. Site name and email: The name and email address that are displayed in the footer are set in these system messages:
    • mediawiki:wmau-site-full-title
    • mediawiki:wmau-site-email
  3. Menus: There are three menus in the skin: one in the header, and two in the footer. They are all defined in the MediaWiki:Wmau-config.json page, where each is an array of objects containing any of the following keys:
    • page – Wiki page name to link to.
    • url – URL to link to. (Is overridden by page if both keys are present.)
    • icon – Icon to display. Must be available in the resources/images/feathericons directory.
    • title – Tooltip text.
    • text – The link text to display.
    • class – CSS class name(s) to add to the menu item's ‎<li> element.
    For a working example of the menu configuration, see wmau:MediaWiki:Wmau-config.json.