Page MenuHomePhabricator

DoubleRedirectConstraint suggests non-existent target if first target was broken redirect.
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Create a broken redirect, e.g. from [[Foo]] to [[Foobar1234567890]].
  • Note these can occur in poorly-maintained wikis.
  • Try to create a redirect from [[Bar]] to [[Foo]].

What happens?:

What should have happened instead?:

DoubleRedirectConstraint should check the target it wants to suggest actually exists before suggesting it. If it doesn't exist, then it should throw an error message like:

⚠️You are trying to redirect a page to a target which is a broken redirect. Please reconsider your actions.