扩展:Info
Info 发布状态: 稳定版 |
|
---|---|
实现 | 用户界面 |
描述 | Adds a info tab on all normal pages, allowing for quick info displaying |
作者 | Suriyaa Sundararuban (Suriyaa Kudotalk) |
维护者 | iSC Inc. |
最新版本 | 1.0.0 (2017-09-04) |
MediaWiki | 1.29+ |
PHP | 5.6+ |
数据庫更新 | 否 |
许可协议 | GNU通用公眾授權條款2.0 or later |
下载 | |
翻译Info扩展如果在translatewiki.net可用 | |
检查使用和版本矩阵。 |
The Info extension adds an info tab on all normal pages, that allows us to display the site information quickly.
安装
- 下载最新发布版本文件,并将其放置在您
extensions/
文件夹中的Info
目录内。
- 将下列代码放置在您的LocalSettings.php的底部:
require_once "$IP/extensions/Info/Info.php";
- 配置要求
- 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。
配置
This extension comes with an extra user right called "info" to allow fine grained control of its usage. By default it is assigned to the "user" user group, i.e. to all users with an account who are logged in. In case you would like to also assign it to anonymous users for them to make use of page info display functionality without the need of a post add the following code to your "LocalSettings.php" file right after invoking this extension:
$wgGroupPermissions['*']['info'] = true;
Revoking the permission for the "user" user group and granting it at the same time only to the "sysop" user group may be done by adding the following two lines:
$wgGroupPermissions['user']['info'] = false;
$wgGroupPermissions['sysop']['info'] = true;
<translate> This extension was migrated from git.suriyaa.tk code and checked into a GitHub software repository.</translate> |