Manual:$wgLocalFileRepo/ja

詳細
This config is for customizing the local (primary) file repo that MediaWiki uses. Most users will not want to customize this or will customize this indirectly via other variables such as.

More complex setups may requiring customizing this variable. For example, if you want to use a custom file backend, in order to replicate file storage amongst multiple data centers.



すべてのリポジトリに必須のプロパティ

 * class
 * リポジトリのクラス名. May come from the core or an extension. The core repository classes are FileRepo, LocalRepo, ForeignDBRepo. (FSRepo is also supported for backwards compatibility.)


 * name
 * Should be set to.


 * backend
 * A file backend name (see ). For $wgLocalFileRepo and, a name is automatically generated in if not defined.

General parameters for LocalRepo class


既定値
This code, in Setup.php, generates a default value for $wgLocalFileRepo based on the values of other configuration settings:





関連項目

 * Category:File repository extensions
 * Wikimedia's file repo config
 * Wikimedia's file repo config