Index: trunk/phase3/includes/upload/UploadStash.php |
— | — | @@ -16,8 +16,12 @@ |
17 | 17 | // Format of the key for files -- has to be suitable as a filename itself (e.g. ab12cd34ef.jpg) |
18 | 18 | const KEY_FORMAT_REGEX = '/^[\w-]+\.\w+$/'; |
19 | 19 | |
20 | | - // repository that this uses to store temp files |
21 | | - // public because we sometimes need to get a LocalFile within the same repo. |
| 20 | + /** |
| 21 | + * repository that this uses to store temp files |
| 22 | + * public because we sometimes need to get a LocalFile within the same repo. |
| 23 | + * |
| 24 | + * @var LocalRepo |
| 25 | + */ |
22 | 26 | public $repo; |
23 | 27 | |
24 | 28 | // array of initialized objects obtained from session (lazily initialized upon getFile()) |
— | — | @@ -235,7 +239,7 @@ |
236 | 240 | * Arguably UnregisteredLocalFile should be handling its own file repo but that class is a bit retarded currently |
237 | 241 | * |
238 | 242 | * @param $stash UploadStash: useful for obtaining config, stashing transformed files |
239 | | - * @param $repo FileRepo: repository where we should find the path |
| 243 | + * @param $repo FSRepo: repository where we should find the path |
240 | 244 | * @param $path String: path to file |
241 | 245 | * @param $key String: key to store the path and any stashed data under |
242 | 246 | * @param $data String: any other data we want stored with this file |
Index: trunk/phase3/includes/search/SearchEngine.php |
— | — | @@ -630,10 +630,24 @@ |
631 | 631 | * @ingroup Search |
632 | 632 | */ |
633 | 633 | class SearchResult { |
| 634 | + |
| 635 | + /** |
| 636 | + * @var Revision |
| 637 | + */ |
634 | 638 | var $mRevision = null; |
635 | 639 | var $mImage = null; |
636 | 640 | |
637 | 641 | /** |
| 642 | + * @var Title |
| 643 | + */ |
| 644 | + var $mTitle; |
| 645 | + |
| 646 | + /** |
| 647 | + * @var String |
| 648 | + */ |
| 649 | + var $mText; |
| 650 | + |
| 651 | + /** |
638 | 652 | * Return a new SearchResult and initializes it with a title. |
639 | 653 | * |
640 | 654 | * @param $title Title |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -3369,7 +3369,7 @@ |
3370 | 3370 | |
3371 | 3371 | /** |
3372 | 3372 | * Get a cache object. |
3373 | | - * @param $inputType Cache type, one the the CACHE_* constants. |
| 3373 | + * @param integer $inputType Cache type, one the the CACHE_* constants. |
3374 | 3374 | * |
3375 | 3375 | * @return BagOStuff |
3376 | 3376 | */ |
Index: trunk/phase3/includes/job/UploadFromUrlJob.php |
— | — | @@ -18,7 +18,14 @@ |
19 | 19 | class UploadFromUrlJob extends Job { |
20 | 20 | const SESSION_KEYNAME = 'wsUploadFromUrlJobData'; |
21 | 21 | |
| 22 | + /** |
| 23 | + * @var UploadFromUrl |
| 24 | + */ |
22 | 25 | public $upload; |
| 26 | + |
| 27 | + /** |
| 28 | + * @var User |
| 29 | + */ |
23 | 30 | protected $user; |
24 | 31 | |
25 | 32 | public function __construct( $title, $params, $id = 0 ) { |