Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -422,7 +422,7 @@ |
423 | 423 | 'dir' => $this->getDirectionDescription( $p ), |
424 | 424 | 'user' => 'Filter entries to those made by the given user', |
425 | 425 | 'title' => 'Filter entries to those related to a page', |
426 | | - 'prefix' => 'Filter entries that start with this prefix. Disabled in MiserMode', |
| 426 | + 'prefix' => 'Filter entries that start with this prefix. Disabled in Miser Mode', |
427 | 427 | 'limit' => 'How many total event entries to return', |
428 | 428 | 'tag' => 'Only list event entries tagged with this tag', |
429 | 429 | ); |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -293,7 +293,8 @@ |
294 | 294 | |
295 | 295 | $paramsDescription = $this->getFinalParamDescription(); |
296 | 296 | $msg = ''; |
297 | | - $paramPrefix = "\n" . str_repeat( ' ', 19 ); |
| 297 | + $paramPrefix = "\n" . str_repeat( ' ', 24 ); |
| 298 | + $descWordwrap = "\n" . str_repeat( ' ', 28 ); |
298 | 299 | foreach ( $params as $paramName => $paramSettings ) { |
299 | 300 | $desc = isset( $paramsDescription[$paramName] ) ? $paramsDescription[$paramName] : ''; |
300 | 301 | if ( is_array( $desc ) ) { |
— | — | @@ -338,7 +339,7 @@ |
339 | 340 | } |
340 | 341 | $desc .= $paramPrefix . $nothingPrompt . $prompt; |
341 | 342 | $choicesstring = implode( ', ', $choices ); |
342 | | - $desc .= wordwrap( $choicesstring, 100, "\n " ); |
| 343 | + $desc .= wordwrap( $choicesstring, 100, $descWordwrap ); |
343 | 344 | } else { |
344 | 345 | switch ( $type ) { |
345 | 346 | case 'namespace': |
— | — | @@ -388,7 +389,7 @@ |
389 | 390 | $desc .= $paramPrefix . "Default: $default"; |
390 | 391 | } |
391 | 392 | |
392 | | - $msg .= sprintf( " %-14s - %s\n", $this->encodeParamName( $paramName ), $desc ); |
| 393 | + $msg .= sprintf( " %-19s - %s\n", $this->encodeParamName( $paramName ), $desc ); |
393 | 394 | } |
394 | 395 | return $msg; |
395 | 396 | |