Last modified: 2007-08-28 23:51:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8580 - "Move succeeded" notice should link to original page w/o redirect
"Move succeeded" notice should link to original page w/o redirect
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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 );

'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.