Last modified: 2011-09-28 21:00:15 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 T33227, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31227 - carriage return should create linebreak, doesn't
carriage return should create linebreak, doesn't
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-28 20:42 UTC by Sumana Harihareswara
Modified: 2011-09-28 21:00 UTC (History)
1 user (show)

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


Attachments

Description Sumana Harihareswara 2011-09-28 20:42:03 UTC
https://secure.wikimedia.org/wikipedia/test/wiki/Thread:Talk:Main_Page/test/test/reply_(3)

I entered the text as:


<big>big text</big>
<small>small text</small>

Those should show up on separate lines.

'''bold text'''
''italic text''

those, too.



but the "big text" and "small text" lines were concatenated onto one line, as were the "bold text" and "italic text" lines.
Comment 1 Brion Vibber 2011-09-28 20:57:12 UTC
A single newline in input text terminates a line, but doesn't terminate a paragraph in MediaWiki's wiki text format (and never has), so changing this could be a compatibility issue and cause pages to render incorrectly.

Various sequences with templates, tables etc will also be assuming that the linebreak is ok as whitespace and might be modified unpleasantly by just inserting a <br> into output there, so not sure how trivial it would be to do.

You can insert an explicit <br> in your input to force a visible line break within a paragraph, though. The <poem> extension tag can also be used to insert line breaks at source newline boundaries within a paragraph.
Comment 2 Brion Vibber 2011-09-28 20:58:07 UTC
(This is a general markup issue dating back to UseModWiki, nothing specific about LiquidThreads.)
Comment 3 Sumana Harihareswara 2011-09-28 21:00:15 UTC
Got it.  Closing this up since I was operating out of ignorance of the desired behavior.

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


Navigation
Links