MediaWiki skin 2018

Clone this repo:
  1. 5939f47 build: Remove tests/phan/issues from .gitignore by Umherirrender · 7 weeks ago master
  2. 6994d76 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 by libraryupgrader · 9 weeks ago
  3. 1e4b2ad build: Updating npm dependencies by libraryupgrader · 3 months ago
  4. 3b898e9 Merge "build: Updating npm dependencies" by Umherirrender · 3 months ago
  5. fe2b1f7 Update to MediaWiki CodeSniffer 44.0.0 and make pass by thiemowmde · 4 months ago

2018 MediaWiki skin

2018 is a proof of concept MediaWiki skin designed with the following goals:

  • Provide a clean, modern and unobtrusive reading environment
  • Promote readability through page layout and type
  • Enhance the reading experience by providing context and supplementary tools
  • Be fully accessible to users with visual or motor impairments
  • Render properly on a broad range of user agents

We intend to do that by:

  • Using off the shelf technologies and UI components
  • Segmenting content into Schema-friendly, HTML5 semantic elements
  • Implementing a progressively enhancing design with a mix of server-side and client-side logic, with as much of the presentation as possible handled by CSS

Features

Design overview Design breakdown Preview feature Embedded charts Tools menu Sortable page history

Installation

Prerequisites

To deploy this skin either for development or production purposes (not recommended) you will need:

  1. A running instance of MediaWiki 1.30.0 or higher
  2. npm
  3. Composer

Fetching the skin

From your MediaWiki root, run the following commands:

git clone https://gitlab.com/morags/mediawiki-2018-skin.git skins && cd skins/2018
npm install && npm run build

Enabling the skin in MediaWiki

Add the following line to LocalSettings.php, which is located in your MediaWiki root:

require_once "$IP/skins/2018/2018.php";

You can then enable the skin per user through the MediaWiki GUI (Preferences > Appearance > Skin), or set it as default for all users by adding the following to LocalSettings.php:

$wgDefaultSkin = "2018";

Testing

Frontend tests are covered by npm and Grunt:

npm test

Backend tests are covered by Composer:

composer test

License

The skin is released under the MIT license. For more details see the LICENSE file.

  NODES
composer 3
html5 1
os 5
server 1
text 1
Users 2
visual 1