Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -223,13 +223,13 @@ |
224 | 224 | $msg = $lnPrfx . implode( $lnPrfx, $msg ) . "\n"; |
225 | 225 | |
226 | 226 | if ( $this->isReadMode() ) { |
227 | | - $msg .= "\nThis module requires read rights."; |
| 227 | + $msg .= "\nThis module requires read rights"; |
228 | 228 | } |
229 | 229 | if ( $this->isWriteMode() ) { |
230 | | - $msg .= "\nThis module requires write rights."; |
| 230 | + $msg .= "\nThis module requires write rights"; |
231 | 231 | } |
232 | 232 | if ( $this->mustBePosted() ) { |
233 | | - $msg .= "\nThis module only accepts POST requests."; |
| 233 | + $msg .= "\nThis module only accepts POST requests"; |
234 | 234 | } |
235 | 235 | if ( $this->isReadMode() || $this->isWriteMode() || |
236 | 236 | $this->mustBePosted() ) |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | $desc .= $paramPrefix . $prompt . implode( ', ', ApiBase::getValidNamespaces() ); |
327 | 327 | break; |
328 | 328 | case 'limit': |
329 | | - $desc .= $paramPrefix . "No more than {$paramSettings[self :: PARAM_MAX]} ({$paramSettings[self::PARAM_MAX2]} for bots) allowed."; |
| 329 | + $desc .= $paramPrefix . "No more than {$paramSettings[self :: PARAM_MAX]} ({$paramSettings[self::PARAM_MAX2]} for bots) allowed"; |
330 | 330 | break; |
331 | 331 | case 'integer': |
332 | 332 | $hasMin = isset( $paramSettings[self::PARAM_MIN] ); |