Merge "Use only the first item of various magic words"

This commit is contained in:
jenkins-bot 2021-01-29 15:33:18 +00:00 committed by Gerrit Code Review
commit 50e3e34098

View file

@ -277,7 +277,7 @@
action: {
type: 'encapsulate',
options: {
pre: configData.magicWords.redirect + ' [[',
pre: configData.magicWords.redirect[ 0 ] + ' [[',
periMsg: 'wikieditor-toolbar-tool-redirect-example',
post: ']]',
ownline: true
@ -532,7 +532,7 @@
syntax: { htmlMsg: [
'wikieditor-toolbar-help-content-file-syntax',
fileNamespace,
configData.magicWords.img_thumbnail,
configData.magicWords.img_thumbnail[ 0 ],
mw.message( 'wikieditor-toolbar-help-content-file-caption' ).text()
] },
result: { html: '<div class="thumbinner" style="width: 102px;">' +