|
MediaWiki master
|
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 27 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 |
Definition at line 42 of file FileDeleteForm.php.
References MediaWiki\FileRepo\File\LocalFile\deleteOldFile(), and wfMessage().
|
static |
Is the provided oldimage value valid?
| string | $oldimage |
Definition at line 154 of file FileDeleteForm.php.