Last modified: 2014-04-02 20:31:21 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 T59078, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57078 - VisualEditor: Disallow the creation of multi-paragraph references
VisualEditor: Disallow the creation of multi-paragraph references
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-14 21:05 UTC by Rummana Yasmeen
Modified: 2014-04-02 20:31 UTC (History)
6 users (show)

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


Attachments
Arrow icons (185.74 KB, image/png)
2013-11-14 21:05 UTC, Rummana Yasmeen
Details
reference editor (31.26 KB, image/png)
2013-11-14 21:07 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-11-14 21:05:51 UTC
Created attachment 13799 [details]
Arrow icons

Steps to reproduce:

1.Go to a page in http://en.wikipedia.beta.wmflabs.org/

2.Click the button Edit-beta

3.Add a reference in the page

4.In the reference editor,insert multiple lines

5.Save the page

6.Click on the edit button again

Observed Result:
In the edit mode, for every line entered in the reference editor, there are arrow icon in the reference list section and in the corresponding reference editor.

See the screenshot attached

Found with firefox 25 and MAX OS X 10.8.5
Comment 1 Rummana Yasmeen 2013-11-14 21:07:40 UTC
Created attachment 13800 [details]
reference editor
Comment 2 Roan Kattouw 2013-11-14 21:12:06 UTC
ARRRGH. So it turns out that double newlines to create a new paragraph don't work in references, in neither the PHP parser nor in Parsoid. So something like <ref>Foo\n\nBar</ref> actually renders as 1: Foo bar.

So, what do we do? Disallow the creation of multi-paragraph references?

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


Navigation
Links