mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +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' : '';
|
widthSection = width ? '|' + width + 'px' : '';
|
||||||
captionSection = caption ? '|' + caption : '';
|
captionSection = caption ? '|' + caption : '';
|
||||||
|
|
||||||
return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]';
|
return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]';
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue