Extension:CreateWiki
![]() リリースの状態: 安定 |
|
---|---|
![]() |
|
説明 | ウィキ作成者が他のウィキサイト内に新しいウィキサイトを作成する機能を提供する。 3つの特別ページ(RequestWiki、RequestWikiQueue、CreateWiki)を作成します。 |
メンテナー | Miraheze system administrators |
最新バージョン | continuous updates |
MediaWiki | 1.37.0+ |
PHP | 7.4+ |
データベースの変更 | はい |
Composer | miraheze/createwiki |
テーブル | cw_comments cw_requests cw_wikis |
ライセンス | GNU 一般公衆利用許諾書 3.0 |
ダウンロード | GitHub: |
|
|
|
|
Public wikis using | 193 (Ranked 416th) |
CreateWiki 拡張機能の翻訳にご協力ください | |
CreateWiki is an extension which allows registered users of one wiki site on a wiki farm to request new wiki sites or create new wiki sites on that wiki farm. RequestWiki(Wikiのリクエスト用)、RequestWikiQueue(Wikiリクエストキューの表示とWikiリクエストの処理用)、CreateWiki(一部のユーザーにWikiの作成を許可)の3つの特別ページが提供されます。
Tim Starling と Aaron Schulz による Checkuser 拡張機能と、Kudu による別の CreateWiki 拡張がベースになっています。
Issues and bug reporting
問題やバグを報告するには、Miraheze Phabricatorを使用してください。 ワークボードについてはこちらを参照してください。
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のCreateWiki
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'CreateWiki' );
- 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
使用法
All users (those in the User group by default) can request new wiki sites at Special:RequestWiki. Once they have requested a new wiki, they will be assigned a queue number and can check the status of their request at Special:RequestWikiQueue.
Those with the 'Wiki Creators' (createwiki) user right are able to 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 'Wiki Creators' (createwiki) user right can also bypass Special:RequestWiki, and manually create new wiki sites themselves at Special:CreateWiki.
設定
パラメーター | 既定 | コメント |
---|---|---|
$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
|
ウィキのカテゴリ分類に使用されるカテゴリの配列。 |
$wgCreateWikiCollation
|
""
|
Sets the collation to use when creating the wiki database. Example is 'DEFAULT SET utf8mb4 COLLATE utf8mb4_unicode_ci' |
$wgCreateWikiCustomDomainPage
|
false
|
カスタムドメインの詳細について、リンク先のページ名。 |
$wgCreateWikiDatabase
|
false
|
cw_wikisが格納されているデータベース名。 |
$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
|
新しいウィキの作成に対してメールを送るかどうか。 |
$wgCreateWikiNotificationEmail
|
root@localhost
|
内部で生成される通知メールの送信先メールアドレス。 $wgCreateWikiEmailNotificationsに依存しない! |
$wgCreateWikiGlobalWiki
|
false
|
グローバルWikiのデータベース名。 (RequestWikiが有効でSpecial:CreateWikiが利用可能であるべき場所)。 |
$wgCreateWikiInactiveExemptReasonOptions
|
[]
|
Array of possible options for marking an individual wiki as exempt from inactivity. |
$wgCreateWikiPurposes
|
[]
|
Array. List of identified purposes to show when requesting a new wiki. |
$wgCreateWikiShowBiographicalOption
|
false
|
Boolean. Whether to show a biographical person option when requesting a new wiki. |
$wgCreateWikiSQLfiles
|
false
|
ウィキ作成時に既定で作成されてほしいSQLファイル。 この構成変数は必須です。 |
$wgCreateWikiSubdomain
|
false
|
下位ドメインのマスター部分、例えばwiki.miraheze.org, miraheze.orgはマスター部分です。 |
$wgCreateWikiUseCategories
|
false
|
ウィキを分類するためにカテゴリを使用するかどうか。 |
$wgCreateWikiUseClosedWikis
|
false
|
ウィキを閉じるためのフロントエンドのロジックを実装するかどうか。 |
$wgCreateWikiUseCustomDomains
|
false
|
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
|
非アクティブなウィキに対するフロントエンドのロジックを実装するかどうか。 |
$wgCreateWikiUseJobQueue
|
false
|
Whether to defer intensive tasks to the jobqueue. |
$wgCreateWikiUsePrivateWikis
|
false
|
ウィキを非公開としてマークするためのフロントエンドのロジックを実装するかどうか。 |
関連項目
- Extension:ManageWiki (depends on CreateWiki)
この拡張機能は以下のパッケージ/ウィキファームに含まれています: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
この拡張機能は Miraheze が作成しました。 Miraheze にはない問題点があるかもしれません。 バグの報告や設定変更の依頼は、ウィキメディアの Phabricator ではなく、Miraheze Phabricator でお願いします。 |