mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-11 17:01:58 +00:00
Remove references to finished DiscussionTools A/B test
Bug: T341491 Change-Id: Ia3712e2930fcd971bce44f568430602ce3949f23
This commit is contained in:
parent
557a5cbc0c
commit
c47a996eb0
|
@ -19,7 +19,6 @@ use MediaWiki\Config\Config;
|
|||
use MediaWiki\Context\RequestContext;
|
||||
use MediaWiki\EditPage\EditPage;
|
||||
use MediaWiki\Extension\ConfirmEdit\Hooks as ConfirmEditHooks;
|
||||
use MediaWiki\Extension\DiscussionTools\Hooks as DiscussionToolsHooks;
|
||||
use MediaWiki\Extension\EventLogging\EventLogging;
|
||||
use MediaWiki\Hook\EditPage__attemptSave_afterHook;
|
||||
use MediaWiki\Hook\EditPage__attemptSaveHook;
|
||||
|
@ -165,13 +164,6 @@ class Hooks implements
|
|||
'wiki' => WikiMap::getCurrentWikiId(),
|
||||
] + $data;
|
||||
|
||||
$bucket = ExtensionRegistry::getInstance()->isLoaded( 'DiscussionTools' ) ?
|
||||
// @phan-suppress-next-line PhanUndeclaredClassMethod
|
||||
DiscussionToolsHooks\HookUtils::determineUserABTestBucket( $user ) : false;
|
||||
if ( $bucket ) {
|
||||
$data['bucket'] = $bucket;
|
||||
}
|
||||
|
||||
if ( $user->isAnon() ) {
|
||||
$data['user_class'] = 'IP';
|
||||
}
|
||||
|
@ -231,13 +223,6 @@ class Hooks implements
|
|||
'user_editcount' => $editCount ?: 0,
|
||||
];
|
||||
|
||||
$bucket = ExtensionRegistry::getInstance()->isLoaded( 'DiscussionTools' ) ?
|
||||
// @phan-suppress-next-line PhanUndeclaredClassMethod
|
||||
DiscussionToolsHooks\HookUtils::determineUserABTestBucket( $user ) : false;
|
||||
if ( $bucket ) {
|
||||
$data['bucket'] = $bucket;
|
||||
}
|
||||
|
||||
// NOTE: The 'VisualEditorFeatureUse' event was migrated to the Event Platform and is no
|
||||
// longer using the legacy EventLogging schema from metawiki. $revId is actually
|
||||
// overridden by the EventLoggingSchemas extension attribute in
|
||||
|
|
Loading…
Reference in a new issue