Extension:CreateWiki

From MediaWiki.org
Jump to navigation Jump to search
Other languages:
English • ‎español • ‎português do Brasil • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
CreateWiki
Release status: stable
CreateWiki2019.png
Description Provides three special pages (RequestWiki, RequestWikiQueue and CreateWiki). Provides a function that allows wiki creators to create sites within another wiki site.
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
createwiki, requestwiki
Translate the CreateWiki extension
Check usage and version matrix.

The CreateWiki provides three special pages (RequestWiki, RequestWikiQueue and CreateWiki). The names are self explanatory.

It is based on the CheckUser extension by Tim Starling and Aaron Schulz, and another CreateWiki extension by Kudu.

To report an issue or a bug related with this extension, please use Miraheze Phabricator and tag it with the #CreateWiki project.

Installation[edit]

  • Download and place the file(s) in a directory called CreateWiki in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'CreateWiki' );
    
  • 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 RequestWiki page is used to request a wiki (by default can be done by anyone who is a user). All requests made with Special:RequestWiki are listed at Special:RequestWikiQueue. A "wikicreator" (anyone who has the "createwiki" right) can process these requests and use Special:CreateWiki to create the wikis. By default, users in the "user" group can request wikis.

Configuration[edit]

parameter default comment
$wgCreateWikiCategories false An array of categories used for wiki categorisaion.
$wgCreateWikiCustomDomainPage false Page name to link to for more information on custom domains.
$wgCreateWikiDatabase false Database name of where cw_wikis is stored.
$wgCreateWikiGlobalWiki false Database name of the global wiki. (Where RequestWiki should be enabled and Special:CreateWiki available.)
$wgCreateWikiEmailNotifications false Whether to send emails for new wiki creations.
$wgCreateWikiInactiveWikisWhitelist false Array of wikis which are exempt from being inactive.
$wgCreateWikiNotificationEmail false Email address to send internally generated notification emails to. Does not depend on $wgCreateWikiEmailNotifications!
$wgCreateWikiSQLfiles false SQL files which you want to be created by default when a wiki is created.
$wgCreateWikiSubdomain false The master part of subdomains, e.g. wiki.miraheze.org, miraheze.org is the master part.
$wgCreateWikiUseCategories false Whether to use categories to categorise wikis.
$wgCreateWikiUseClosedWikis false Whether to implement front end logic for closing wikis.
$wgCreateWikiUseCustomDomains false Whether to implement front end logic to handle requesting custom domains for wikis in RequestWiki.
$wgCreateWikiUseInactiveWikis false Whether to implement front end logic for inactive wikis.
$wgCreateWikiUsePrivateWikis false Whether to implement front end logic for marking wikis as private.

See also[edit]