Page MenuHomePhabricator

Create simple interface for adding a page redirect to MediaWiki core
Open, MediumPublic

Description

Splitting this off from bug 27311 (in light of bug 27683 comment 5).

MediaWiki core should have a "create a redirect" form. The current system is painfully unintuitive. It requires first figuring out how to create a page at all and then figuring out that you need special "#REDIRECT [[ ]]" syntax. Some people make the argument that this toughens people up and prepares them for the wikitext world. I believe that a form really wouldn't kill us here.

Moving a page is sort of a form for making a redirect, but that requires a page already existing. In this bug, we want a form, in MediaWiki core, for creating a redirect. Special:CreatePage or Special:CreateRedirect or something.

This bug might be a dupe of bug 27311, but we can't really know until someone actually implements one or the other.

See Also: T29311 T59315

Details

Reference
bz41363

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:13 AM
bzimport set Reference to bz41363.
bzimport added a subscriber: Unknown Object (MLST).

I can see plenty of Wikimedia and other MediaWiki users happy with this feature.

It would be good to know whether there is a buy in from the Core maintainers or whether they think this should be handled by an extension. A rough idea of the estimated work would be useful too. It sounds like a potential candidate for http://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects

PS: found thanks to https://www.mediawiki.org/wiki/Bug_management/Triage/20130307

(In reply to comment #2)

Thanks to Daniel Friesen for pointing out that
https://www.mediawiki.org/wiki/Extension:CreateRedirect exists.

Right. This bug is about MediaWiki core, though.

Can someone elaborate on some of the most common use cases for creating redirects to give a bit more background to this for new users not as familiar.

Also, is this a band aid? do we need to step back and think about the reason redirects are created in the first place? Does mediawiki support the concept of page aliases? Does the redirected page need to continue to exist as a regular wikipage after the redirect has happened?

swalling wrote:

(In reply to comment #4)

Also, is this a band aid? do we need to step back and think about the reason
redirects are created in the first place? Does mediawiki support the concept
of
page aliases? Does the redirected page need to continue to exist as a regular
wikipage after the redirect has happened?

Yes, I think the redirected page should exist as a regular wikipage after the redirect has happened. This allows any editor to un-redirect something without needing a special form or other interface, edit the redirect easily, etc.

Consider this real case from English Wikipedia:

  • Someone originally made "Deforestation in Brazil" a redirect to the Deforestation section in Amazon Rainforest. This isn't bad, but they're not actually aliases of each other precisely. This happens more than you'd think.
  • Later, someone un-redirected Deforestation in Brazil, and expanded it to be a large independent article. This was made easy by the fact that redirects are still wiki pages. Otherwise, there'd have to be new background processes to re-make a redirect as a wiki page.

Part of the challenges with the current implementation, which involves using somewhat arcane markup, will be solved by VisualEditor.

(In reply to comment #4)

Can someone elaborate on some of the most common use cases for creating
redirects to give a bit more background to this for new users not as
familiar.

Also, is this a band aid? do we need to step back and think about the reason
redirects are created in the first place? Does mediawiki support the concept
of
page aliases? Does the redirected page need to continue to exist as a regular
wikipage after the redirect has happened?

[[m:Help:Redirect]] contains the necessary educational material for the topic.