Deleted file versions will still appear in the file history, but parts of their content will be inaccessible to the public.
MediaWiki:Revdelete-text-file
From AIRWiki
Deleted file versions will still appear in the file history, but parts of their content will be inaccessible to the public.