|
MediaWiki REL1_39
|
File deletion user interface. More...
Static Public Member Functions | |
| static | doDelete (Title $title, LocalFile $file, ?string $oldimage, $reason, $suppress, UserIdentity $user, $tags=[], bool $deleteTalk=false) |
| Really delete the file. | |
| static | isValidOldSpec ( $oldimage) |
Is the provided oldimage value valid? | |
File deletion user interface.
Definition at line 34 of file FileDeleteForm.php.
|
static |
Really delete the file.
| Title | $title | |
| LocalFile | $file | |
| string | null | $oldimage | Archive name |
| string | $reason | Reason of the deletion |
| bool | $suppress | Whether to mark all deleted versions as restricted |
| UserIdentity | $user | |
| string[] | $tags | Tags to apply to the deletion action |
| bool | $deleteTalk |
| MWException |
Definition at line 50 of file FileDeleteForm.php.
References $file, $title, and wfMessage().
|
static |
Is the provided oldimage value valid?
| string | $oldimage |
Definition at line 155 of file FileDeleteForm.php.