Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1684,9 +1684,9 @@ |
1685 | 1685 | 'UploadVerifyFile': extra file verification, based on mime type, etc. Preferred |
1686 | 1686 | in most cases over UploadVerification. |
1687 | 1687 | object $upload: an instance of UploadBase, with all info about the upload |
1688 | | -object $mime: the uploaded file's mime type, as detected by MediaWiki. Handlers |
| 1688 | +string $mime: the uploaded file's mime type, as detected by MediaWiki. Handlers |
1689 | 1689 | will typically only apply for specific mime types. |
1690 | | -object &$error: output: true if the file is valid. Otherwise, and indexed array |
| 1690 | +object &$error: output: true if the file is valid. Otherwise, an indexed array |
1691 | 1691 | representing the problem with the file, where the first element |
1692 | 1692 | is the message key and the remaining elements are used as parameters to |
1693 | 1693 | the message. |