扩展:白名单页面
Appearance
Whitelist Pages 发行状态: 稳定版 |
|
---|---|
实现 | MyWiki |
描述 | 允许将私人wiki上的页面列入白名单,以便匿名用户可以阅读所述页面 |
作者 | Jack Phoenix Misza |
最新版本 | 0.4.0 (2015-11-19) |
MediaWiki | 1.43.0+ |
数据库更改 | 否 |
许可协议 | 公有領域 |
下載 | |
示例 | ShoutWiki |
前往translatewiki.net翻譯Whitelist Pages扩展 | |
問題 | 开启的任务 · 报告错误 |
Whitelist Pages is a MediaWiki extension that allows site administrators to modify the value of the $wgWhitelistRead global by editing the system message called MediaWiki:Public read whitelist
.
Whitelisted pages in the MediaWiki:Public read whitelist
system message are separated by newlines.
The extension was written by Jack Phoenix and Misza for ShoutWiki.
安裝
- 下载文件,并将解压后的
WhitelistPages
文件夹移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WhitelistPages - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'WhitelistPages' );
- 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
MediaWiki:Public read whitelist
should look like:
- Main Page
- Special:RequestAccount
Page names should have spaces, not underscores between words.
参见
- Extension:GroupWhitelist - A similar extension that allows configuring which rights and groups are whitelisted for the pages.
- Extension:InternalWhitelist - Nearly identical extension