扩展:管理Wiki

This page is a translated version of the page Extension:ManageWiki and the translation is 12% complete.
Outdated translations are marked like this.
MediaWiki扩展手冊
OOjs UI icon advanced-invert.svg
ManageWiki
發佈狀態: 穩定版本
ManageWiki screenshot 2022.png
描述 Allows wiki administrators to change many aspects of their configuration.
维护者 Miraheze system administrators
最新版本 continuous updates
MediaWiki 1.36.0+
PHP 7.2+
数据库更改
Composer miraheze/managewiki
许可协议 GNU通用公眾授權條款3.0
下載
  • $wgManageWikiPermissionsBlacklistGroups
  • $wgManageWikiForceSidebarLinks
  • $wgManageWikiPermissionsAdditionalAddGroupsSelf
  • $wgManageWikiSettings
  • $wgManageWikiNamespacesBlacklistedNames
  • $wgManageWikiExtensions
  • $wgManageWikiPermissionsBlacklistRights
  • $wgManageWikiPermissionsAdditionalRights
  • $wgManageWikiExtensionsDefault
  • $wgManageWikiHelpUrl
  • $wgManageWiki
  • $wgManageWikiNamespacesAdditional
  • $wgManageWikiPermissionsAdditionalRemoveGroups
  • $wgManageWikiPermissionsPermanentGroups
  • $wgManageWikiPermissionsDefaultPrivateGroup
  • $wgManageWikiPermissionsAdditionalRemoveGroupsSelf
  • $wgManageWikiPermissionsAdditionalAddGroups

  • managewiki
  • managewiki-editdefault
  • managewiki-restricted
Public wikis using 225 (Ranked 392nd)
翻譯ManageWiki扩展

管理Wiki提供几个特殊页面:Special:ManageWiki、Special:ManageWiki/extensions、Special:ManageWiki/settings、Special:ManageWiki/namespaces和Special:ManageWiki/permissions。页面的作用和字面意思相同。

  • Special:ManageWiki
  • Special:ManageWiki/extensions
  • Special:ManageWiki/settings
  • Special:ManageWiki/namespaces
  • Special:ManageWiki/permissions

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

警告 警告: ManageWiki was designed and created specifically for the Miraheze wiki farm, and as such, may not always work on different sites or configurations. While efforts have been made to make it more usable by non-Miraheze wiki sites, this extension is still a primarily Miraheze-focused extension and aligns to Miraheze's configuration and style.

Issues and bug reporting

要报告问题或错误,请使用Miraheze PhabricatorSee here for the workboard.

安裝

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

用法

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

All settings changes are listed at Special:Log/managewiki. Anyone who has the managewiki right can change wiki settings and use Special:ManageWiki but you only need the "read" right to view configuration.

Configuration

parameter default comment
$wgManageWiki [ 'cdb' => false, 'core' => false, 'extensions' => false, 'namespaces' => false, 'permissions' => false, 'settings' => false, ]; Which modules of ManageWiki should be enabled on the wiki.
$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.
$wgManageWikiPermissionsDisallowedGroups false An array of usergroups which ManageWiki can't manage. Will prevent users creating same named groups as well.
$wgManageWikiPermissionsDisallowedRights [ '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 sidebar.

參見