Manual:$wgInterwikiCache/zh

详情
Interwiki caching consists of the following four settings:


 * This setting specifies an array in the following format, or a string with the path to file containing the same keys. This format can be generated with.
 * - a simple key (e.g. )
 * - site-scope key (e.g. )
 * - global-scope key (e.g. )
 * - site mapping (e.g. )
 * Sites mapping just specifies site name, other keys provide "local url" data layout.
 * Sites mapping just specifies site name, other keys provide "local url" data layout.


 * This setting specifies the number of domains to check for messages:
 * - Just wiki(db)-level
 * - wiki and global levels
 * - site levels
 * - site levels


 * This setting is used if unable to resolve from the cache.
 * This setting is used if unable to resolve from the cache.

Since it is possible to get the list of cached interwiki prefixes, used in the API and  extension.