r71530 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71529‎ | r71530 | r71531 >
Date:23:49, 23 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Add some braces
Modified paths:
  • /trunk/extensions/SiteMatrix/SiteMatrixApi.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SiteMatrix/SiteMatrixApi.php
@@ -49,8 +49,9 @@
5050 'url' => $url,
5151 'code' => $site,
5252 );
53 - if( $matrix->isClosed( $lang, $site ) )
 53+ if( $matrix->isClosed( $lang, $site ) ) {
5454 $site_out['closed'] = '';
 55+ }
5556 $language['site'][] = $site_out;
5657 }
5758 }
@@ -70,12 +71,15 @@
7172 $wiki['url'] = $url;
7273 $wiki['code'] = str_replace( '_', '-', $lang ) . ( $site != 'wiki' ? $site : '' );
7374
74 - if( $matrix->isPrivate( $lang . $site ) )
 75+ if( $matrix->isPrivate( $lang . $site ) ) {
7576 $wiki['private'] = '';
76 - if( $matrix->isFishbowl( $lang . $site ) )
 77+ }
 78+ if( $matrix->isFishbowl( $lang . $site ) ) {
7779 $wiki['fishbowl'] = '';
78 - if( $matrix->isClosed( $lang, $site ) )
 80+ }
 81+ if( $matrix->isClosed( $lang, $site ) ) {
7982 $wiki['closed'] = '';
 83+ }
8084
8185 $specials[] = $wiki;
8286 }

Status & tagging log