mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
Revert "Use localized namespace name in embed wikitext"
Mark pointed out that using localized namespace names would cause
problems when users try to reuse images across wikis with different
content language. Reverting for now.
This reverts commit 59b8e5c82a
.
Bug: 64710
Change-Id: I4b8b46871a1c80bce20e4017aa8adcfe3041bb4a
This commit is contained in:
parent
59b8e5c82a
commit
89f4d27e4c
|
@ -61,7 +61,7 @@
|
|||
widthSection = width ? '|' + width + 'px' : '';
|
||||
captionSection = caption ? '|' + caption : '';
|
||||
|
||||
return '[[' + title.getPrefixedDb() + widthSection + '|thumb' + captionSection + ']]';
|
||||
return '[[File:' + title.getMain() + widthSection + '|thumb' + captionSection + ']]';
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue