I think here should be a check if ``$revinfo`` is ``false`` as this is the case both for the dokuwiki icon as well as for all files that were uploaded manually using ftp or before we had media revisions. There should be some value for the editor like "external edit" in this case.