Index: trunk/phase3/includes/upload/UploadFromChunks.php |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | */ |
91 | 91 | protected function initFromSessionKey( $sessionKey, $sessionData ) { |
92 | 92 | // testing against null because we don't want to cause obscure |
93 | | - // bugs when $sessionKey is full of "0" |
| 93 | + // bugs when $sessionKey is full of "0" |
94 | 94 | if ( !$sessionKey === null ) { |
95 | 95 | $this->status = Status::newFromFatal( 'import-token-mismatch' ); |
96 | 96 | return; |
Index: trunk/phase3/includes/api/ApiQueryDeletedrevs.php |
— | — | @@ -197,7 +197,7 @@ |
198 | 198 | |
199 | 199 | $title = Title::makeTitle( $row->ar_namespace, $row->ar_title ); |
200 | 200 | |
201 | | - if ( $fld_parsedcomment) { |
| 201 | + if ( $fld_parsedcomment ) { |
202 | 202 | global $wgUser; |
203 | 203 | $rev['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->ar_comment, $title ); |
204 | 204 | } |
Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -217,13 +217,13 @@ |
218 | 218 | $vals['pageid'] = intval( $row->page_id ); |
219 | 219 | } |
220 | 220 | |
221 | | - $title = Title :: makeTitle( $row->log_namespace, $row->log_title ); |
| 221 | + $title = Title::makeTitle( $row->log_namespace, $row->log_title ); |
222 | 222 | |
223 | 223 | if ( $this->fld_title ) { |
224 | 224 | if ( LogEventsList::isDeleted( $row, LogPage::DELETED_ACTION ) ) { |
225 | 225 | $vals['actionhidden'] = ''; |
226 | 226 | } else { |
227 | | - ApiQueryBase :: addTitleInfo( $vals, $title ); |
| 227 | + ApiQueryBase::addTitleInfo( $vals, $title ); |
228 | 228 | } |
229 | 229 | } |
230 | 230 | |
— | — | @@ -255,7 +255,7 @@ |
256 | 256 | $vals['timestamp'] = wfTimestamp( TS_ISO_8601, $row->log_timestamp ); |
257 | 257 | } |
258 | 258 | |
259 | | - if ( ($this->fld_comment || $this->fld_parsedcomment) && isset( $row->log_comment ) ) { |
| 259 | + if ( ( $this->fld_comment || $this->fld_parsedcomment ) && isset( $row->log_comment ) ) { |
260 | 260 | if ( LogEventsList::isDeleted( $row, LogPage::DELETED_COMMENT ) ) { |
261 | 261 | $vals['commenthidden'] = ''; |
262 | 262 | } else { |
Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -233,10 +233,10 @@ |
234 | 234 | $vals['revid'] = intval( $row->rc_this_oldid ); |
235 | 235 | } |
236 | 236 | |
237 | | - $title = Title :: makeTitle( $row->rc_namespace, $row->rc_title ); |
| 237 | + $title = Title::makeTitle( $row->rc_namespace, $row->rc_title ); |
238 | 238 | |
239 | 239 | if ( $this->fld_title ) |
240 | | - ApiQueryBase :: addTitleInfo( $vals, $title ); |
| 240 | + ApiQueryBase::addTitleInfo( $vals, $title ); |
241 | 241 | |
242 | 242 | if ( $this->fld_user ) { |
243 | 243 | $vals['user'] = $row->rc_user_text; |
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -279,10 +279,10 @@ |
280 | 280 | // $vals['textid'] = intval($row->rev_text_id); // todo: Should this field be exposed? |
281 | 281 | } |
282 | 282 | |
283 | | - $title = Title :: makeTitle( $row->page_namespace, $row->page_title ); |
| 283 | + $title = Title::makeTitle( $row->page_namespace, $row->page_title ); |
284 | 284 | |
285 | 285 | if ( $this->fld_title ) |
286 | | - ApiQueryBase :: addTitleInfo( $vals, $title ); |
| 286 | + ApiQueryBase::addTitleInfo( $vals, $title ); |
287 | 287 | |
288 | 288 | if ( $this->fld_timestamp ) |
289 | 289 | $vals['timestamp'] = wfTimestamp( TS_ISO_8601, $row->rev_timestamp ); |
— | — | @@ -296,7 +296,7 @@ |
297 | 297 | $vals['top'] = ''; |
298 | 298 | } |
299 | 299 | |
300 | | - if ( ($this->fld_comment || $this->fld_parsedcomment) && isset( $row->rev_comment ) ) { |
| 300 | + if ( ( $this->fld_comment || $this->fld_parsedcomment ) && isset( $row->rev_comment ) ) { |
301 | 301 | if ( $row->rev_deleted & Revision::DELETED_COMMENT ) |
302 | 302 | $vals['commenthidden'] = ''; |
303 | 303 | else { |