mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 18:10:06 +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