Index: trunk/phase3/includes/api/ApiWatch.php |
— | — | @@ -89,9 +89,7 @@ |
90 | 90 | } |
91 | 91 | |
92 | 92 | public function getDescription() { |
93 | | - return array( |
94 | | - 'Add or remove a page from/to the current user\'s watchlist' |
95 | | - ); |
| 93 | + return 'Add or remove a page from/to the current user\'s watchlist'; |
96 | 94 | } |
97 | 95 | |
98 | 96 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiMove.php |
— | — | @@ -221,9 +221,7 @@ |
222 | 222 | } |
223 | 223 | |
224 | 224 | public function getDescription() { |
225 | | - return array( |
226 | | - 'Move a page' |
227 | | - ); |
| 225 | + return 'Move a page'; |
228 | 226 | } |
229 | 227 | |
230 | 228 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiLogout.php |
— | — | @@ -63,9 +63,7 @@ |
64 | 64 | } |
65 | 65 | |
66 | 66 | public function getDescription() { |
67 | | - return array( |
68 | | - 'This module is used to logout and clear session data' |
69 | | - ); |
| 67 | + return 'This module is used to logout and clear session data'; |
70 | 68 | } |
71 | 69 | |
72 | 70 | protected function getExamples() { |
Index: trunk/phase3/includes/api/ApiProtect.php |
— | — | @@ -193,9 +193,7 @@ |
194 | 194 | } |
195 | 195 | |
196 | 196 | public function getDescription() { |
197 | | - return array( |
198 | | - 'Change the protection level of a page' |
199 | | - ); |
| 197 | + return 'Change the protection level of a page'; |
200 | 198 | } |
201 | 199 | |
202 | 200 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiPurge.php |
— | — | @@ -98,9 +98,7 @@ |
99 | 99 | } |
100 | 100 | |
101 | 101 | public function getDescription() { |
102 | | - return array( |
103 | | - 'Purge the cache for the given titles' |
104 | | - ); |
| 102 | + return 'Purge the cache for the given titles'; |
105 | 103 | } |
106 | 104 | |
107 | 105 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiUserrights.php |
— | — | @@ -115,9 +115,7 @@ |
116 | 116 | } |
117 | 117 | |
118 | 118 | public function getDescription() { |
119 | | - return array( |
120 | | - 'Add/remove a user to/from groups', |
121 | | - ); |
| 119 | + return 'Add/remove a user to/from groups'; |
122 | 120 | } |
123 | 121 | |
124 | 122 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -235,9 +235,7 @@ |
236 | 236 | } |
237 | 237 | |
238 | 238 | public function getDescription() { |
239 | | - return array( |
240 | | - 'Delete a page' |
241 | | - ); |
| 239 | + return 'Delete a page'; |
242 | 240 | } |
243 | 241 | |
244 | 242 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiGo.php |
— | — | @@ -74,9 +74,7 @@ |
75 | 75 | } |
76 | 76 | |
77 | 77 | public function getDescription() { |
78 | | - return array( |
79 | | - 'Determine the title one will be taken to by a "Go" search, if any' |
80 | | - ); |
| 78 | + return 'Determine the title one will be taken to by a "Go" search, if any'; |
81 | 79 | } |
82 | 80 | |
83 | 81 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiDisabled.php |
— | — | @@ -60,9 +60,7 @@ |
61 | 61 | } |
62 | 62 | |
63 | 63 | public function getDescription() { |
64 | | - return array( |
65 | | - 'This module has been disabled' |
66 | | - ); |
| 64 | + return 'This module has been disabled'; |
67 | 65 | } |
68 | 66 | |
69 | 67 | protected function getExamples() { |
Index: trunk/phase3/includes/api/ApiImport.php |
— | — | @@ -141,9 +141,7 @@ |
142 | 142 | } |
143 | 143 | |
144 | 144 | public function getDescription() { |
145 | | - return array( |
146 | | - 'Import a page from another wiki, or an XML file' |
147 | | - ); |
| 145 | + return 'Import a page from another wiki, or an XML file'; |
148 | 146 | } |
149 | 147 | |
150 | 148 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiUnblock.php |
— | — | @@ -114,9 +114,7 @@ |
115 | 115 | } |
116 | 116 | |
117 | 117 | public function getDescription() { |
118 | | - return array( |
119 | | - 'Unblock a user' |
120 | | - ); |
| 118 | + return 'Unblock a user'; |
121 | 119 | } |
122 | 120 | |
123 | 121 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -332,9 +332,7 @@ |
333 | 333 | } |
334 | 334 | |
335 | 335 | public function getDescription() { |
336 | | - return array( |
337 | | - 'Returns image information and upload history' |
338 | | - ); |
| 336 | + return 'Returns image information and upload history'; |
339 | 337 | } |
340 | 338 | |
341 | 339 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiEmailUser.php |
— | — | @@ -109,9 +109,7 @@ |
110 | 110 | } |
111 | 111 | |
112 | 112 | public function getDescription() { |
113 | | - return array( |
114 | | - 'Email a user.' |
115 | | - ); |
| 113 | + return 'Email a user.'; |
116 | 114 | } |
117 | 115 | |
118 | 116 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiHelp.php |
— | — | @@ -130,9 +130,7 @@ |
131 | 131 | } |
132 | 132 | |
133 | 133 | public function getDescription() { |
134 | | - return array( |
135 | | - 'Display this help screen. Or the help screen for the specified module' |
136 | | - ); |
| 134 | + return 'Display this help screen. Or the help screen for the specified module'; |
137 | 135 | } |
138 | 136 | |
139 | 137 | protected function getExamples() { |
Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -168,9 +168,7 @@ |
169 | 169 | } |
170 | 170 | |
171 | 171 | public function getDescription() { |
172 | | - return array( |
173 | | - 'Block a user' |
174 | | - ); |
| 172 | + return 'Block a user'; |
175 | 173 | } |
176 | 174 | |
177 | 175 | public function getPossibleErrors() { |
Index: trunk/phase3/includes/api/ApiPatrol.php |
— | — | @@ -83,9 +83,7 @@ |
84 | 84 | } |
85 | 85 | |
86 | 86 | public function getDescription() { |
87 | | - return array( |
88 | | - 'Patrol a page or revision' |
89 | | - ); |
| 87 | + return 'Patrol a page or revision'; |
90 | 88 | } |
91 | 89 | |
92 | 90 | public function getPossibleErrors() { |