Page MenuHomePhabricator

Create a user right to allow using redirect fixer (replacing $wgFixDoubleRedirects)
Open, MediumPublic

Description

By granting it to a (community-decided) trusted user group, the double redirect fixer may be enabled in public wikis. This does not block enabling it ( $wgFixDoubleRedirects) in wikis that are not public; however $wgFixDoubleRedirects may be removed once we have a user right.


Original:

Page-move vandals are enabling this option, which is causing the Redirect fixer to change redirects to bad (and deleted) titles (see the supplied URL for my reverts). If Redirect fixer could have some sort of delay, to see whether or not the page-move was reverted before making the changes, that would prevent this problem.


Version: 1.14.x
Severity: minor
URL: http://en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20080916035959&limit=50&target=Rjd0060

Details

Reference
bz15622

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:22 PM
bzimport set Reference to bz15622.
bzimport added a subscriber: Unknown Object (MLST).

Assigning to Tim.

There's not really a mechanism for scheduling jobs to a particular time, but it can probably be hacked up... On running, the job could re-file itself to run again later if a minimum time limit hasn't passed. It might run through a few times if the queue's light, then finally run for fun.

Started toying around with an extension today that goes a bit further...

Called ApproveJobs, it allows wiki admins to define jobs that require approval before being executed. I think this might solve some of the problems. Adds a simple flag to the jobs table on whether or not to release a particular job. Special:ApproveJobs allows anyone with the approve-job right (default: sysops) to release the job for processing. Also adding a 'bypass-job-approval' right that allows a user to have a job entered directly into the database and not require approval prior to execution.

Should have a working demo in a few days (trying to figure out where the best place for hooks are atm).

On second thought, it might be easier to put this directly into core (disabled by default).

I can't seem to find a good place to hook cleanly that will make sense in general (would be rather purpose specific...)

The job queue is for background maintenance tasks which should never, ever require any human intervention.

A manually-moderated queue for user operations like page moves and deletions would make sense (and I believe there's some existing work on a deletion queue extension, which may or may not be applicable to page moves).

The redirect fixer will be disabled after deployment of r41716, assuming $wgFixDoubleRedirects is left at false, which I'd recommend. It's obviously doing more harm than good. A different architecture is required.

Would it still help to trigger for admin page moves or "Editor" page moves on .de wiki and the like?

On some wikis it would help a lot. On huwiki, we have a hand-managed user class for people with autoreview rights; they are reliable (at least to the extent of not committing vandalism) and most of the active contributors are in that class, so giving it auto-redirect-fixing rights would account for most of the page moves.

mohamed.m.k wrote:

Yes please enable the feature to admins only instead of disabling it altogether because of some annoying vandals!

We don't currently have plans to revive this extension, and now have the ability to have longer redirect chains.

Perhaps increasing $wgMaxRedirects would be a better way to fix the same problem.

Bugreporter renamed this task from Assign right to fix double redirects to user groups (was: Redirect fixer contributions caused by vandalism) to Create a user right to allow using redirect fixer (replacing $wgFixDoubleRedirects).May 8 2022, 8:34 PM
Bugreporter reopened this task as Open.
Bugreporter updated the task description. (Show Details)