From: Raimond Spekking Date: Tue, 23 Oct 2007 05:48:06 +0000 (+0000) Subject: Add CSS id's for some warning messages X-Git-Tag: 1.31.0-rc.0~51098 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=a67787f7487fb05199158d55c574f063227d364f;p=lhc%2Fweb%2Fwiklou.git Add CSS id's for some warning messages --- 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( '' ); + } } - } - -