On Mon, May 5, 2014 at 4:00 PM, James Forrester jforrester@wikimedia.org wrote:
If I'm looking at an image hosted on Commons on the German Wikipedia and copy the wikitext to paste it into an article on the Spanish Wikipedia (which is quite likely – say I'm helping improve the Spanish article based on the existing excellent German one, and am hoping to re-use some of the images), then (a) it won't work if you use "Datei:", and (b) I don't think the Spanish community would be particularly happy that the wishes of the German community were respected over the wishes of the Spanish community for the wikitext to actually work. :-)
Yeah, I get that this scenario is the one we're trying to prevent - I wonder which one is more common in practice. It also seems we're using the locally used caption as part of the embed markup, so that part would need to be adapted anyway.
Since this is just a panel that's available on-demand anyway, perhaps having an additional dropdown switch to select English/canonical vs. project-local namespaces/keywords would be handy if it can be made not too clutter-y. Example:
[ Use German language markup - works on this wiki ^ ] Use English language markup - works on any wiki
This would only be shown on wikis with non-English content language.