Skip to content

Repository files navigation

CustomMessages

Extension for allowing easy input of JavaScript messages that can be mantained in an easy way

Requires MediaWiki 1.43 or later.

Installation

Place the extension in extensions/CustomMessages and add to LocalSettings.php:

wfLoadExtension( 'CustomMessages' );

Configuration

// Namespaces to be used for storing information
$wgCustomMessagesNamespaces = array( NS_HELP );

// Namespace type. Default is ini style. Only one available so far.
$wgCustomMessagesNamespacesTypes = array( NS_HELP  => "ini" );

Examples

In Help:Event

;add=Clicking here adds new features
;properties=This option allows the acquisition of new properties

The two examples above are available via

  • data-cm-help-event-add
  • data-cm-help-event-properties

About

MediaWiki extension for providing custom messages

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages