Strip off versioning code for out-of-wiki files and restrict the app to
files inside the wiki media folder.