Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.api.php |
— | — | @@ -33,11 +33,12 @@ |
34 | 34 | null, $this->getModuleName(), array( 'result' => $ret ) ); |
35 | 35 | } else |
36 | 36 | { |
37 | | - $this->dieUsage( "You provided invalid user." ); |
| 37 | + $this->dieUsage( "You provided an invalid user." ); |
38 | 38 | } |
39 | 39 | } |
40 | 40 | |
41 | 41 | public function getAllowedParams() { |
| 42 | + // params |
42 | 43 | return array( |
43 | 44 | 'user' => null, |
44 | 45 | ); |
— | — | @@ -45,7 +46,7 @@ |
46 | 47 | |
47 | 48 | public function getParamDescription() { |
48 | 49 | return array( |
49 | | - 'user' => 'Username of user you want to get status of', |
| 50 | + 'user' => 'Username of user of which you want to get status', |
50 | 51 | ); |
51 | 52 | } |
52 | 53 | |
— | — | @@ -61,7 +62,7 @@ |
62 | 63 | |
63 | 64 | public function getExamples() { |
64 | 65 | return array( |
65 | | - 'api.php?action=query&list=onlinestatus&onlinestatususer=Petrb', |
| 66 | + 'api.php?action=query&prop=onlinestatus&onlinestatususer=Petrb', |
66 | 67 | ); |
67 | 68 | } |
68 | 69 | |