mediawiki/collapsible-vector
Composer 安装命令:
composer require mediawiki/collapsible-vector
包简介
Improves on the user interface elements of the Vector skin
关键字:
README 文档
README
Vector provides enhancements to the Vector skin
This extension requires MediaWiki 1.35+.
Example LocalSettings.php additions
wfLoadExtension( 'CollapsibleVector' );
Before configuring this extension, see extension.json and become familiar with the initial state and structure of the $wgCollapsibleVector configuration variable. Essentially it's an array of arrays, keyed by feature name, each containing global and user keys with boolean values. "global" indicates that it should be turned on for everyone always, while user indicates that users should be allowed to turn it on or off in their user preferences.
To enable a preference by default but still allow users to disable it in preferences, use something like...
$wgDefaultUserOptions['collapsiblevector-collapsiblenav'] = 1;
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2014-11-22