I know that the intent is to make it very visible, but the way it currently barges into the content for some pages plain breaks the layout. For example, at this enws page it makes
into
Couldn't it perhaps be floated at the right or something of that kind? Or at least inserted at the top of page content, rather than inserting itself apparently inside the first div.
Acceptance criteria
- Surveys support a “querySelector” parameter that it used by insertPanel to allow surveys to define where they can be added. The survey is always inserted after the element it matches
- If querySelector matches no element the survey is not added.
- The querySelector defaults to null. When not specified it uses the existing logic.
- If the querySelector field is set to false or null then the survey will never added automatically to page. This can be utilized by developer alongside the library utility function to add to special pages.
- To match default behaviour querySelector defaults to #bodyContent .infobox, #bodyContent > div > div > .thumb, #bodyContent > div > .thumb, #bodyContent > .thumb, .#bodyContent mw-heading
- The default querySelector should be configurable in LocalSettings.php so that we can set sensible defaults for different projects at a later date.
Open questions
- Are there any security concerns around insertion?





