Index: trunk/phase3/includes/User.php |
— | — | @@ -2761,9 +2761,9 @@ |
2762 | 2762 | function getMaxID() { |
2763 | 2763 | static $res; // cache |
2764 | 2764 | |
2765 | | - if ( isset( $res ) ) |
| 2765 | + if ( isset( $res ) ) { |
2766 | 2766 | return $res; |
2767 | | - else { |
| 2767 | + } else { |
2768 | 2768 | $dbr = wfGetDB( DB_SLAVE ); |
2769 | 2769 | return $res = $dbr->selectField( 'user', 'max(user_id)', false, __METHOD__ ); |
2770 | 2770 | } |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -3307,7 +3307,7 @@ |
3308 | 3308 | |
3309 | 3309 | if ( !$title->equals( $cacheTitle ) ) { |
3310 | 3310 | $this->mTplRedirCache[$cacheTitle->getPrefixedDBkey()] = |
3311 | | - array( $title->getNamespace(),$cdb = $title->getDBkey() ); |
| 3311 | + array( $title->getNamespace(), $cdb = $title->getDBkey() ); |
3312 | 3312 | } |
3313 | 3313 | |
3314 | 3314 | return array( $dom, $title ); |
Index: trunk/phase3/languages/classes/LanguageKk.php |
— | — | @@ -284,10 +284,10 @@ |
285 | 285 | } |
286 | 286 | |
287 | 287 | function regsConverter( $text, $toVariant ) { |
288 | | - if ( $text == '' ) return $text; |
| 288 | + if ( $text == '' ) { |
| 289 | + return $text; |
| 290 | + } |
289 | 291 | |
290 | | - $pat = array(); |
291 | | - $rep = array(); |
292 | 292 | switch( $toVariant ) { |
293 | 293 | case 'kk-arab': |
294 | 294 | case 'kk-cn': |