mwstake/mediawiki-component-notifications

Provides common user interface elements and customizeable stylings

2.0.1 2022-02-07 15:53 UTC

This package is auto-updated.

Last update: 2022-05-07 16:39:55 UTC


README

Notifications for MediaWiki

This code is meant to be executed within the MediaWiki application context. No standalone usage is intended.

Use in a MediaWiki extension

Add "mwstake/mediawiki-component-notifications": "~2.0" to the require section of your composer.json file.

Since 2.0 explicit initialization is required. This can be archived by

  • either adding "callback": "mwsInitComponents" to your extension.json/skin.json
  • or calling mwsInitComponents(); within you extensions/skins custom callback method

See also mwstake/mediawiki-componentloader.