You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Regenerate cached special pages

From Wikitech-static
Jump to navigation Jump to search

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>