From 74e1db122f5b461f6a02e0c6e88582c5c8e2c1a4 Mon Sep 17 00:00:00 2001 From: Lupin Date: Mon, 6 Mar 2006 04:20:20 +0000 Subject: [PATCH] whitespace --- includes/DatabasePostgreSQL.php | 2 +- includes/SpecialPreferences.php | 2 +- includes/SpecialUpload.php | 30 +++++++++++++++--------------- includes/ZhClient.php | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index d984b2e73c..5dfda70136 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -120,7 +120,7 @@ class DatabasePgsql extends Database { function fetchRow( $res ) { @$row = pg_fetch_array( $res ); - if( pg_last_error($this->mConn) ) { + if( pg_last_error($this->mConn) ) { wfDebugDieBacktrace( 'SQL error: ' . htmlspecialchars( pg_last_error($this->mConn) ) ); } return $row; diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 14ad7bd878..ff118f7b0b 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -656,7 +656,7 @@ class PreferencesForm { # # Enotif - if ($wgEnableEmail) { + if ($wgEnableEmail) { $wgOut->addHTML( '
' . wfMsg( 'email' ) . '' ); $wgOut->addHTML( $emailauthenticated. diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 8ca76571d9..70920a7277 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -620,9 +620,9 @@ class UploadForm { " ); - if ( $licenseshtml != '' ) { - global $wgStylePath; - $wgOut->addHTML( " + if ( $licenseshtml != '' ) { + global $wgStylePath; + $wgOut->addHTML( " @@ -635,15 +635,15 @@ class UploadForm { "); - } - - if ( $wgUseCopyrightUpload ) { - $filestatus = wfMsgHtml ( 'filestatus' ); - $copystatus = htmlspecialchars( $this->mUploadCopyStatus ); - $filesource = wfMsgHtml ( 'filesource' ); - $uploadsource = htmlspecialchars( $this->mUploadSource ); + } - $wgOut->addHTML( " + if ( $wgUseCopyrightUpload ) { + $filestatus = wfMsgHtml ( 'filestatus' ); + $copystatus = htmlspecialchars( $this->mUploadCopyStatus ); + $filesource = wfMsgHtml ( 'filesource' ); + $uploadsource = htmlspecialchars( $this->mUploadSource ); + + $wgOut->addHTML( " @@ -653,10 +653,10 @@ class UploadForm { "); - } + } - $wgOut->addHtml( " + $wgOut->addHtml( " @@ -677,8 +677,8 @@ class UploadForm { " ); - $wgOut->addWikiText( wfMsgForContent( 'edittools' ) ); - $wgOut->addHTML( " + $wgOut->addWikiText( wfMsgForContent( 'edittools' ) ); + $wgOut->addHTML( " diff --git a/includes/ZhClient.php b/includes/ZhClient.php index 4ca4e1fcda..0451ce8143 100644 --- a/includes/ZhClient.php +++ b/includes/ZhClient.php @@ -119,7 +119,7 @@ class ZhClient { $i+=$len; } return $ret; - } + } /** * Perform word segmentation * -- 2.20.1