Last modified: 2012-04-23 18:32:00 UTC
Seems that ProofreadPage now includes a script that replaces <section begin=Name> and <section end=Name> tags around section text with ## Name ## in front of section text while editing. When saving or using a preview it is replaced back in a way that section end tag followed by another section will be in a separate row. E.g. "Text of 1st section.<section end=Section1> <section begin=Section2>Text of 2nd section." becomes into "Text of 1st section. <section end=Section1> <section begin=Section2>Text of 2nd section." I believe the script should keep the section end tag right after the section text as otherwise an empty row shows up after the section on a page where the section is transcluded.
This function is implemented in a script https://wikisource.org/wiki/MediaWiki:Base.js which must be included on the wiki you are editing. You can disable it for all users by putting the following line: self.proofreadpage_raw_lst=true; on MediaWiki:Common.js. You can put it on Special:Mypage/common.js to disable it only for you.
(In reply to comment #1) > This function is implemented in a script > https://wikisource.org/wiki/MediaWiki:Base.js which must be included on the > wiki you are editing. To clarify, are you saying that a script implemented on oldwikisource is efficient on all wikisources? I suspect this isn't the case as I don't remember having this problem at the first half of 2011 and they implemented it already in 2010. There is no such script at etwikisource where I ran into the problem. This script was probably developed at the page you linked and is part of the extension now, isn't it?
No. You did not mention what project you that issue on, so you have to check it yourself. Just look at MediaWiki:Common.js page on your project and check if Base.js is referenced there.