Whitespace fixes
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 4 Aug 2009 08:54:31 +0000 (08:54 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 4 Aug 2009 08:54:31 +0000 (08:54 +0000)
includes/media/GIF.php
includes/specials/SpecialExport.php

index b5c62ee..c25b541 100644 (file)
@@ -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);
 
        }
        
index fef4a4b..de4795a 100644 (file)
@@ -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 ) . '&nbsp;';
                $form .= Xml::submitButton( wfMsg( 'export-addcat' ), array( 'name' => 'addcat' ) ) . '<br />';
                
@@ -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;
                        }