Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -347,7 +347,9 @@ |
348 | 348 | switch ( $type ) { |
349 | 349 | case 'namespace': |
350 | 350 | // Special handling because namespaces are type-limited, yet they are not given |
351 | | - $desc .= $paramPrefix . $prompt . implode( ', ', MWNamespace::getValidNamespaces() ); |
| 351 | + $desc .= $paramPrefix . $prompt; |
| 352 | + $desc .= wordwrap( implode( ', ', MWNamespace::getValidNamespaces() ), |
| 353 | + 100, $descWordwrap ); |
352 | 354 | break; |
353 | 355 | case 'limit': |
354 | 356 | $desc .= $paramPrefix . "No more than {$paramSettings[self :: PARAM_MAX]}"; |