Now we have a standard way of accessing page tokens, we should use that everywhere in the schemas we make use of.
- Replace usage of mw.user.generateRandomSessionId for accessing a page token with mw.user.getPageviewToken
- pageToken is set here
- When refactoring, please keep in mind, that in Page previews repo, when we create a pageInteractionToken -> this token has to be unique for each preview. We cannot use the same token if the user dwells over the same link twice. Please DOCUMENT this in page previews codebase (Popups extension) as it's not correctly documented. The goal is to distinguish between two hovers on the same link.
Note: be careful as page previews also has a concept of a linkInteractionToken for which there is no shared/well-defined API.