diff --git a/resources/mmv/mmv.EmbedFileFormatter.js b/resources/mmv/mmv.EmbedFileFormatter.js index 729711417..533b624a8 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 '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]'; + return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]'; }; /**