扩展:创建Wiki

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:CreateWiki and the translation is 13% complete.

Other languages:
English • ‎español • ‎português do Brasil • ‎中文 • ‎日本語
MediaWiki扩展手册
OOjs UI icon advanced.svg
CreateWiki
发布状态: 稳定版
CreateWiki2019.png
描述 提供3个特殊页面(RequestWiki、RequestWikiQueue和CreateWiki) Provides a function that allows wiki creators to create sites within another wiki site.
作者 Southparkfantalk
维护者 John Lewis/other sysadmins of Miraheze
最新版本 continuous updates
MediaWiki 1.29+
PHP 5.6+
数据更新
许可协议 GNU General Public License 3.0
下载
createwiki, requestwiki
翻译CreateWiki扩展
检查使用和版本矩阵。

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.

安装

  • Download文件,并将其放置在您extensions/文件夹中的CreateWiki目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'CreateWiki' );
    
  • 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

用法

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

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