扩展:管理Wiki

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:ManageWiki and the translation is 22% complete.

Outdated translations are marked like this.
Other languages:
English • ‎dansk • ‎español • ‎ไทย • ‎中文 • ‎日本語
MediaWiki扩展手册
Crystal Clear action run.svg
ManageWiki
发布状态: 测试
SpecialManageWiki.png
描述 提供特殊页面Special:ManageWiki。
作者 Southparkfantalk
维护者 John Lewis/other sysadmins of Miraheze
最新版本 continuous updates
MediaWiki 1.29+
PHP 5.6+
数据更新
许可协议 GNU General Public License 3.0
下载
添加的权限
managewiki, managewiki-editdefault, managewiki-restricted
使用的钩子
LoadExtensionSchemaUpdates
SetupAfterCache
SkinBuildSidebar
提供的钩子
CreateWikiStateClosed
CreateWikiStateOpen
CreateWikiStatePrivate
CreateWikiStatePublic
ManageWikiModifiedSettings
翻译ManageWiki扩展
检查使用和版本矩阵。

管理Wiki提供两个特殊页面:Special:ManageWiki和Special:ManageWikiExtensions。这些名字是不言自明的。

有关详细信息,请参阅此详细页面

要报告问题或错误,请使用Miraheze Phabricator

安装

  • Download and install CreateWiki.
  • Download文件,并将其放置在您extensions/文件夹中的ManageWiki目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'ManageWiki' );
    
  • 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

用法

ManageWiki页面用于管理Wiki的设置(可以由具有managewiki权限的任何用户完成)。所有设置更改都列在Special:Log/farmer中。“wikicreator”或拥有“managewiki”权限的任何人都可以更改wiki设置并使用Special:ManageWiki来管理wiki。

All settings changes are listed at Special:Log/managewiki. A "wikicreator" or anyone who has the "managewiki" right can change wiki settings and use Special:ManageWiki to manage the wikis.

Configuration

parameter default comment
$wgManageWiki array( 'cdb' => false, 'core' => false, 'extensions' => false, 'namespaces' => false, 'permissions' => false, 'settings' => false, ); Which modules of ManageWiki should be enabled on the wiki.
$wgManageWikiBackendModules array( 'cdb', 'core' ); List of backend ManageWiki modules. Shouldn't be changed.
$wgManageWikiCDBDirectory false This will enable CDB capabilities in ManageWiki.
$wgManageWikiExtensions false An array of extensions enabled within the wiki farm.
$wgManageWikiExtensionsDefault false An array of default extensions.
$wgManageWikiSettings false An array of settings that can be managed through Special:ManageWiki
$wgManageWikiPermissionsAdditionalAddGroups false ManageWiki's version of $wgAddGroups.
$wgManageWikiPermissionsAdditionalRemoveGroups false ManageWiki's version of $wgRemoveGroups.
$wgManageWikiPermissionsAdditionalRights false ManageWiki's version of $wgGroupPermissions.
$wgManageWikiPermissionsBlacklistGroups false An array of usergroups which ManageWiki can't manage. Will prevent users creating same named groups as well.
$wgManageWikiPermissionsBlacklistRenames false An array of groups that can not be renamed as they would cause issues.
$wgManageWikiPermissionsBlacklistRights array( 'managewiki-restricted', ); An array of user rights that ManageWiki can not manage and assign on wiki.
$wgManageWikiPermissionsDefaultPrivateGroup false Name of a group to add to private wikis. False disables this function.
$wgManageWikiHelpUrl false URL of a help page for ManageWiki on the local wiki farm.
$wgManageWikiSidebarLinks false Whether to show quick links to ManageWiki pages in the side bar.

参见