Page MenuHomePhabricator

"Move succeeded" notice should link to original page w/o redirect
Closed, ResolvedPublic

Description

Author: langec

Description:
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).


Version: unspecified
Severity: enhancement

Details

Reference
bz8580

Event Timeline

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

robchur wrote:

I could swear blind I fixed this once before...

langec wrote:

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" :-(

robchur wrote:

This was addressed in r23513, r23515 and r23604.