Merge "fix some spacing"
authorIAlex <ialex.wiki@gmail.com>
Sun, 10 Feb 2013 12:47:01 +0000 (12:47 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 10 Feb 2013 12:47:01 +0000 (12:47 +0000)
1  2 
includes/ImagePage.php
includes/filerepo/file/ArchivedFile.php
includes/parser/Parser.php

Simple merge
@@@ -137,12 -137,30 +137,12 @@@ class ArchivedFile 
                if( !$this->title || $this->title->getNamespace() == NS_FILE ) {
                        $this->dataLoaded = true; // set it here, to have also true on miss
                        $dbr = wfGetDB( DB_SLAVE );
 -                      $row = $dbr->selectRow( 'filearchive',
 -                              array(
 -                                      'fa_id',
 -                                      'fa_name',
 -                                      'fa_archive_name',
 -                                      'fa_storage_key',
 -                                      'fa_storage_group',
 -                                      'fa_size',
 -                                      'fa_bits',
 -                                      'fa_width',
 -                                      'fa_height',
 -                                      'fa_metadata',
 -                                      'fa_media_type',
 -                                      'fa_major_mime',
 -                                      'fa_minor_mime',
 -                                      'fa_description',
 -                                      'fa_user',
 -                                      'fa_user_text',
 -                                      'fa_timestamp',
 -                                      'fa_deleted',
 -                                      'fa_sha1' ),
 +                      $row = $dbr->selectRow(
 +                              'filearchive',
 +                              self::selectFields(),
                                $conds,
                                __METHOD__,
-                               array( 'ORDER BY' => 'fa_timestamp DESC')
+                               array( 'ORDER BY' => 'fa_timestamp DESC' )
                        );
                        if ( !$row ) {
                                // this revision does not exist?
Simple merge