Page MenuHomePhabricator

Automatic edit summary "Redirecting to [[Foo]]" fails on subst
Closed, ResolvedPublic

Description

Author: charlottethewebb

Description:
Normally, when a I create a redirect and leave the edit summary blank, a default
comment of "Redirecting to [[Foo]]" is automatically produced.

However, if the redirect was created by unusual means, such as substituting a
template or variable, the automatic summary does not work.

For example, if I create a redirect from [[Bettles]] to [[Bettles, Alaska]]
using a shortcut:

#redirect [[{{subst:PAGENAME}}, Alaska]]

The edit summary is left blank instead of having an automatic comment.
http://en.wikipedia.org/w/index.php?title=Bettles&diff=prev&oldid=85972641

Charlotte


Version: unspecified
Severity: minor

Details

Reference
bz7819

Event Timeline

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

Ewwww subst. :)

Needs to be fixed to run checks after pre-save transform, presumably.

robchur wrote:

Yes, it wasn't bulletproof at the time, nor was it intended to be. :)

  • Bug 8052 has been marked as a duplicate of this bug. ***