Merge "Check MW version before loading VE"

This commit is contained in:
jenkins-bot 2013-07-30 20:46:39 +00:00 committed by Gerrit Code Review
commit 927d3ad644

View file

@ -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.