Index: trunk/phase3/includes/Title.php |
— | — | @@ -3386,7 +3386,7 @@ |
3387 | 3387 | if( $this->mInterwiki != '' ) { |
3388 | 3388 | return true; // any interwiki link might be viewable, for all we know |
3389 | 3389 | } |
3390 | | - switch( $this->mNamespace ) { |
| 3390 | + switch( $this->mNamespace ) { |
3391 | 3391 | case NS_MEDIA: |
3392 | 3392 | case NS_FILE: |
3393 | 3393 | return wfFindFile( $this ); // file exists, possibly in a foreign repo |
Index: trunk/phase3/includes/Category.php |
— | — | @@ -41,8 +41,7 @@ |
42 | 42 | $dbr = wfGetDB( DB_SLAVE ); |
43 | 43 | $row = $dbr->selectRow( |
44 | 44 | 'category', |
45 | | - array( 'cat_id', 'cat_title', 'cat_pages', 'cat_subcats', |
46 | | - 'cat_files' ), |
| 45 | + array( 'cat_id', 'cat_title', 'cat_pages', 'cat_subcats', 'cat_files' ), |
47 | 46 | $where, |
48 | 47 | __METHOD__ |
49 | 48 | ); |
— | — | @@ -70,8 +69,7 @@ |
71 | 70 | # (bug 13683) If the count is negative, then 1) it's obviously wrong |
72 | 71 | # and should not be kept, and 2) we *probably* don't have to scan many |
73 | 72 | # rows to obtain the correct figure, so let's risk a one-time recount. |
74 | | - if( $this->mPages < 0 || $this->mSubcats < 0 || |
75 | | - $this->mFiles < 0 ) { |
| 73 | + if( $this->mPages < 0 || $this->mSubcats < 0 || $this->mFiles < 0 ) { |
76 | 74 | $this->refreshCounts(); |
77 | 75 | } |
78 | 76 | |