Jump to content

Regenerate cached special pages

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Some special pages (like Special:AncientPages) are cached in the database and only get updated periodically. If you need to manually regenerate a cached special page (which should rarely be necessary), you can do so by sshing to mwmaint1002 and running the following command:

mwscript maintenance/updateSpecialPages.php --wiki=<wiki-database> --only=<name-of-special-page>

For example:

mwscript maintenance/updateSpecialPages.php --wiki=testwiki --only=AncientPages

If you need to regenerate a cached special page across all wikis:

foreachwiki maintenance/updateSpecialPages.php --only=<name-of-special-page>