Manual:$wgDisableQueryPageUpdate/zh

This page is a translated version of the page Manual:$wgDisableQueryPageUpdate and the translation is 0% complete.
Other languages:
特殊页面: $wgDisableQueryPageUpdate
Array of special pages that should not be updated.
引进版本:1.9.0 (r18670)
移除版本:仍在使用
允许的值:(array) or false
默认值:false

Details

Set this to an array of special page names to prevent maintenance/updateSpecialPages.php from updating those pages. This setting will be ignored when the script is called with the <tvar|override>--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.

Example

$wgDisableQueryPageUpdate = [
    'Lonelypages' => 'monthly',
    'Wantedtemplates' => 'periodic',
    'Mostrevisions',
];

See also