扩展:Info

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Info and the translation is 45% complete.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎português • ‎தமிழ் • ‎සිංහල • ‎中文 • ‎日本語 • ‎한국어
MediaWiki扩展手册
OOjs UI icon advanced.svg
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.

安装

配置

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;