Manual:$wgInterwikiCache
Appearance
| インターウィキのキャッシュ: $wgInterwikiCache | |
|---|---|
| Interwiki cache as an associative array. |
|
| 導入されたバージョン: | 1.6.0 (r12805) |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (配列) または false |
| 既定値: | false |
| その他の設定: アルファベット順 | 機能順 | |
詳細
Interwiki caching consists of the following three settings:
- $wgInterwikiCache
- この設定により、以下の形式の配列が指定されます。 This format can be generated with dumpInterwiki.php.
dbname:key- a simple key (e.g.enwiki:meta)_sitename:key- site-scope key (e.g.wiktionary:meta)__global:key- global-scope key (e.g.__global:meta)__sites:dbname- site mapping (e.g.__sites:enwiki)
- Sites mapping just specifies site name, other keys provide "local url" data layout.
- $wgInterwikiScopes
- This setting specifies the number of domains to check for messages:
- - Just wiki(db)-level
- - wiki and global levels
- - site levels
- $wgInterwikiFallbackSite
- This setting is used if unable to resolve from the cache.
Since 1.19 it is possible to get the list of cached interwiki prefixes, used in the API and Extension:Interwiki extension.