MediaWiki file: | updateSpecialPages.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | UpdateSpecialPages |
Details
updateSpecialPages.php file is a maintenance script to update the information on the special pages that cache results in the querycacheQueryPage.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.
table. This information includes Special:WantedTemplates, Special:Wantedpages and Special:Wantedfiles among many others. A full list is found inThe configuration setting $wgDisableQueryPageUpdate
can be used to exclude certain special pages from being updated.
Usage
php updateSpecialPages.php
Options
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 . |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.