Page MenuHomePhabricator

Link to old name in edit summary of page move should have redirect=no
Open, LowPublic


The variable $1 in [[MediaWiki:1movedto2]] and [[MediaWiki:1movedto2 redir]] should not redirect users to the new title but should display the redirect page instead. (I mean in the automated edit summary in page history.)



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:53 PM
bzimport set Reference to bz10710.
bzimport added a subscriber: Unknown Object (MLST).

What does this mean?

Please provide:

  1. An exact set of steps to reproduce the problem
  1. A description of the problem
  1. An example of desired, correct behavior
  1. An example of actual, incorrect behavior

robchur wrote:

Title::moveOverExistingRedirect() creates a null revision for the page history which contains the text "[[A]] moved to [[B]]", or similar - the first link is to a redirect page, but is a normal link.

The request is to have this link incorporate "redirect=no" somehow.

MGChecker edited subscribers, added: Aklapper; removed: wikibugs-l-list.
Krinkle renamed this task from Move summary should display redirect page to Link to old name in edit summary of page move should have redirect=no.Feb 9 2019, 8:42 PM
Krinkle added a project: MediaWiki-Page-diffs.
Krinkle subscribed.

Still reproducible on latest master. Quite possibly the only way to easily solve this is to make the comment formatter always use redirect=no for its internal links from the edit summary. That might lead to other undesirable behaviour though, where if you're just normally linking to a title that happen to have gotten renamed, that it won't follow the redirect.