Steps to reproduce
- Enable Show previews without reloading the page in Preferences → Editing if you haven’t done already.
- Navigate to a page with page indicator(s), e.g. https://en.wikipedia.org/wiki/Talk:Main_Page
- Open the browser console.
- Enter void mw.hook( 'wikipage.indicators' ).add( console.log ); and observe the logged jQuery object.
- Now open the page for editing, and preview it.
- Enter void mw.hook( 'wikipage.indicators' ).add( console.log ); again and observe the logged jQuery object.
Actual result
The two logged jQuery objects are different: the first one contains the <div class="mw-indicators">, the second one contains a <div class="mw-indicator"> (plus a text node consisting of a single newline).
Expected result
The two logged jQuery objects are the same. I don’t really mind which one, but according to the documentation, it should be the <div class="mw-indicators">, not its <div class="mw-indicator"> child(ren).