Erweiterung:CreateWiki

This page is a translated version of the page Extension:CreateWiki and the translation is 30% complete.
MediaWiki-Erweiterungen
OOjs UI icon advanced-invert.svg
CreateWiki
Freigabestatus: stabil
CreateWiki2019.png
Beschreibung Bietet drei Spezialseiten (RequestWiki, RequestWikiQueue und CreateWiki). Provides a function that allows wiki creators to create sites within another wiki site.
Betreuer Miraheze system administrators
Letzte Version continuous updates
MediaWiki 1.37.0+
PHP 7.4+
Datenbankänderungen Ja
Composer miraheze/createwiki
Tabellen cw_comments
cw_requests
cw_wikis
Lizenz GNU General Public License 3.0
Herunterladen
  • $wgCreateWikiBlacklistedSubdomains
  • $wgCreateWikiDatabase
  • $wgCreateWikiDatabaseClusters
  • $wgCreateWikiStateDays
  • $wgCreateWikiAIThreshold
  • $wgCreateWikiUseExperimental
  • $wgCreateWikiCacheDirectory
  • $wgCreateWikiCollation
  • $wgCreateWikiCategories
  • $wgCreateWikiUseCategories
  • $wgCreateWikiUseCustomDomains
  • $wgCreateWikiUseJobQueue
  • $wgCreateWikiUseClosedWikis
  • $wgCreateWikiUseInactiveWikis
  • $wgCreateWikiPersistentModelFile
  • $wgCreateWikiSQLfiles
  • $wgCreateWikiDatabaseClustersInactive
  • $wgCreateWikiUseEchoNotifications
  • $wgCreateWikiSubdomain
  • $wgCreateWikiShowBiographicalOption
  • $wgCreateWikiInactiveExemptReasonOptions
  • $wgCreateWikiUsePrivateWikis
  • $wgCreateWikiNotificationEmail
  • $wgCreateWikiPurposes
  • $wgCreateWikiCustomDomainPage
  • $wgCreateWikiEmailNotifications
  • $wgCreateWikiGlobalWiki
  • $wgCreateWikiCannedResponses
createwiki, requestwiki
Übersetze die CreateWiki-Erweiterung

CreateWiki is an extension which allows users to request wikis or create wikis. It provides three special pages, RequestWiki (for requesting wikis), RequestWikiQueue (for viewing the wiki request queue and handling wiki requests) and CreateWiki (which allows some users to create wikis).

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

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

Warnung Warnung: CreateWiki was designed specifically for Miraheze and as such, may not always work on different setups. While efforts have been made to make it more usable by non-Miraheze wikis, this extension is still a primarily Miraheze-focused extension and tailors to Miraheze's setup.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens CreateWiki im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php hinzufügen:
    wfLoadExtension( 'CreateWiki' );
    
  • Führe das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
  •   Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Verwendung

All users (those in the user group by default) can request wikis at Special:RequestWiki. Once they've requested a wiki, they will be assigned a queue number and can check their request's status at Special:RequestWikiQueue.

Those with the createwiki right can also check Special:RequestWikiQueue and handle all wiki creation requests. At that page, they can either approve or decline wiki requests and also change the visibility of a request. Everyone can check RequestWikiQueue at any time to see all requests ever submitted or filter by approved, declined or in review tasks. Users can also filter by user.

Those with the createwiki right can also bypass Special:RequestWiki and manually create wikis themselves at Special:CreateWiki.

Konfiguration

Parameter Voreinstellung Anmerkung
$wgCreateWikiDisallowedSubdomains [] Regex to match for disallowed subdomains.
$wgCreateWikiCacheDirectory "" The path to store CreateWiki cache files at. This configuration variable is required.
$wgCreateWikiCannedResponses false Array of default responses to give. If this is enabled, free-text options are removed.
$wgCreateWikiCategories false An array of categories used for wiki categorisaion.
$wgCreateWikiCollation "" Sets the collation to use when creating the wiki database. Example is 'DEFAULT SET utf8mb4 COLLATE utf8mb4_unicode_ci'
$wgCreateWikiCustomDomainPage false Page name to link to for more information on custom domains.
$wgCreateWikiDatabase false Database name of where cw_wikis is stored.
$wgCreateWikiDatabaseClusters [] Array. LBFactory clusters which CreateWiki considers active.
$wgCreateWikiDatabaseClustersInactive [] Array. LBFactory clusters which are not considered active for use of automatic load-balancing.
$wgCreateWikiStateDays
 'inactive' => 45,
 'closed' => 15,
 'removed' => 120,
 'deleted' => 7,
Array. Integer values in days when a wiki is deemed inactive, closed, removed (hidden) and deleted. Number of days passed since last change - not from initial inactivity.
$wgCreateWikiEmailNotifications false Whether to send emails for new wiki creations.
$wgCreateWikiNotificationEmail root@localhost Email address to send internally generated notification emails to. Does not depend on $wgCreateWikiEmailNotifications!
$wgCreateWikiGlobalWiki false Database name of the global wiki. (Where RequestWiki should be enabled and Special:CreateWiki available.)
$wgCreateWikiInactiveExemptReasonOptions [] Array of possible options for marking a wiki as exempt from inactivity.
$wgCreateWikiPurposes [] Array. List of identified purposes to show when requesting a wiki.
$wgCreateWikiShowBiographicalOption false Boolean. Whether to show a biographical person option when requesting a wiki.
$wgCreateWikiSQLfiles false SQL files which you want to be created by default when a wiki is created. This configuration variable is required.
$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.
$wgCreateWikiUseEchoNotifications false Whether to use Echo notifications (beta feature).
$wgCreateWikiUseExperimental false Whether to implement front end logic for marking wikis as experimental.
$wgCreateWikiUseInactiveWikis false Whether to implement front end logic for inactive wikis.
$wgCreateWikiUseJobQueue false Whether to defer intensive tasks to the jobqueue.
$wgCreateWikiUsePrivateWikis false Whether to implement front end logic for marking wikis as private.


Siehe auch