Last modified: 2007-08-28 23:51:25 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 T10580, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8580 - "Move succeeded" notice should link to original page w/o redirect
"Move succeeded" notice should link to original page w/o redirect
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-11 14:59 UTC by Christoph Lange
Modified: 2007-08-28 23:51 UTC (History)
0 users

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


Attachments

Description Christoph Lange 2007-01-11 14:59:47 UTC
After moving a page, I often want to delete the original page. This would require one step less if the link to A in 
the "move succeeded" notice (Page "A" moved to "B") pointed to A&redirect=no instead of A (which results in a redirect 
to B).
Comment 1 Rob Church 2007-01-11 16:41:30 UTC
I could swear blind I fixed this once before...
Comment 2 Christoph Lange 2007-01-11 17:08:11 UTC
I had a look into the sources:

includes/SpecialMovepage.php, MovePageForm::showSuccess:

$oldText = wfEscapeWikiText( $wgRequest->getVal('oldtitle') );
$newText = wfEscapeWikiText( $wgRequest->getVal('newtitle') );
...
$text = wfMsg( 'pagemovedtext', $oldText, $newText );
...
$wgOut->addWikiText( $text );


language/Messages.php:
'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",

There's nothing like "redirect=no" :-(
Comment 3 Rob Church 2007-08-28 23:51:25 UTC
This was addressed in r23513, r23515 and r23604.

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


Navigation
Links