Index: trunk/phase3/includes/media/GIF.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | if ( !isset($image->parsedGIFMetadata) ) |
17 | 17 | $image->parsedGIFMetadata = GIFMetadataExtractor::getMetadata( $filename ); |
18 | 18 | |
19 | | - return serialize($image->parsedGIFMetadata); |
| 19 | + return serialize($image->parsedGIFMetadata); |
20 | 20 | |
21 | 21 | } |
22 | 22 | |
Index: trunk/phase3/includes/specials/SpecialExport.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | $this->templates = $wgRequest->getCheck( 'templates' ); |
46 | 46 | $this->images = $wgRequest->getCheck( 'images' ); // Doesn't do anything yet |
47 | 47 | $this->pageLinkDepth = $this->validateLinkDepth( |
48 | | - $wgRequest->getIntOrNull( 'pagelink-depth' ) ); |
| 48 | + $wgRequest->getIntOrNull( 'pagelink-depth' ) ); |
49 | 49 | $nsindex = ''; |
50 | 50 | |
51 | 51 | if ( $wgRequest->getCheck( 'addcat' ) ) { |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | */ |
76 | 76 | $nspages = $this->getPagesFromNamespace( $nsindex ); |
77 | 77 | if ( $nspages ) $page .= "\n" . implode( "\n", $nspages ); |
78 | | - } |
| 78 | + } |
79 | 79 | } |
80 | 80 | else if( $wgRequest->wasPosted() && $par == '' ) { |
81 | 81 | $page = $wgRequest->getText( 'pages' ); |
— | — | @@ -88,10 +88,10 @@ |
89 | 89 | $limit = $wgRequest->getInt( 'limit' ); |
90 | 90 | $dir = $wgRequest->getVal( 'dir' ); |
91 | 91 | $history = array( |
92 | | - 'dir' => 'asc', |
93 | | - 'offset' => false, |
94 | | - 'limit' => $wgExportMaxHistory, |
95 | | - ); |
| 92 | + 'dir' => 'asc', |
| 93 | + 'offset' => false, |
| 94 | + 'limit' => $wgExportMaxHistory, |
| 95 | + ); |
96 | 96 | $historyCheck = $wgRequest->getCheck( 'history' ); |
97 | 97 | if ( $this->curonly ) { |
98 | 98 | $history = WikiExporter::CURRENT; |
— | — | @@ -147,7 +147,7 @@ |
148 | 148 | $wgOut->addWikiMsg( 'exporttext' ); |
149 | 149 | |
150 | 150 | $form = Xml::openElement( 'form', array( 'method' => 'post', |
151 | | - 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) ); |
| 151 | + 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) ); |
152 | 152 | $form .= Xml::inputLabel( wfMsg( 'export-addcattext' ) , 'catname', 'catname', 40 ) . ' '; |
153 | 153 | $form .= Xml::submitButton( wfMsg( 'export-addcat' ), array( 'name' => 'addcat' ) ) . '<br />'; |
154 | 154 | |
— | — | @@ -197,7 +197,7 @@ |
198 | 198 | foreach( explode( "\n", $page ) as $pageName ) { |
199 | 199 | $pageName = trim( $pageName ); |
200 | 200 | $title = Title::newFromText( $pageName ); |
201 | | - if( $title && $title->getInterwiki() == '' && $title->getText() != '' ) { |
| 201 | + if( $title && $title->getInterwiki() == '' && $title->getText() !== '' ) { |
202 | 202 | // Only record each page once! |
203 | 203 | $pageSet[$title->getPrefixedText()] = true; |
204 | 204 | } |