mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Explicity disable popups on DiscussionTools' timestamp links
It currently doesn't trigger because the links lack a title attribute, but if one were to be added the tool would trigger as, although timestamp links are just hash fragment links, we also include the canonical path before the hash. Change-Id: I156b1401f5173ba1727861adf1efa136b96d330f
This commit is contained in:
parent
5d00381b87
commit
b2904e36da
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -38,6 +38,7 @@ const EXCLUDED_LINK_SELECTORS = [
|
|||
'.mw-cite-backlink a',
|
||||
'.oo-ui-buttonElement-button',
|
||||
'.ve-ce-surface a', // T259889
|
||||
'.ext-discussiontools-init-timestamplink',
|
||||
'.cancelLink a',
|
||||
// T198652: lists to hash fragments are ignored.
|
||||
// Note links that include the path will still trigger a hover,
|
||||
|
|
Loading…
Reference in a new issue