扩展:管理Wiki
Outdated translations are marked like this.
发行状态: 稳定版 |
|
---|---|
描述 | Allows wiki administrators to change many aspects of their configuration. |
作者 | Southparkfan, John Lewis, MacFan4000, Reception123, Universal Omega |
维护者 | Miraheze system administrators |
最新版本 | continuous updates |
MediaWiki | 1.36.0+ |
PHP | 7.2+ |
数据库更改 | 是 |
Composer | miraheze/manage-wiki |
表 | mw_namespaces mw_permissions mw_settings |
许可协议 | GNU通用公眾授權條款3.0 |
下載 | |
|
|
|
|
翻译ManageWiki扩展 | |
ManageWiki扩展为 wiki 管理提供了几个额外的特殊页面:
- Special:ManageWiki/core
- Special:ManageWiki/extensions
- Special:ManageWiki/settings
- Special:ManageWiki/namespaces
- Special:ManageWiki/permissions
有关详细信息,请参阅此详细页面。
Issues and bug reporting
要报告问题或错误,请使用Miraheze Phabricator。 See 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-core
right can change wiki settings and use Special:ManageWiki/core but you only need the "read" right to view configuration.
As indicated in the table below, each of the other rights corresponds to a respective special page.
Right | Special page |
---|---|
managewiki-core
|
Special:ManageWiki/core |
managewiki-extensions
|
Special:ManageWiki/extensions |
managewiki-namespaces
|
Special:ManageWiki/namespaces |
managewiki-permissions
|
Special:ManageWiki/permissions |
managewiki-settings
|
Special:ManageWiki/settings |
配置
参数 | 默认 | 评论 |
---|---|---|
$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/settings |
$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. |
参见
This extension is maintained by Miraheze. Some Miraheze extensions are very Miraheze-specific and you may encounter issues you don't see on Miraheze. To report a bug or request a configuration change, please do so on the Miraheze Issue Tracker and not on Wikimedia Phabricator. |
此扩展在以下wiki农场/托管网站和/或软件包中提供: 這不是一份權威名單。 即使某些wiki农场/托管网站和/或软件包未在这里列出,它们也可能提供此扩展。 请检查你的wiki农场/托管网站或软件包以确认提供情况。 |
Categories:
- Stable extensions/zh
- Extensions with invalid or missing type/zh
- Extensions supporting Composer/zh
- GPL licensed extensions/zh
- Extensions in GitHub version control/zh
- Extensions which add rights/zh
- CreateWikiCreation extensions/zh
- CreateWikiDeletion extensions/zh
- CreateWikiRename extensions/zh
- CreateWikiStatePrivate extensions/zh
- CreateWikiStatePublic extensions/zh
- CreateWikiTables extensions/zh
- GetPreferences extensions/zh
- LoadExtensionSchemaUpdates extensions/zh
- SetupAfterCache extensions/zh
- SkinBuildSidebar extensions/zh
- All extensions/zh
- Extensions included in Miraheze/zh
- Extensions included in Telepedia/zh
- Extensions included in WikiForge/zh
- Extensions by Miraheze/zh
- Wiki farm extensions
- Site management extensions/zh