fixes #2215 hopefully

* improved domain support
* renamed archived files will be redirected to the latest version; users still have to click 'File history' to view the old ones

note: it appears wikia doesn't support yet #filehistory and #mediaviewer from wikipedia