https://bugzilla.wikimedia.org/show_bug.cgi?id=17683

           Summary: Say use BACK key. Else returnToMain will throw away the
                    users edit
           Product: MediaWiki
           Version: 1.14.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Page editing
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to