From a67787f7487fb05199158d55c574f063227d364f Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 23 Oct 2007 05:48:06 +0000 Subject: [PATCH] Add CSS id's for some warning messages --- includes/EditPage.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index ad5c759f26..c2ced80cfe 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -962,15 +962,15 @@ class EditPage { $wgOut->setPageTitle( $s ); if ( $this->missingComment ) { - $wgOut->addWikiText( wfMsg( 'missingcommenttext' ) ); + $wgOut->addWikiText( '
' . wfMsg( 'missingcommenttext' ) . '
' ); } if( $this->missingSummary && $this->section != 'new' ) { - $wgOut->addWikiText( wfMsg( 'missingsummary' ) ); + $wgOut->addWikiText( '
' . wfMsg( 'missingsummary' ) . '
' ); } if( $this->missingSummary && $this->section == 'new' ) { - $wgOut->addWikiText( wfMsg( 'missingcommentheader' ) ); + $wgOut->addWikiText( '
' . wfMsg( 'missingcommentheader' ) . '
' ); } if( !$this->hookError == '' ) { @@ -2067,10 +2067,7 @@ END $out->addWikiText( wfMsg( 'recreate-deleted-warn' ) ); $viewer = new LogViewer( $reader ); $viewer->showList( $out ); - $out->addHtml( '' ); - } + $out->addHtml( '' ); + } } - } - - -- 2.20.1