Last modified: 2014-09-02 06:04:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36957, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34957 - New line after {{DISPLAYTITLE:}} should be ignored
New line after {{DISPLAYTITLE:}} should be ignored
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.18.x
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 14:11 UTC by Danny B.
Modified: 2014-09-02 06:04 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2012-03-04 14:11:08 UTC
Typical article using {{DISPLAYTITLE:}} has that function on the first line, then line wrap and then infobox or start of the text.

Currently that creates empty paragraph on output -> the article content starts further down from headline than regular articles do.
Comment 1 Mark A. Hershberger 2012-03-05 22:35:29 UTC
I'm pretty sure that if we changed this we would see a lot of complaints as soon as it was deployed.
Comment 2 Danny B. 2012-03-09 12:11:38 UTC
I'm pretty sure that it was working that way before update to weaken restrictions.
Comment 3 Eduard Braun 2012-11-03 01:45:47 UTC
You should definitely change the behaviour to *not* add blank lines.

I've seen many articles on Wikipedia with ugly excessive vertical space after page title due to this error. Common templates (e.g. http://en.wikipedia.org/wiki/Template:Lowercase) even work around this issue by including the {{DISPLAYTITLE:}} template in a <span></span>.

I can't think of any case were newlines at the beginning of the page are actually needed so I can't imagine you'll break anything or receive any complaints.
Comment 4 Danny B. 2012-11-03 22:26:39 UTC
Code update regression can't be marked as enhancement. Changing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links