Jump to content
MediaWiki

Manual:updateSpecialPages.php

From mediawiki.org
MediaWiki file: updateSpecialPages.php
Location: maintenance/
Source code: master1.43.01.42.51.39.11
Classes: UpdateSpecialPages

Details

[edit ]

updateSpecialPages.php file is a maintenance script to update the information on the special pages that cache results in the querycache table. This information includes Special:WantedTemplates, Special:Wantedpages and Special:Wantedfiles among many others. A full list is found in QueryPage.php. Extensions may extend this list using the wgQueryPages hook so that special pages added by that extension will be covered by this maintenance script.

The configuration setting $wgDisableQueryPageUpdate can be used to exclude certain special pages from being updated.

Usage

[edit ]
phpupdateSpecialPages.php

Options

[edit ]
Option/Parameter Description
--list Only list special page names, doesn't perform updates.
--only=page Only update "page". It's case sensitive, check correct case by calling this script with --list. Example: --only=BrokenRedirects
--override Also update pages that have updates disabled by $wgDisableQueryPageUpdate .

AltStyle によって変換されたページ (->オリジナル) /