On 5/30/05, Robert Jones <bob(a)jones-cliffe.freeserve.co.uk> wrote:
Sorry if this is an old question, but is there a way
to recalculate the
Special:Wantedpages on a private mediawiki installation? I've corrected many
of the listed wanted paged by adding them or changing the links in the pages
that were linking to them but they don't seem to recalculate, perhaps
because some of the links are within templates.
There are two separate issues, I do not know which one is the problem here.
1. If you have $wgMiserMode set to true (in your LocalSettings.php),
some of the special pages are served from cache (it is indicated by a
message "The following data is cached and may not be completely up to
date." shown at the top of each cached special page). To update the
cache, run maintenance/updateSpecialPages.php.
2. If you change a template without changing the pages that use the
template, the links are not recalculated. It means that changing
category in a template does not work, "what links here" does not work,
and all those special pages based on links do not work. This is a
known bug in MediaWiki (see
http://bugzilla.wikimedia.org/show_bug.cgi?id=939) and there is
nothing you can do about that; the only way to update the tables is to
edit every page that uses the template. (A dummy edit, i.e. just click
"edit this page" and "Save page" immediately without changes, is
enough.) Well, you might also run a complete update of the link tables
using a script in maintenance (ahmm... refreshLinks.php or something
like that), but it could be a long-running process depending on the
size of your database.
HTH,
-- [[cs:User:Mormegil | Petr Kadlec]]