Manual:$wgDisableQueryPageUpdate
Appearance
| 特別ページ: $wgDisableQueryPageUpdate | |
|---|---|
| 更新しない特別ページの配列。 |
|
| 導入されたバージョン: | 1.9.0 (r18670) |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (配列) または false |
| 既定値: | false |
| その他の設定: アルファベット順 | 機能順 | |
詳細
この変数に、maintenance/updateSpecialPages.php でページが更新されないようにしたい特別ページ名の配列を設定してください。
This setting will be ignored when the script is called with the --override flag.
Array items can be either in the <special page name> or in the <special page name> => <run mode> format.
The run mode is used to show a custom querypage-updates-<run mode> interface message on the special page, instead of the normal "Updates for this page are currently disabled." one.
Together with the override flag this can be used to have a default refresh cadence for most query pages but special-case some of them.
例
$wgDisableQueryPageUpdate = [
'Lonelypages' => 'monthly',
'Wantedtemplates' => 'periodical',
'Mostrevisions',
];