What happens:
When trying to import a file from a wiki project that uses different namespace identifiers for files, the importer gets confused about the colon character in the filename.
e.g. Try to import https://de.wikipedia.org/wiki/Datei:Barmbek.png
You will get The title you are currently trying to import to contains invalid filename characters. warning with Datei:Barmbek.png in the filename input field
Expected behavior:
Autodetect the foreign file namespace and remove it from the title.