anchor to jump to editform when previewing changes
authorErik Moeller <erik@wikimedia.org>
Fri, 30 Mar 2012 07:18:18 +0000 (00:18 -0700)
committerAntoine Musso <hashar@free.fr>
Fri, 30 Mar 2012 13:46:00 +0000 (15:46 +0200)
Provide a handy link back to the edit form from the preview warning.
Tiny UX/accessibility improvement copied from German Wikipedia,
hopefully uncontroversial. :-)

Change-Id: Ieba9b640bca719e8eedd7c204f3516700dcf15fe

languages/messages/MessagesEn.php

index 2f3cc12..8a3d9f4 100644 (file)
@@ -1372,7 +1372,7 @@ Custom .css and .js pages use a lowercase title, e.g. {{ns:user}}:Foo/vector.css
 'updated'                          => '(Updated)',
 'note'                             => "'''Note:'''",
 'previewnote'                      => "'''Remember that this is only a preview.'''
-Your changes have not yet been saved!",
+Your changes have not yet been saved! [[#editform|→ Continue editing]]",
 'previewconflict'                  => 'This preview reflects the text in the upper text editing area as it will appear if you choose to save.',
 'session_fail_preview'             => "'''Sorry! We could not process your edit due to a loss of session data.'''
 Please try again.