Steps to reproduce
- Enable live preview on multilingual Wikisource.
- Go to a page using Hungarian interface language, e.g. https://wikisource.org/w/index.php?title=Foobar&action=edit&uselang=hu
- Click preview.
Actual result
- The preview note contains a line break, caused by a paragraph with comment <!-- DiscussionTools addDiscussionTools called -->.
Expected result
- The preview note doesn’t contain any line breaks, just like when not using the live preview.
Additional information
- Multilingual Wikisource is set to be special in rOMWC wmf-config/config/sourceswiki.yaml, so its main namespace is in $wgExtraSignatureNamespaces (although it makes no sense, since it’s a content project, and its main namespace contains works, not dicussions…).