Index: trunk/extensions/Translate/api/ApiTranslationReview.php |
— | — | @@ -24,13 +24,13 @@ |
25 | 25 | |
26 | 26 | $revision = Revision::newFromId( $params['revision'] ); |
27 | 27 | if ( !$revision ) { |
28 | | - $this->dieUsage( 'You made me sad :(', 'invalidrevision' ); |
| 28 | + $this->dieUsage( 'Invalid revision', 'invalidrevision' ); |
29 | 29 | } |
30 | 30 | |
31 | 31 | $title = $revision->getTitle(); |
32 | 32 | $handle = new MessageHandle( $title ); |
33 | 33 | if ( !$handle->isValid() ) { |
34 | | - $this->dieUsage( 'You made me confused :X', 'unknownmessage' ); |
| 34 | + $this->dieUsage( 'Unknown message', 'unknownmessage' ); |
35 | 35 | } |
36 | 36 | |
37 | 37 | if ( $handle->isFuzzy() ) { |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | public function getParamDescription() { |
89 | 89 | return array( |
90 | 90 | 'revision' => 'The revision number to review', |
91 | | - 'token' => 'A token previously acquired with prop=token&intoken=translationreview', |
| 91 | + 'token' => 'A token previously acquired with action=query&prop=info&intoken=translationreview', |
92 | 92 | ); |
93 | 93 | } |
94 | 94 | |