mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-14 11:15:08 +00:00
Doc: add linkInteractionToken description
Add documentation for the Schema:Popups' linkInteractionToken property in the EventLogging reducer. https://meta.wikimedia.org/wiki/Schema:Popups Bug: T203013 Change-Id: I7fc872beda284ef8639ad036ddeb9efc8581a452
This commit is contained in:
parent
53d1a2c329
commit
16004549cf
BIN
resources/dist/index.js.json
vendored
BIN
resources/dist/index.js.json
vendored
Binary file not shown.
|
@ -42,6 +42,10 @@ function getBaseData( bootAction ) {
|
|||
* * `pageTitleHover` and `namespaceIdHover`; and
|
||||
* * `previewType` and `perceivedWait`, if a preview has been shown.
|
||||
*
|
||||
* The linkInteractionToken is renewed on each new preview dwelling unlike the pageToken which has a
|
||||
* lifespan tied to the pageview. It is erroneous to use the same linkInteractionToken across
|
||||
* multiple previews even if the previews are for the same link.
|
||||
*
|
||||
* @param {Object} interaction
|
||||
* @param {Object} actionData Data specific to the action, e.g. see
|
||||
* {@link module:reducers/eventLogging~createClosingEvent `createClosingEvent`}
|
||||
|
|
Loading…
Reference in a new issue