|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onFileUndeleteComplete ( $title, $fileVersions, $user, $reason) | |
| This hook is called when a file is undeleted. | |
Stable to implement.
Definition at line 12 of file FileUndeleteCompleteHook.php.
| MediaWiki\Hook\FileUndeleteCompleteHook::onFileUndeleteComplete | ( | $title, | |
| $fileVersions, | |||
| $user, | |||
| $reason | |||
| ) |
This hook is called when a file is undeleted.
| Title | $title | Title object for the file |
| int[] | $fileVersions | Array of undeleted filearchive IDs. Empty if all versions were restored. |
| User | $user | User who performed the undeletion |
| string | $reason |
Implemented in MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.