Last modified: 2012-04-16 09:15:34 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 T28645, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26645 - Remove any break lines before page content
Remove any break lines before page content
Status: RESOLVED DUPLICATE of bug 4161
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-09 22:53 UTC by Thomas Bertels
Modified: 2012-04-16 09:15 UTC (History)
1 user (show)

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


Attachments

Description Thomas Bertels 2011-01-09 22:53:09 UTC
It happens frequently to have a page beginning by one or more break lines.
It's linked to templates, which should be corrected.
But just avoiding to render them would improve the page layout.

Looking for "<p><br /></p>" just after <!-- start content --> should do the trick.
By example for this page:
http://fr.wikipedia.org/w/index.php?title=DisplayPort&oldid=60280474
Comment 1 db [inactive,noenotif] 2011-01-14 18:05:25 UTC
The DISPLAYTITLE in [[fr:Modèle:Langue du titre]] leaves the newline before [[:fr:Modèle:Infobox Connectique]] and that produce a br.

See also bug 23698
Comment 2 Mark A. Hershberger 2011-01-22 04:05:21 UTC

*** This bug has been marked as a duplicate of bug 23698 ***
Comment 3 Thomas Bertels 2011-01-22 17:13:25 UTC
More like bug 4161 in the spirit, though the example is bug 23698.

*** This bug has been marked as a duplicate of bug 4161 ***

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


Navigation
Links