diff --git a/Popups.php b/Popups.php index a583e5de3..d3d4b6cbe 100644 --- a/Popups.php +++ b/Popups.php @@ -46,6 +46,9 @@ $wgResourceModules = array_merge( $wgResourceModules, array( 'resources/ext.popups.core.less', 'resources/ext.popups.animation.less', ), + 'dependencies' => array( + 'mediawiki.api', + ), 'remoteExtPath' => $remoteExtPath, 'localBasePath' => $localBasePath, ),