Expected: The title attribute should never show when hovering over a page preview.
Developer notes
It looks like this regression occurring during the implementation of T277639 cc @Lena_WMDE @WMDE-Fisch
The issue is happening because of the line commented here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Popups/+/677512/comment/306e0417_be9ecf7c/
One potential solution is:
const previewType = newState.preview.previewType || 'page'; if ( !newState.preview.enabled[ previewType ] ) { return; }
We should add a unit test case to cover this.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T287119#7307039 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T287119#7307045 |