Made very important preview message more obvious
authorTom Gilder <tomgilder@users.mediawiki.org>
Mon, 10 Oct 2005 18:00:01 +0000 (18:00 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Mon, 10 Oct 2005 18:00:01 +0000 (18:00 +0000)
includes/EditPage.php
languages/Language.php
skins/monobook/main.css

index b6b1a77..b233bb9 100644 (file)
@@ -981,7 +981,7 @@ END
                wfProfileIn( $fname );
 
                $previewhead = '<h2>' . htmlspecialchars( wfMsg( 'preview' ) ) . "</h2>\n" .
-                       "<p class='previewnote'>" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "</p>\n";
+                       "<p class='previewnote'><strong>" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "</strong></p>\n";
                if ( $this->isConflict ) {
                        $previewhead.='<h2>' . htmlspecialchars( wfMsg( 'previewconflict' ) ) .
                                "</h2>\n";
index d0d4960..2ca27d5 100644 (file)
@@ -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'                 => '<strong>Note:</strong> ',
-'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",
index a0aa93b..c5a6367 100644 (file)
@@ -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;