Steps to replicate the issue (include links if applicable):
- Open https://www.mediawiki.org/wiki/API:Query?useskin=vector-2022 or any other page in the "API" namespace of mediawiki.org
- Scroll down a bit
- Open the JS console
What happens?:
"Element being observed is not in DOM" errors from sectionObserver.js with <h3>, <h4>, and <h5> elements.
Other information (browser name/version, screenshots, etc.):
Chrome, Vector 2022 skin.