Jump to content

Tillägg:ManageWiki

From mediawiki.org
This page is a translated version of the page Extension:ManageWiki and the translation is 34% complete.
Manual för MediaWikitillägg
ManageWiki
Utgivningsstatus: stabil
Beskrivning Allows wiki administrators to change many aspects of their configuration.
Författare Southparkfan, John Lewis, MacFan4000, Reception123, Universal Omega
Ansvarig(a) Miraheze system administrators
Senaste versionen continuous updates
MediaWiki 1.36.0+
PHP 7.2+
Förändringar i databasen Ja
Composer miraheze/manage-wiki
Tabeller mw_namespaces
mw_permissions
mw_settings
Licenser GNU General Public License 3.0
Ladda ner
  • $wgManageWikiPermissionsDisallowedGroups
  • $wgManageWikiPermissionsAdditionalAddGroupsSelf
  • $wgManageWikiNamespacesDisallowedNames
  • $wgManageWikiExtensions
  • $wgManageWikiPermissionsAdditionalRights
  • $wgManageWikiExtensionsDefault
  • $wgManageWikiHelpUrl
  • $wgManageWiki
  • $wgManageWikiNamespacesAdditional
  • $wgManageWikiForceSidebarLinks
  • $wgManageWikiPermissionsAdditionalRemoveGroups
  • $wgManageWikiPermissionsPermanentGroups
  • $wgManageWikiPermissionsDefaultPrivateGroup
  • $wgManageWikiPermissionsDisallowedRights
  • $wgManageWikiPermissionsAdditionalRemoveGroupsSelf
  • $wgManageWikiSettings
  • $wgManageWikiPermissionsAdditionalAddGroups

  • managewiki-core
  • managewiki-editdefault
  • managewiki-extensions
  • managewiki-namespaces
  • managewiki-permissions
  • managewiki-restricted
  • managewiki-settings
  • remotewiki
Översätt tillägget ManageWiki

The ManageWiki extension provides several additional special pages for wiki management:

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

För detaljerad information, se denna sida.

Varning Varning: 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

Använd Miraheze Phabricator för att rapportera problem eller buggar. See here for the workboard.

Installation

  • Ladda först ner och installera det separata tillägget CreateWiki .
  • Ladda ner och placera filen/filerna i en katalog som heter ManageWiki i din extensions/-mapp.
  • Lägg till följande kod längst ner i din LocalSettings.php -fil:
    wfLoadExtension( 'ManageWiki' );
    
  • Kör uppdateringsskriptetsom automatiskt kommer skapa de nödvändiga databastabellerna som tillägget behöver.
  • Yes Klart – Ta dig till Special:Version på din wiki för att bekräfta att tillägget har installerats ordentligt.

Användning

The ManageWiki page is used to manage several aspects of a wiki's settings. As mentioned above, users with the appropriate permissions can manage settings on their wiki, enable/disable extensions and also change permissions (wgGroupPermissions) directly from their 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

Konfigurering

parameter förinställt kommentar
$wgManageWiki [ 'cdb' => false, 'core' => false, 'extensions' => false, 'namespaces' => false, 'permissions' => false, 'settings' => false, ]; Vilka moduler i ManageWiki som borde aktiveras på wikin.
$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.

Se även