From 7e88f850b7928beff405e6dc76acc4124b33a172 Mon Sep 17 00:00:00 2001 From: Tom Gilder Date: Mon, 10 Oct 2005 18:00:01 +0000 Subject: [PATCH] Made very important preview message more obvious --- includes/EditPage.php | 2 +- languages/Language.php | 2 +- skins/monobook/main.css | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index b6b1a772d8..b233bb9cd3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -981,7 +981,7 @@ END wfProfileIn( $fname ); $previewhead = '

' . htmlspecialchars( wfMsg( 'preview' ) ) . "

\n" . - "

" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "

\n"; + "

" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "

\n"; if ( $this->isConflict ) { $previewhead.='

' . htmlspecialchars( wfMsg( 'previewconflict' ) ) . "

\n"; diff --git a/languages/Language.php b/languages/Language.php index d0d49607c3..2ca27d5135 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -714,7 +714,7 @@ If you are here by mistake, just click your browser's '''back''' button.", 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''", 'updated' => '(Updated)', 'note' => 'Note: ', -'previewnote' => 'Remember that this is only a preview, and has not yet been saved!', +'previewnote' => 'This is only a preview, changes have not yet been saved!', 'previewconflict' => 'This preview reflects the text in the upper text editing area as it will appear if you choose to save.', 'editing' => "Editing $1", diff --git a/skins/monobook/main.css b/skins/monobook/main.css index a0aa93b588..c5a6367c6a 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1,4 +1,4 @@ -/* +/* ** MediaWiki 'monobook' style sheet for CSS2-capable browsers. ** Copyright Gabriel Wicke - http://wikidev.net/ ** License: GPL (http://www.gnu.org/copyleft/gpl.html) @@ -1071,9 +1071,13 @@ span.changedby { } .previewnote { - text-align: center; - color: #cc0000; + text-indent: 3em; + color: #c00; + border-bottom: 1px solid #aaa; + padding-bottom: 1em; + margin-bottom: 1em; } + .editExternally { border: 1px solid gray; background-color: #ffffff; -- 2.20.1