Background
Based on investigation in T234204: Investigation: how many wikis have the ReferenceTooltip Gadget enabled by default?, we know the experience of encountering both the ReferencePreview extension and the Navigation-Popups or ReferenceTooltip gadget, which is set as default on several top 10 wikis, is a broken one. To ensure that doesn't occur, we have decided to auto-disable ReferencePreviews if the gadgets are detected.
Open questions:
- How should the auto-disable detect the gadget? Based on name or another solution? Same as already done for Navigation-Popups, see T234204#5604893
- Under which names does the ReferenceTooltip gadget exist on the wikis? If solution is to be based on it's name, gather list of names used on wikis that have this gadget enabled in the configuration.
Requirements:
- Make our Reference Previews auto-disable when the gadget is detected. This should work both for logged-in users that have the gadget enabled, and for anynomous users on wikis in which the gadget is enabled by default.