mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
Log if an edit attempt began from the sticky header
Bug: T298634 Depends-On: I871494b6e783018b1433f294e09b0d53dded6c3d Change-Id: I07d3c91a63e78f091a1046ca49830e141f6ef8d4
This commit is contained in:
parent
1770eeaa5d
commit
fd0841a899
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue