Last modified: 2014-07-15 07:30:35 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 T69268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67268 - Make new multi-part transclusions always put newlines between each transclusion (default whitespace of \n)
Make new multi-part transclusions always put newlines between each transclusi...
Status: RESOLVED DUPLICATE of bug 50166
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-29 04:21 UTC by WhatamIdoing
Modified: 2014-07-15 07:30 UTC (History)
6 users (show)

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


Attachments

Description WhatamIdoing 2014-06-29 04:21:58 UTC
Some tables built from complex templates assume that there will be line breaks between the templates, so that this works:

{{tabletop}}
{{tablerow}}
{{tablerow}}
{{tablerow}}
{{tableend}}

but this does not:

{{tabletop}}{{tablerow}}{{tablerow}}{{tablerow}}{{tableend}}


There's another problem with transclusions containing content, which can be seen by opening the transclusion at https://en.wikipedia.org/wiki/Kilt#See_also in VisualEditor.  The template lines are fine, but the "Content" sections must always start with a blank line, to make up for the absence of line breaks at the end of the templates.  

The solution for both of these is probably the same:  Complex transclusions should always have line breaks after the templates.  I haven't been able to find any (in my quick search) that would break if this were implemented.
Comment 1 James Forrester 2014-06-30 19:48:21 UTC
I'm not entirely certain that there aren't multi-part templates that this is the wrong call for, but in general this is certainly a sensible tactic.
Comment 2 This, that and the other (TTO) 2014-07-15 07:30:35 UTC
Pretty sure this is a dupe?

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

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


Navigation
Links