Manual:$wgDisableQueryPageUpdate/pl

Category:MediaWiki configuration settings/pl#DisableQueryPageUpdateCategory:MediaWiki configuration settings introduced in version 1.9.0/pl#DisableQueryPageUpdateCategory:MediaWiki configuration settings still in use/pl#DisableQueryPageUpdateCategory:Special pages variables/pl#DisableQueryPageUpdate
Strony specjalne: $wgDisableQueryPageUpdate
Array of special pages that should not be updated.
Wprowadzono w wersji:1.9.0 (r18670)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(tablica) lub false
Domyślna wartość:false

Szczegóły

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 --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.


Przykład

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

Zobacz też

Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.9.0/pl Category:MediaWiki configuration settings still in use/pl Category:Special pages variables/pl