Add --old-redirects-only option to maintenance/refreshLinks.php, to add old redirects...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 5 Mar 2008 03:50:12 +0000 (03:50 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 5 Mar 2008 03:50:12 +0000 (03:50 +0000)
commit6b79f5995a0f6d19460537310621882d89f0902c
tree10d400416e9060b9fbd593223a0878e6f93cdea0
parent133b549c8d3498aff741cb3f5ec95001c918eaca
Add --old-redirects-only option to maintenance/refreshLinks.php, to add old redirects to the redirect table.  This may be worth trying out on at least some of the smaller wikis.  It seems to work correctly, and pretty quickly for a couple thousand redirects to fix, although truncating the redirect table and running it inevitably gives a different number (probably due to incorrect redirect table entries to start with).  With the limit options, it might be tried on bigger wikis too.
RELEASE-NOTES
maintenance/refreshLinks.inc
maintenance/refreshLinks.php