mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-25 00:25:47 +00:00
Merge "Use localized namespace name in embed wikitext"
This commit is contained in:
commit
e747af6d52
|
@ -61,7 +61,7 @@
|
|||
widthSection = width ? '|' + width + 'px' : '';
|
||||
captionSection = caption ? '|' + caption : '';
|
||||
|
||||
return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]';
|
||||
return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]';
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue