From: Niklas Laxström Date: Tue, 4 Aug 2009 08:54:31 +0000 (+0000) Subject: Whitespace fixes X-Git-Tag: 1.31.0-rc.0~40518 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=6a28a321b20e91fc24da2b29f40cdbb0f1dd3349;p=lhc%2Fweb%2Fwiklou.git Whitespace fixes --- diff --git a/includes/media/GIF.php b/includes/media/GIF.php index b5c62eea87..c25b5411b9 100644 --- a/includes/media/GIF.php +++ b/includes/media/GIF.php @@ -15,7 +15,7 @@ class GIFHandler extends BitmapHandler { if ( !isset($image->parsedGIFMetadata) ) $image->parsedGIFMetadata = GIFMetadataExtractor::getMetadata( $filename ); - return serialize($image->parsedGIFMetadata); + return serialize($image->parsedGIFMetadata); } diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index fef4a4bfb6..de4795a375 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -44,7 +44,7 @@ class SpecialExport extends SpecialPage { $this->templates = $wgRequest->getCheck( 'templates' ); $this->images = $wgRequest->getCheck( 'images' ); // Doesn't do anything yet $this->pageLinkDepth = $this->validateLinkDepth( - $wgRequest->getIntOrNull( 'pagelink-depth' ) ); + $wgRequest->getIntOrNull( 'pagelink-depth' ) ); $nsindex = ''; if ( $wgRequest->getCheck( 'addcat' ) ) { @@ -74,7 +74,7 @@ class SpecialExport extends SpecialPage { */ $nspages = $this->getPagesFromNamespace( $nsindex ); if ( $nspages ) $page .= "\n" . implode( "\n", $nspages ); - } + } } else if( $wgRequest->wasPosted() && $par == '' ) { $page = $wgRequest->getText( 'pages' ); @@ -88,10 +88,10 @@ class SpecialExport extends SpecialPage { $limit = $wgRequest->getInt( 'limit' ); $dir = $wgRequest->getVal( 'dir' ); $history = array( - 'dir' => 'asc', - 'offset' => false, - 'limit' => $wgExportMaxHistory, - ); + 'dir' => 'asc', + 'offset' => false, + 'limit' => $wgExportMaxHistory, + ); $historyCheck = $wgRequest->getCheck( 'history' ); if ( $this->curonly ) { $history = WikiExporter::CURRENT; @@ -147,7 +147,7 @@ class SpecialExport extends SpecialPage { $wgOut->addWikiMsg( 'exporttext' ); $form = Xml::openElement( 'form', array( 'method' => 'post', - 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) ); + 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) ); $form .= Xml::inputLabel( wfMsg( 'export-addcattext' ) , 'catname', 'catname', 40 ) . ' '; $form .= Xml::submitButton( wfMsg( 'export-addcat' ), array( 'name' => 'addcat' ) ) . '
'; @@ -197,7 +197,7 @@ class SpecialExport extends SpecialPage { foreach( explode( "\n", $page ) as $pageName ) { $pageName = trim( $pageName ); $title = Title::newFromText( $pageName ); - if( $title && $title->getInterwiki() == '' && $title->getText() != '' ) { + if( $title && $title->getInterwiki() == '' && $title->getText() !== '' ) { // Only record each page once! $pageSet[$title->getPrefixedText()] = true; }