Log if an edit attempt began from the sticky header

Bug: T298634
Depends-On: I871494b6e783018b1433f294e09b0d53dded6c3d
Change-Id: I07d3c91a63e78f091a1046ca49830e141f6ef8d4
This commit is contained in:
David Lynch 2022-06-15 02:13:36 -05:00
parent 1770eeaa5d
commit fd0841a899

View file

@ -272,6 +272,9 @@ class Hooks implements
$data['init_mechanism'] = 'url';
}
}
if ( $request->getRawVal( 'wvprov' ) === 'sticky-header' ) {
$data['init_mechanism'] .= '-sticky-header';
}
$this->doEventLogging( 'init', $article, $data );
}