mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Check MW version before loading VE"
This commit is contained in:
commit
927d3ad644
|
@ -16,6 +16,8 @@ class VisualEditorHooks {
|
|||
global $wgVisualEditorEnableEventLogging, $wgResourceModules,
|
||||
$wgVisualEditorEnableGenderSurvey;
|
||||
|
||||
wfUseMW( '1.22alpha' );
|
||||
|
||||
if ( $wgVisualEditorEnableEventLogging ) {
|
||||
if ( class_exists( 'ResourceLoaderSchemaModule' ) ) {
|
||||
// EventLogging schema module for logging edit events.
|
||||
|
|
Loading…
Reference in a new issue