From 812341a5492c8ea830cb3015796dbb16205c43d2 Mon Sep 17 00:00:00 2001 From: Gilles Dubuc Date: Thu, 27 Feb 2014 08:56:53 +0100 Subject: [PATCH] MediaViewer schema should be a dependency of mmv.bootstrap For the thumbnail-link-click and enlarge-link-click events Change-Id: I8fa0d286997a27b46d2d0506513254694c1927ec --- MultimediaViewer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MultimediaViewer.php b/MultimediaViewer.php index 5da288ef0..61d1d5e1e 100644 --- a/MultimediaViewer.php +++ b/MultimediaViewer.php @@ -494,6 +494,9 @@ call_user_func( function() { 'revision' => 7488625, ); + $wgResourceModules['mmv.bootstrap']['dependencies'][] = 'ext.eventLogging'; + $wgResourceModules['mmv.bootstrap']['dependencies'][] = 'schema.MediaViewer'; + $wgResourceModules['mmv']['dependencies'][] = 'ext.eventLogging'; $wgResourceModules['mmv']['dependencies'][] = 'schema.MediaViewer'; $wgResourceModules['mmv']['dependencies'][] = 'schema.MultimediaViewerNetworkPerformance';