Last modified: 2014-11-18 18:07:14 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 T24488, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22488 - Newline handling when using edit toolbar buttons
Newline handling when using edit toolbar buttons
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 24493
  Show dependency treegraph
 
Reported: 2010-02-11 23:32 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
5 users (show)

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


Attachments

Description Tisza Gergő 2010-02-11 23:32:06 UTC
Try selecting a text which includes a newline, and clicking the bold button. Several bugs occur:
- the ''' marks will only be placed at the beginning and end of selection, which will not produce the expected result (one could say that is a bug with the parser rather than with the edit interface, but that would still leave the problem of double newlines).
- the newline turns into a double newline.
- newlines are inserted to the beginning and end of the selection.
(FF3.5/WinXP)

This behavior is even more counter-intuitive with lists; for example, I would expect

a
b
c

to turn into

* a
* b
* c

when selected and listified.
Comment 1 Roan Kattouw 2010-02-12 12:32:56 UTC
(In reply to comment #0)
> Try selecting a text which includes a newline, and clicking the bold button.
> Several bugs occur:
> - the ''' marks will only be placed at the beginning and end of selection,
> which will not produce the expected result (one could say that is a bug with
> the parser rather than with the edit interface, but that would still leave the
> problem of double newlines).
Maybe the bold button should operate on each line individually.

> - the newline turns into a double newline.
> - newlines are inserted to the beginning and end of the selection.
> (FF3.5/WinXP)
> 
That's weird, I'll look into that.

> This behavior is even more counter-intuitive with lists; for example, I would
> expect
> 
> a
> b
> c
> 
> to turn into
> 
> * a
> * b
> * c
> 
> when selected and listified.
That's bug 22209.
Comment 2 Bugmeister Bot 2011-08-19 19:12:48 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

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


Navigation
Links