Update EditAttemptStep and VisualEditorFeatureUse for IP masking

Bug: T332437
Bug: T332436
Change-Id: I630822accb1ba7332aeca997fa72d0190ed5e75e
This commit is contained in:
Bartosz Dziewoński 2023-04-11 21:58:42 +02:00
parent 60dca3a600
commit 0c287ea755

View file

@ -152,6 +152,7 @@ class Hooks implements
'page_ns' => $title->getNamespace(),
'revision_id' => $revisionRecord ? $revisionRecord->getId() : 0,
'user_id' => $user->getId(),
'user_is_temp' => $user->isTemp(),
'user_editcount' => $this->userEditTracker->getUserEditCount( $user ) ?: 0,
'mw_version' => MW_VERSION,
] + $data;
@ -206,6 +207,7 @@ class Hooks implements
'integration' => 'page',
'editor_interface' => 'wikitext',
'user_id' => $user->getId(),
'user_is_temp' => $user->isTemp(),
'user_editcount' => $editCount ?: 0,
];