Page MenuHomePhabricator

No warning on creating broken redirect to red link
Open, MediumPublicBUG REPORT

Description

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

  • Create a new redirect to non-existent page (red link).

What happens?:

MediaWiki allows you to make a broken redirect like this, to a red link, no worries.

What should have happened instead?:

An error message should appear, similar to MediaWiki:Selfredirect, but specifically for this problem (creating a broken redirect).

Software version (skip for WMF-hosted wikis like Wikipedia): 1.35

Other information (browser name/version, screenshots, etc.):

Event Timeline

Aklapper changed the task status from Open to Stalled.Jan 10 2023, 9:32 PM

I don't see anything "broken". What is technically "broken" and why?

They are called "broken redirects" in Special:BrokenRedirects -- it's probably not the best term but it's the one you officially use.

Aklapper changed the task status from Stalled to Open.Jan 10 2023, 11:04 PM

Ah! Thanks.

Bugreporter2 added a project: patch-welcome.

Change #1089205 had a related patch set uploaded (by SomeRandomDeveloper; author: SomeRandomDeveloper):

[mediawiki/core@master] Add a warning when trying to create a broken redirect

https://gerrit.wikimedia.org/r/1089205

Hello @Pppery, is this related to the entry in this Tech News? If it is unrelated, when will this be ready for Tech News, and what wording would you suggest as the content?

Unrelated to that entry (which I'm not convinced even belongs in Tech News at all).

Timing: as soon as the patch above is merged (you can generally assume that when a task has both Patch-For-Review and User-notice then that's the timing)

Wording draft: Users will now be warned when creating a redirect to a page that doesn't exist.

Unrelated to that entry (which I'm not convinced even belongs in Tech News at all).

Timing: as soon as the patch above is merged (you can generally assume that when a task has both Patch-For-Review and User-notice then that's the timing)

Wording draft: Users will now be warned when creating a redirect to a page that doesn't exist.

Thank you!

This shouldn't have been sent out yet since the patch still hasn't been merged,.

  NODES
News 6
orte 9
see 1
Users 2