mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 03:35:58 +00:00
Merge "Use only the first item of various magic words"
This commit is contained in:
commit
50e3e34098
|
@ -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;">' +
|
||||
|
|
Loading…
Reference in a new issue