mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 00:06:49 +00:00
Follow-up Ia75d685c: Fix the insert file dialog
This appears to have been an oversight in the above change. Since the magic words variable was no longer set, magicWordsI18N became null which broke things, and caused whitespace info to not get recorded, which broke the ability to handle the dialog being submitted too. Bug: T230078 Change-Id: I5c44ed348de6ac2363d3d789b38053caa3935f62
This commit is contained in:
parent
811a21d1ff
commit
20d3c66c2c
|
@ -643,7 +643,7 @@
|
|||
},
|
||||
open: function () {
|
||||
var context, selection, parseFileSyntax,
|
||||
magicWordsI18N = mw.config.get( 'wgWikiEditorMagicWords' ),
|
||||
magicWordsI18N = configData.magicWords,
|
||||
fileData = {
|
||||
pre: '',
|
||||
post: '',
|
||||
|
|
Loading…
Reference in a new issue