扩展:白名单页面

From mediawiki.org
This page is a translated version of the page Extension:Whitelist Pages and the translation is 100% complete.
MediaWiki扩展手册
Whitelist Pages
发行状态: 稳定版
实现 other (invalid type)
描述 允许将私人wiki上的页面列入白名单,以便匿名用户可以阅读所述页面
作者 Jack Phoenix
Misza
最新版本 0.4.0 (2015-11-19)
MediaWiki 1.39.6+
数据库更改
许可协议 公有領域
下載
示例 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.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的WhitelistPages目录内。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WhitelistPages
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'WhitelistPages' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

MediaWiki:Public read whitelist should look like:

Main Page
Special:RequestAccount

Page names should have spaces, not underscores between words.


参见