From: Aaron Schulz Date: Wed, 25 Feb 2009 00:48:07 +0000 (+0000) Subject: Whitespace :) X-Git-Tag: 1.31.0-rc.0~42690 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=36383673449466d404fcb8ea6f58a8ad17a8628d;p=lhc%2Fweb%2Fwiklou.git Whitespace :) --- diff --git a/includes/Category.php b/includes/Category.php index 78567adddc..50efdbc1f4 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -41,8 +41,7 @@ class Category { $dbr = wfGetDB( DB_SLAVE ); $row = $dbr->selectRow( 'category', - array( 'cat_id', 'cat_title', 'cat_pages', 'cat_subcats', - 'cat_files' ), + array( 'cat_id', 'cat_title', 'cat_pages', 'cat_subcats', 'cat_files' ), $where, __METHOD__ ); @@ -70,8 +69,7 @@ class Category { # (bug 13683) If the count is negative, then 1) it's obviously wrong # and should not be kept, and 2) we *probably* don't have to scan many # rows to obtain the correct figure, so let's risk a one-time recount. - if( $this->mPages < 0 || $this->mSubcats < 0 || - $this->mFiles < 0 ) { + if( $this->mPages < 0 || $this->mSubcats < 0 || $this->mFiles < 0 ) { $this->refreshCounts(); } diff --git a/includes/Title.php b/includes/Title.php index c5d1e385cf..616aebd553 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3386,7 +3386,7 @@ class Title { if( $this->mInterwiki != '' ) { return true; // any interwiki link might be viewable, for all we know } - switch( $this->mNamespace ) { + switch( $this->mNamespace ) { case NS_MEDIA: case NS_FILE: return wfFindFile( $this ); // file exists, possibly in a foreign repo