Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/188429
Change subject: Have ext.cx.eventlogging depend on schema.
......................................................................
Have ext.cx.eventlogging depend on schema.
This also causes it to depend (via the schema) on ext.eventlogging.
This should fix the errors in the Beta cluster.
Bug: T88448
Change-Id: I3626f3599bb64069dc0ae8e35e297c22c9a92a5f
---
M ContentTranslation.hooks.php
M Resources.php
2 files changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/29/188429/1
diff --git a/ContentTranslation.hooks.php b/ContentTranslation.hooks.php
index 7bf97da..66a11d4 100644
--- a/ContentTranslation.hooks.php
+++ b/ContentTranslation.hooks.php
@@ -48,7 +48,6 @@
// and the event logging functions module
if ( $wgContentTranslationEventLogging ) {
$out->addModules( array(
- 'schema.ContentTranslation',
'ext.cx.eventlogging',
) );
}
diff --git a/Resources.php b/Resources.php
index 2b4f47b..135d0bf 100644
--- a/Resources.php
+++ b/Resources.php
@@ -505,6 +505,7 @@
$wgResourceModules['ext.cx.eventlogging'] = array(
'scripts' => 'eventlogging/ext.cx.eventlogging.js',
'dependencies' => array(
+ 'schema.ContentTranslation',
'ext.cx.model',
),
) + $resourcePaths;
--
To view, visit https://gerrit.wikimedia.org/r/188429
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3626f3599bb64069dc0ae8e35e297c22c9a92a5f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits