From abc85cfa9eae0689a744ea75cb18dc096e525e53 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 25 Feb 2005 09:13:03 +0000 Subject: [PATCH] Kill a couple of tags --- includes/ChangesList.php | 2 +- includes/EditPage.php | 6 +++--- skins/common/common.css | 9 +++++++++ skins/monobook/main.css | 9 +++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 096fe0106d..ccd07c33b0 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -155,7 +155,7 @@ class ChangesList { if ( $count > 1 ) $text .= " ({$count}×)" ; array_push ( $users , $text ) ; } - $users = ' ['.implode('; ',$users).']' ; + $users = ' ['.implode('; ',$users).']'; # Arrow $rci = 'RCI'.$this->rcCacheIndex ; diff --git a/includes/EditPage.php b/includes/EditPage.php index be5d659c90..544e2bcb4e 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -698,10 +698,10 @@ END function getPreviewText( $isConflict, $isCssJsSubpage ) { global $wgOut, $wgUser, $wgTitle, $wgParser; - $previewhead='

' . wfMsg( 'preview' ) . "

\n

" . - wfMsg( 'note' ) . wfMsg( 'previewnote' ) . "

\n"; + $previewhead = '

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

\n" . + "

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

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

' . wfMsg( 'previewconflict' ) . + $previewhead.='

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

\n"; } diff --git a/skins/common/common.css b/skins/common/common.css index 35e0b47078..cab9c390a7 100644 --- a/skins/common/common.css +++ b/skins/common/common.css @@ -294,3 +294,12 @@ div.gallerytext { span.comment { font-style: italic; } + +span.changedby { + font-size: 95%; +} + +.previewnote { + text-align: center; + color: #cc0000; +} diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 34b5d70b77..52422eb0a4 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1082,3 +1082,12 @@ div.gallerytext { span.comment { font-style: italic; } + +span.changedby { + font-size: 95%; +} + +.previewnote { + text-align: center; + color: #cc0000; +} -- 2.20.1