Steps to replicate the issue (include links if applicable):
- Login on a wiki with the Popups extension installed
- Go to your user settings ( appearance tab ) https://de.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering
- Disable Page Previews but enable Reference Previews
- Visit an article page with references and hover a reference
What happens?:
- Reference Preview is not showing
What should have happened instead?:
- Reference Preview should show
There's a check in the code to make sure that we stop initializing the extension and the code bails out if there are no selectors configured:
But reference previews seems to register correctly with:
Still when the check is done the selectors are empty. So I guess there's somewhat of a race condition happening.