Page MenuHomePhabricator

Speciel:DoubleRedirects does not show all double redirects
Closed, ResolvedPublic

Description

Author: byrial

Description:
Special:DoubleRedirects is empty at Danish Wikipedia
(http://da.wikipedia.org/wiki/Speciel:DoubleRedirects) and always claims that
the cache is recently updated (every day I think).

However, an offline analysis of a database dump shows that there currently are
around 100 double redirects. Many of them have been present for months, and are
still present. The list is available at
http://da.wikipedia.org/wiki/Wikipedia:Dobbelte_omdirigeringer

These double redirects should have been in Special:DoubleRedirects, but are not
there.


Version: 1.11.x
Severity: normal

Details

Reference
bz9799

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 9:40 PM
bzimport set Reference to bz9799.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.May 5 2007, 11:04 AM

For each of the missing double redirects, at least one redirect was created
before the redirect table was added to the database. Those redirects are missing
from the table, and the double redirects are not listed on the special page.

I think a refresh redirect maintenance script is needed to fix this. Maybe the
refreshlinks script should do this.

make refreshlinks update redirects

Here is an update of the refreshlinks script that also updates the links in the redirect table. It should work, but I am not sure if it is the best way to fix the problem.

Attached:

A better solution might be to make LinksUpdate->doUpdate() also update the redirect table. Then refreshlinks would not need any changes, since it calls doUpdate().

The refresh script was fixed in r23928. So my patch is no longer needed. To fix Speciel:DoubleRedirects at da.wikipedia a developer with shell access is needed to run the script on the Wikimedia servers.

robchur wrote:

Duping this up to bug 10931, since it covers the general problem.

*** This bug has been marked as a duplicate of bug 10931 ***