Skin:WMAU

MediaWiki skins manual - category
WMAU
Release status: beta
Author(s) Sam Wilson and Caddie Brain
Latest version 0.6.0 (2023-06-25)
Compatibility policy Master maintains backwards compatibility.
MediaWiki 1.37
License GNU General Public License 3.0 or later
Download
Example https://wikimedia.org.au/wiki/MediaWiki_skin
Quarterly downloads 16 (Ranked 25th)
Public wikis using 13 (Ranked 92nd)
Public wikis using as default skin 1
Translate the WMAU skin if it is available at translatewiki.net
Issues : Open tasks · Report a bug

The WMAU skin is a reader-first blog-style skin. It was 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 file:
    wfLoadSkin( 'WMAU' );
    
  •   Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

Configuration

edit
  1. Logos: See $wgLogos.
  2. Footer blurb: The text that is displayed in the footer is set in the MediaWiki:Wmau-footer-blurb system message. It can be any wikitext.
  3. Menus: There are two menus in the skin: one in the header, and one in the footer. They are both 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. A filename of a file uploaded to the wiki (or Commons if InstantCommons is in use), or a file in the skin's resources/images/feathericons directory. If a wiki file is used, it doesn't need the File: namespace prefix.
    • icon_width – Width, in pixels, of the icon. Default to 24.
    • 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.

See also

edit