Ok, this is a possible fix too.2014-04-08 20:06 GMT+02:00 Raimond Spekking <raimond.spekking@gmail.com>:
Thanks for the the improvement itself, looks very good.
But for wikis with disabled local uploads or limited usage of the local file namespace I would like to see a core function/setting to skip the local file page and redirect to Commons directly.
Currently a Gadget is necessary for this skip (like on dewiki).
No, you do not really need a gadget. On svwiki it is solved in common.js.