Steps to reproduce:
- open any page in Page: namespace in WIkisource (Book page content model)
- edit the page
- use the search and replace button
- choose any search and replace strings
- click Replace all
Both in top and bottom of edited page content appears <noinclude> tags and <noinclude><pagequality > tag
(raw content of the page header & footer is duplicated into the main edit area)