This is a continuation of other non-nice interactive aspects of use of <ref> tag and other mediawiki tags.
Broken when transcluded
<ref>text text text text <noinclude> more text more text more</noinclude></ref>
<ref>text text text text <includeonly>less text less text less </includeonly></ref>
with the transcluded version mimicking the non-transcluded version.
Both these are resolved with
Two pages transcluded can be seen (and tested) at https://en.wikisource.org/w/index.php?title=Wikisource:Sandbox&oldid=6370282