Extension:ManageWiki

From Linux Web Expert

MediaWiki extensions manual
ManageWiki
Release status: stable
File:ManageWiki screenshot 2022.png
Description Allows wiki administrators to change many aspects of their configuration.
Author(s) Southparkfan, John Lewis, MacFan4000, Reception123, Universal Omega
Maintainer(s) Miraheze system administrators
Latest version continuous updates
MediaWiki 1.36.0+
PHP 7.2+
Database changes Yes
Composer miraheze/manage-wiki
Tables mw_namespaces
mw_permissions
mw_settings
License GNU General Public License 3.0
Download
  • $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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the ManageWiki extension

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

For detailed information please see this detailed page.

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> 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

For reporting an issue or a bug, please use Miraheze Phabricator. See here for the workboard.

Installation

  • First, download and install the separate extension CreateWiki .
  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>ManageWiki</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ManageWiki' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Usage

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

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/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.

See also