Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -1383,7 +1383,7 @@ |
1384 | 1384 | $on = $this->makeList((array)$join_conds_safe[$table][1], LIST_AND); |
1385 | 1385 | if ( $on != '' ) { |
1386 | 1386 | $tableClause .= ' ON (' . $on . ')'; |
1387 | | - } |
| 1387 | + } |
1388 | 1388 | $retJOIN[] = $tableClause; |
1389 | 1389 | } else { |
1390 | 1390 | $tableClause = $this->tableName( $table ); |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -341,7 +341,11 @@ |
342 | 342 | $desc .= $paramPrefix . $prompt . implode( ', ', MWNamespace::getValidNamespaces() ); |
343 | 343 | break; |
344 | 344 | case 'limit': |
345 | | - $desc .= $paramPrefix . "No more than {$paramSettings[self :: PARAM_MAX]} ({$paramSettings[self::PARAM_MAX2]} for bots) allowed"; |
| 345 | + $desc .= $paramPrefix . "No more than {$paramSettings[self :: PARAM_MAX]}"; |
| 346 | + if ( isset( $paramSettings[self::PARAM_MAX2] ) ) { |
| 347 | + $desc .= " ({$paramSettings[self::PARAM_MAX2]} for bots)"; |
| 348 | + } |
| 349 | + $desc .= ' allowed'; |
346 | 350 | break; |
347 | 351 | case 'integer': |
348 | 352 | $hasMin = isset( $paramSettings[self::PARAM_MIN] ); |