Manual:$wgExternalLinksDomainGaps
データベースの設定: $wgExternalLinksDomainGaps | |
---|---|
Gaps in the externallinks table for certain domains. |
|
導入されたバージョン: | 1.41.0 (Gerrit change 955004; git #f405bbb5) |
除去されたバージョン: | 使用中 |
許容される値: | (配列) |
既定値: | [] |
その他の設定: アルファベット順 | 機能順 |
詳細
Gaps in the externallinks
table for certain domains.
If you have identified certain domains for which externallinks
searches are slow, you can use this setting to make MediaWiki skip large el_id
ranges, rather than having the database scan through them fruitlessly.
Each key in the array is a domain name in el_to_domain_index
form, e.g. 'https://com.example.'
.
The value is an array with integer keys and values, where each entry is a range (from => to, both inclusive) of el_id values where this domain is known to have no entries.
(Subdomains are included, i.e., configuring an entry here guarantees to MediaWiki that there are no rows where the el_to_domain_index
starts with this value.)