Index: trunk/phase3/includes/api/ApiFormatBase.php |
— | — | @@ -342,6 +342,8 @@ |
343 | 343 | |
344 | 344 | /** |
345 | 345 | * Optimization - no need to sanitize data that will not be needed |
| 346 | + * |
| 347 | + * @return bool |
346 | 348 | */ |
347 | 349 | public function getNeedsRawData() { |
348 | 350 | return true; |
Index: trunk/phase3/includes/api/ApiFeedContributions.php |
— | — | @@ -36,6 +36,8 @@ |
37 | 37 | |
38 | 38 | /** |
39 | 39 | * This module uses a custom feed wrapper printer. |
| 40 | + * |
| 41 | + * @return ApiFormatFeedWrapper |
40 | 42 | */ |
41 | 43 | public function getCustomPrinter() { |
42 | 44 | return new ApiFormatFeedWrapper( $this->getMain() ); |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -655,6 +655,8 @@ |
656 | 656 | |
657 | 657 | /** |
658 | 658 | * @deprecated since 1.17 use MWNamespace::getValidNamespaces() |
| 659 | + * |
| 660 | + * @return array |
659 | 661 | */ |
660 | 662 | public static function getValidNamespaces() { |
661 | 663 | return MWNamespace::getValidNamespaces(); |
— | — | @@ -1164,7 +1166,7 @@ |
1165 | 1167 | 'emptynewsection' => array( 'code' => 'emptynewsection', 'info' => 'Creating empty new sections is not possible.' ), |
1166 | 1168 | 'revwrongpage' => array( 'code' => 'revwrongpage', 'info' => "r\$1 is not a revision of ``\$2''" ), |
1167 | 1169 | 'undo-failure' => array( 'code' => 'undofailure', 'info' => 'Undo failed due to conflicting intermediate edits' ), |
1168 | | - |
| 1170 | + |
1169 | 1171 | // Messages from WikiPage::doEit() |
1170 | 1172 | 'edit-hook-aborted' => array( 'code' => 'edit-hook-aborted', 'info' => "Your edit was aborted by an ArticleSave hook" ), |
1171 | 1173 | 'edit-gone-missing' => array( 'code' => 'edit-gone-missing', 'info' => "The page you tried to edit doesn't seem to exist anymore" ), |
Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -428,6 +428,8 @@ |
429 | 429 | /** |
430 | 430 | * Perform the actual upload. Returns a suitable result array on success; |
431 | 431 | * dies on failure. |
| 432 | + * |
| 433 | + * @return array |
432 | 434 | */ |
433 | 435 | protected function performUpload() { |
434 | 436 | global $wgUser; |
Index: trunk/phase3/includes/api/ApiFeedWatchlist.php |
— | — | @@ -44,6 +44,8 @@ |
45 | 45 | |
46 | 46 | /** |
47 | 47 | * This module uses a custom feed wrapper printer. |
| 48 | + * |
| 49 | + * @return ApiFormatFeedWrapper |
48 | 50 | */ |
49 | 51 | public function getCustomPrinter() { |
50 | 52 | return new ApiFormatFeedWrapper( $this->getMain() ); |
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -275,6 +275,8 @@ |
276 | 276 | |
277 | 277 | /** |
278 | 278 | * Extract fields from the database row and append them to a result array |
| 279 | + * |
| 280 | + * @return array |
279 | 281 | */ |
280 | 282 | private function extractRowInfo( $row ) { |
281 | 283 | $vals = array(); |