mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 09:42:11 +00:00
Update EditAttemptStep and VisualEditorFeatureUse for IP masking
Bug: T332437 Bug: T332436 Change-Id: I630822accb1ba7332aeca997fa72d0190ed5e75e
This commit is contained in:
parent
60dca3a600
commit
0c287ea755
|
@ -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,
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue