Extension:ManageWiki

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎español • ‎ไทย • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
ManageWiki
Release status: beta
SpecialManageWiki.png
Description Provides the Special page Special:ManageWiki.
Author(s) Southparkfantalk
Maintainer(s) John Lewis/other sysadmins of Miraheze
Latest version continuous updates
MediaWiki 1.29+
PHP 5.6+
Database changes Yes
License GNU General Public License 3.0
Download
Added rights
managewiki, managewiki-editdefault, managewiki-restricted
Hooks used
LoadExtensionSchemaUpdates
SetupAfterCache
SkinBuildSidebar
Hooks provided
CreateWikiStateClosed
CreateWikiStateOpen
CreateWikiStatePrivate
CreateWikiStatePublic
ManageWikiModifiedSettings
Translate the ManageWiki extension
Check usage and version matrix.

The ManageWiki extension provides several special pages for wiki management: Special:ManageWiki, Special:ManageWikiExtensions, Special:ManageWikiSettings and Special:ManageWikiPermissions. The names are self explanatory.

For detailed information please see this detailed page.

For reporting an issue or a bug, please use Miraheze Phabricator.

Installation[edit]

  • Download and install CreateWiki.
  • Download and place the file(s) in a directory called ManageWiki in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'ManageWiki' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

The ManageWiki page is used to manage several aspects of a wiki's settings (which can be done by any user with the managewiki permission). 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. A "wikicreator" or anyone who has the "managewiki" right can change wiki settings and use Special:ManageWiki to manage the wikis.

Configuration[edit]

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.

See also[edit]