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 T10052, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8052 - redirect sometimes triggers wrong auto-summary
redirect sometimes triggers wrong auto-summary
Status: RESOLVED DUPLICATE of bug 7819
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-27 12:12 UTC by Charlotte Webb
Modified: 2010-11-08 11:52 UTC (History)
1 user (show)

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


Attachments

Description Charlotte Webb 2006-11-27 12:12:09 UTC
see diff, should have given an auto-summary of "redirecting to Aberdeen Gardens,
Washington" or something similar instead of "creating new page with..."

charlotte
Comment 1 Rotem Liss 2006-11-27 13:22:07 UTC
The reason for that is the use of {{subst:PAGENAME}} in the redirection. There
are two possibilities to fix that:
* Parse {{subst:}} and so before generating the automatic summary (in
Article::doEdit) - possible. The code says that the pre save transform (in
Article::preSaveTransform) is executed immediately after generating the
automatic summary, so it's possible to swap them and do the pre save transform
first.
* Parse {{subst:}} when creating the automatic summary (in
Article::getRedirectAutosummary or, more likely, in Title::newFromRedirect) - I
don't think it should be done.
Comment 2 Alexandre Emsenhuber [IAlex] 2010-11-08 11:52:01 UTC

*** This bug has been marked as a duplicate of bug 7819 ***

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


Navigation
Links