Jump to content

Regenerate cached special pages

From Wikitech

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>