Kaldari has submitted this change and it was merged.
Change subject: Revert "Move all MobileFrontend EventLogging rules into
MobileFrontend"
......................................................................
Revert "Move all MobileFrontend EventLogging rules into MobileFrontend"
This reverts commit 79b29e6bb91e79c3b8470ec2d352d59e1d5be07f.
Change-Id: I22cb0cd9e55180504d91e30d9eac193af80433d7
---
M wmf-config/mobile.php
1 file changed, 43 insertions(+), 0 deletions(-)
Approvals:
Kaldari: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 7dc0833..81f61fa 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -55,6 +55,49 @@
// Enable appending of TM (text) / (R) (icon) on site name in footer.
$wgMFTrademarkSitename = $wmgMFTrademarkSitename;
+// Enable Schemas for event logging (jdlrobson; 07-Feb-2012)
+if ( $wmgUseEventLogging ) {
+ $wgResourceModules['mobile.watchlist.schema'] = array(
+ 'class' => 'ResourceLoaderSchemaModule',
+ 'schema' => 'MobileBetaWatchlist',
+ 'revision' => 5281061,
+ 'targets' => 'mobile',
+ );
+
+ $wgResourceModules['mobile.uploads.schema'] = array(
+ 'class' => 'ResourceLoaderSchemaModule',
+ 'schema' => 'MobileWebUploads',
+ 'revision' => 5383883,
+ 'targets' => 'mobile',
+ );
+
+ $wgResourceModules['mobile.editing.schema'] = array(
+ 'class' => 'ResourceLoaderSchemaModule',
+ 'schema' => 'MobileWebEditing',
+ 'targets' => 'mobile',
+ 'revision' => 5644223,
+ );
+
+ $wgResourceModules[ 'schema.MobileWebClickTracking' ] = array(
+ 'class' => 'ResourceLoaderSchemaModule',
+ 'schema' => 'MobileWebClickTracking',
+ 'targets' => 'mobile',
+ 'revision' => 5929948,
+ );
+
+ $wgHooks['EnableMobileModules'][] = function( $out, $mode ) {
+ $modules = array(
+ 'mobile.uploads.schema',
+ 'mobile.watchlist.schema',
+ 'mobile.editing.schema',
+ 'schema.MobileWebClickTracking',
+ );
+ // add regardless of mode
+ $out->addModules( $modules );
+ return true;
+ };
+}
+
// Force HTTPS for login/account creation
$wgMFForceSecureLogin = $wmgMFForceSecureLogin;
--
To view, visit https://gerrit.wikimedia.org/r/91542
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I22cb0cd9e55180504d91e30d9eac193af80433d7
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits