mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-12-17 18:40:45 +00:00
Merge "Log if an edit attempt began from the sticky header"
This commit is contained in:
commit
07402fc0a6
|
@ -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