Manual:UpdateSpecialPages.php

UpdateSpecialPages.php is a maintenance script which updates the information on the special pages. This information includes Special:WantedTemplates, Special:Wantedpages and Special:Wantedfiles among many others.

Usage
php maintenance/UpdateSpecialPages.php or just php UpdateSpecialPages.php