Last modified: 2011-04-30 01:16:45 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 T19683, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17683 - Say use BACK key. Else returnToMain will throw away the users edit
Say use BACK key. Else returnToMain will throw away the users edit
Status: RESOLVED DUPLICATE of bug 9416
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.14.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-26 17:39 UTC by Dan Jacobson
Modified: 2011-04-30 01:16 UTC (History)
2 users (show)

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


Attachments

Description Dan Jacobson 2009-02-26 17:39:00 UTC
In EditPage.php, at
	$wgOut->addHTML( '<div id="spamprotected">' );
	$wgOut->addWikiMsg( 'spamprotectiontext' );
	if ( $match )
		$wgOut->addWikiMsg( 'spamprotectionmatch', wfEscapeWikiText( $match ) );
	$wgOut->addHTML( '</div>' );
	$wgOut->returnToMain( false, $wgTitle );
The problem is, if the user clicks the link that you offer on that last
line above, they will lose all their changes!
It would be much more humane to tell the to "first try your browser's
BACK key, and only if that doesn't work, try this...".
Comment 1 Raimond Spekking 2009-03-10 09:36:03 UTC
*** Bug 17903 has been marked as a duplicate of this bug. ***
Comment 2 Raimond Spekking 2009-03-10 12:31:09 UTC

*** This bug has been marked as a duplicate of bug 16757 ***
Comment 3 Splarka 2009-09-09 00:01:33 UTC

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

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


Navigation
Links