Page MenuHomePhabricator

Have the possibility to remove white line above when new section is added
Open, Needs TriagePublic


We use the inputbox to have users subscribe themselves to a MassMessage list. They click on the button and then a preloaded text is added.

The link we use is this:

This is all working fine, besides one detail: when users save the page, a white line is added above the preloaded text (because it is added as new section). We like to remove this white line, because this means we can't use a numbered list (#).

We understand that a white line is needed in many other cases and should remain by default. Therefore the request to add a parameter to the inputbox which makes it possible to remove this white line.

Te reproduced this bug: 1. click on the link above, 2. click Show changes, 3. see in the diff how a white line is added above the preloaded text.

Thank you.

Event Timeline

Romaine created this task.Oct 16 2015, 11:04 AM
Romaine raised the priority of this task from to Needs Triage.
Romaine updated the task description. (Show Details)
Romaine added a subscriber: Romaine.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 16 2015, 11:04 AM
Tacsipacsi added a subscriber: Tacsipacsi.

It has to be implemented in MediaWiki core, as WikitextContent.php unconditionally adds the line breaks now.