mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 02:38:40 +00:00
Update VE core submodule to master (74be717)
Also add MW configuration for ModelRegistry back, was removed in core. New changes: 564c459 Localisation updates from https://translatewiki.net. f30e061 Consistency in test header comments 74be717 Remove MW-specific config and genericise tests in ModelRegistry Bug: 53148 Change-Id: I67e77bd41bbff52f88632ff9e4cf5e4c48251174
This commit is contained in:
parent
b14326624b
commit
810fc7df16
|
@ -530,6 +530,8 @@ $wgResourceModules += array(
|
|||
'ext.visualEditor.mwcore' => $wgVisualEditorResourceTemplate + array(
|
||||
'scripts' => array(
|
||||
// dm
|
||||
'modules/ve-mw/dm/ve.dm.MW.js',
|
||||
|
||||
'modules/ve-mw/dm/nodes/ve.dm.MWEntityNode.js',
|
||||
'modules/ve-mw/dm/nodes/ve.dm.MWExtensionNode.js',
|
||||
|
||||
|
|
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
|||
Subproject commit ac4b49a86ca591f6615bb65f8637e419abdb10ad
|
||||
Subproject commit 74be717ac1a2435db9d71f7c9db90ad1273eb03e
|
8
modules/ve-mw/dm/ve.dm.MW.js
Normal file
8
modules/ve-mw/dm/ve.dm.MW.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*!
|
||||
* VisualEditor DataModel MediaWiki configuration.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
ve.dm.modelRegistry.registerExtensionSpecificType( /^mw:/ );
|
Loading…
Reference in a new issue