mediawiki/custommessages
Composer 安装命令:
composer require mediawiki/custommessages
包简介
MediaWiki extension to print custom messages via tooltips or other JavaScript enabled methods
README 文档
README
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-06-15