mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
Use spaces in Embed as Wikitext code
The method exists. I assume this was just a mistake. Bug: 66250 Change-Id: I3a7d19cd1afd0404ce13f947052338d37983db61
This commit is contained in:
parent
9422bb5176
commit
2549d25e61
|
@ -61,7 +61,7 @@
|
|||
widthSection = width ? '|' + width + 'px' : '';
|
||||
captionSection = caption ? '|' + caption : '';
|
||||
|
||||
return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]';
|
||||
return '[[File:' + title.getMainText() + widthSection + '|thumb' + captionSection + ']]';
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue