Revert "Use localized namespace name in embed wikitext"

Mark pointed out that using localized namespace names would cause 
problems when users try to reuse images across wikis with different 
content language. Reverting for now.

This reverts commit 59b8e5c82a.

Bug: 64710
Change-Id: I4b8b46871a1c80bce20e4017aa8adcfe3041bb4a
This commit is contained in:
Gergő Tisza 2014-05-05 17:58:08 +00:00
parent 59b8e5c82a
commit 89f4d27e4c

View file

@ -61,7 +61,7 @@
widthSection = width ? '|' + width + 'px' : '';
captionSection = caption ? '|' + caption : '';
return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]';
return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]';
};
/**