Page MenuHomePhabricator

Automatic fix (linebreak removal) after preview or publishing page results in bad transclusion
Open, Needs TriagePublic

Description

When I preview or publish a page in NS page on Czech wikisource, mediawiki (or maybe some gadget?) removes linebreak before a heading resulting in transclusion of text surrounded by equal signs instead of a heading. There are workarounds, but they are extra effort that would be unnecessary if these "automatic fixes" would not be happening.

Event Timeline

Wesalius created this task.May 11 2019, 7:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 11 2019, 7:51 AM
Billinghurst added a subscriber: Billinghurst.EditedMay 11 2019, 7:53 AM

We cannot have both worlds of no breaks or breaks, and only one can be automated. This is why the Wikisources have their {{nop}} templates to indicate the end of a paragraph.

Also it is unusual for the Wikisources to use == == as they usually look to better replicate the work, AND not create artificial section markers that are not in the works.

beleg_tal added a subscriber: beleg_tal.EditedOct 8 2019, 7:46 PM

I think it is reasonable to expect header markup to work after a section header.

It is worth noting that list markup and table markup do not have this problem: https://en.wikisource.org/w/index.php?title=Page:Sandbox.djvu/26&diff=prev&oldid=9641189