Last modified: 2010-11-08 11:52:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9819, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7819 - Automatic edit summary "Redirecting to [[Foo]]" fails on subst
Automatic edit summary "Redirecting to [[Foo]]" fails on subst
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: 8052 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-11-06 03:13 UTC by Charlotte Webb
Modified: 2010-11-08 11:52 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Charlotte Webb 2006-11-06 03:13:02 UTC
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.

Comment 1 Brion Vibber 2006-11-06 15:22:31 UTC
Ewwww subst. :)

Needs to be fixed to run checks after pre-save transform, presumably.
Comment 2 Brion Vibber 2006-11-06 18:00:22 UTC
Fixed in r17462
Comment 3 Rob Church 2006-11-06 20:08:05 UTC
Yes, it wasn't bulletproof at the time, nor was it intended to be. :)
Comment 4 Alexandre Emsenhuber [IAlex] 2010-11-08 11:52:01 UTC
*** Bug 8052 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.