Page MenuHomePhabricator

Null edit to non-line-initial <h#>-delimited section adds significant whitespace
Closed, ResolvedPublic

Description

Author: ayg

Description:
Steps to reproduce: null-edit the first section of the page at the URL. Observe the difference.
Then revert yourself so the next person can try. The problem is obvious: almost all sections
start on a new line, so nobody bothered to put any logic in to check if the next section has a
line break before it.


Version: unspecified
Severity: minor
URL: http://en.wikipedia.org/wiki/User:Simetrical/9266

Details

Reference
bz9266

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:37 PM
bzimport set Reference to bz9266.
bzimport added a subscriber: Unknown Object (MLST).

It seems that the current MediaWiki version does not count the second H2 as a valid section (which is a correct behaviour), therefore, this bug does not occur. (http://en.wikipedia.org/w/index.php?title=User:Simetrical/9266&action=edit&section=2 leads to an error stating there is no section 2).

Marking as WORKSFORME (or, maybe RESOLVED would be better?).