Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -336,7 +336,9 @@ |
337 | 337 | $choices[] = $t; |
338 | 338 | } |
339 | 339 | } |
340 | | - $desc .= $paramPrefix . $nothingPrompt . $prompt . implode( ', ', $choices ); |
| 340 | + $desc .= $paramPrefix . $nothingPrompt . $prompt; |
| 341 | + $choicesstring = implode( ', ', $choices ); |
| 342 | + $desc .= wordwrap( $choicesstring, 100, "\n " ); |
341 | 343 | } else { |
342 | 344 | switch ( $type ) { |
343 | 345 | case 'namespace': |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -45,6 +45,7 @@ |
46 | 46 | * (bug 26339) Throw warning when truncating an overlarge API result |
47 | 47 | * (bug 14869) Add API module for accessing QueryPage-based special pages |
48 | 48 | * (bug 14020) API for Special:Unwatchedpages |
| 49 | +* (bug 24287) Wrap/similar on api help output |
49 | 50 | |
50 | 51 | === Languages updated in 1.18 === |
51 | 52 | |