When the FileImporter successfully finishes an import it should not only add a NullRevision to inform about the import step in the revision history but should also add an entry to the upload log and one to the import log. These should all be associated with the importing user and be timestamped with the import date.
Having the NullRevision and the upload log entry is the default for uploads [1] [2] (although it leads to "doubled" entries on the history page). Since we, apart from the upload, do an import, having an import log entry is the right thing to do.
[1] https://commons.wikimedia.org/w/index.php?title=File:Usenet_Services_Mind_Map.svg&action=history
[2] https://commons.wikimedia.org/w/index.php?title=Special:Log&page=File%3AUsenet+Services+Mind+Map.svg
Acceptance Criteria
- Add an entry to the import log associated with the null revision of the import
Notes
Most probably we will still just have one entry (the null revision) in the page history.
Dev notes
This includes tests