mwstake/mediawiki-component-notifications

Provides common user interface elements and customizeable stylings

2.0.2 2024-02-13 08:12 UTC

This package is auto-updated.

Last update: 2024-05-08 07:24:24 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 achived 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.