John F. Lewis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/201961

Change subject: Configure EventLogging on wikitech
......................................................................

Configure EventLogging on wikitech

Use the testwiki configuration and set it up
to use itself which may match what Andrew
originally wanted while configuring the extention
as well.

Bug: T84965
Change-Id: I87a6d010144f1eb3e6472783ed16700e06ab6a84
---
M wmf-config/CommonSettings.php
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/61/201961/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 57c3838..8300096 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2663,7 +2663,10 @@
 if ( $wmgUseEventLogging ) {
        require_once( "$IP/extensions/EventLogging/EventLogging.php" );
        if ( $wgDBname === 'labswiki' ) {
-               // Defaults!
+               $wgEventLoggingDBname = 'labswiki';
+               $wgEventLoggingSchemaApiUri = 
'http://wikitech.wikimedia.org/w/api.php';
+               $wgEventLoggingBaseUri = "//{$wmfHostnames['bits']}/dummy.gif";
+               $wgEventLoggingFile = 
"udp://$wmfUdp2logDest/EventLogging-$wgDBname";
        } elseif ( $wgDBname === 'test2wiki' ) {
                // test2wiki has its own Schema: NS.
                $wgEventLoggingDBname = 'test2wiki';

-- 
To view, visit https://gerrit.wikimedia.org/r/201961
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87a6d010144f1eb3e6472783ed16700e06ab6a84
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: John F. Lewis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to