Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/91540
Change subject: Temporarily reverting.
......................................................................
Temporarily reverting.
Change-Id: I1c22d10cbb7932cf8533503d98f32ea2ec9b84c4
---
M wmf-config/mobile.php
1 file changed, 43 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/40/91540/1
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/91540
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c22d10cbb7932cf8533503d98f32ea2ec9b84c4
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits