From c5f7ded2f4f0f1bac334e401a8c9f9bec52ffdb9 Mon Sep 17 00:00:00 2001 From: Arne Heizmann Date: Thu, 19 Aug 2004 11:43:48 +0000 Subject: [PATCH] fix indentation --- includes/EditPage.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index bd391efcb6..46edc24f92 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -324,7 +324,7 @@ class EditPage { $wgRightsText ) . "\n"; if( $wgUser->getOption("showtoolbar") and !$isCssJsSubpage ) { -# prepare toolbar for edit buttons + # prepare toolbar for edit buttons $toolbar = $sk->getEditToolbar(); } else { $toolbar = ""; @@ -372,8 +372,10 @@ class EditPage { $parserOptions->setUseCategoryMagic( false ); $parserOptions->setEditSection( false ); $parserOptions->setEditSectionOnRightClick( false ); -# don't parse user css/js, show message about preview -# XXX: stupid php bug won't let us use $wgTitle->isCssJsSubpage() here + + # don't parse user css/js, show message about preview + # XXX: stupid php bug won't let us use $wgTitle->isCssJsSubpage() here + if ( $isCssJsSubpage ) { if(preg_match("/\\.css$/", $wgTitle->getText() ) ) { $previewtext = wfMsg('usercsspreview'); @@ -397,8 +399,8 @@ class EditPage { } } -# if this is a comment, show a subject line at the top, which is also the edit summary. -# Otherwise, show a summary field at the bottom + # if this is a comment, show a subject line at the top, which is also the edit summary. + # Otherwise, show a summary field at the bottom $summarytext = htmlspecialchars( $wgLang->recodeForEdit( $this->summary ) ); # FIXME if( $this->section == "new" ) { $commentsubject="{$subject}:
"; -- 2.20.1