Last modified: 2014-09-15 18:48:51 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 T67647, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65647 - VisualEditor: [Regression] Categories and DEFAULTSORT meta items getting modified to strip default whitespace?
VisualEditor: [Regression] Categories and DEFAULTSORT meta items getting modi...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-22 18:16 UTC by WhatamIdoing
Modified: 2014-09-15 18:48 UTC (History)
8 users (show)

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


Attachments

Description WhatamIdoing 2014-05-22 18:16:11 UTC
Sometimes editing a page in VisualEditor is rearranging categories so that they always end up on a single line, which is inconvenient for people looking at the wikitext source later.

See https://fr.wikipedia.org/w/index.php?title=Jean-Baptiste_Vallière&diff=prev&oldid=104017086
Comment 1 James Forrester 2014-05-22 18:17:32 UTC
Parsoid bug? We hopefully aren't dirtying these, but even if we are, Parsoid's default whitespace should insert a \n before each of these anyway…
Comment 2 Gabriel Wicke 2014-05-22 18:22:16 UTC
We only use the default newline spacing if the categories are actually new content. So if VE is just removing the newlines, but leaves the categories, a result as in the link is to be expected.

Round-tripping works fine with selser:

http://parsoid-lb.eqiad.wikimedia.org/_rtselser/frwiki/Jean-Baptiste_Valli%C3%A8re?oldid=95815820

Even without selser the newlines are preserved:

http://parsoid-lb.eqiad.wikimedia.org/_rt/frwiki/Jean-Baptiste_Valli%C3%A8re?oldid=95815820

This makes it very likely that this is in fact VE removing newlines.
Comment 4 NicoV 2014-05-24 08:12:38 UTC
Other example that also displays other problems (extra characters at the beginning, and strange characters in the text ☃☃)
https://fr.wikipedia.org/w/index.php?title=Absolom_2022&diff=104059827&oldid=96660949

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


Navigation
Links