From 89f4d27e4cb1bfc5529b6f8423f097565a23c03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Mon, 5 May 2014 17:58:08 +0000 Subject: [PATCH] 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 59b8e5c82acad1bf094519d3635c25331000475b. Bug: 64710 Change-Id: I4b8b46871a1c80bce20e4017aa8adcfe3041bb4a --- resources/mmv/mmv.EmbedFileFormatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/mmv/mmv.EmbedFileFormatter.js b/resources/mmv/mmv.EmbedFileFormatter.js index 533b624a8..729711417 100644 --- a/resources/mmv/mmv.EmbedFileFormatter.js +++ b/resources/mmv/mmv.EmbedFileFormatter.js @@ -61,7 +61,7 @@ widthSection = width ? '|' + width + 'px' : ''; captionSection = caption ? '|' + caption : ''; - return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]'; + return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]'; }; /**