Page MenuHomePhabricator

VisualEditor: non-editable element inserted before a colon
Open, MediumPublic

Description

*Sorry about the lame summary*

This bug can probably have a better title.

A rather simple and innocent edit in the Hebrew Wikipedia introduced an element that had no reason to appear in the code. Here's the edit:
https://he.wikipedia.org/w/index.php?title=%D7%9B%D7%99%D7%91%D7%95%D7%A9%D7%99_%D7%90%D7%9C%D7%9B%D7%A1%D7%A0%D7%93%D7%A8_%D7%94%D7%92%D7%93%D7%95%D7%9C_%D7%91%D7%90%D7%A1%D7%99%D7%94_%D7%94%D7%AA%D7%99%D7%9B%D7%95%D7%A0%D7%94&diff=15812721&oldid=15812716

The problematic element appears between the words "מטרות נוספות היו" and the colon.

The element was removed in the following edit:
https://he.wikipedia.org/w/index.php?title=%D7%9B%D7%99%D7%91%D7%95%D7%A9%D7%99_%D7%90%D7%9C%D7%9B%D7%A1%D7%A0%D7%93%D7%A8_%D7%94%D7%92%D7%93%D7%95%D7%9C_%D7%91%D7%90%D7%A1%D7%99%D7%94_%D7%94%D7%AA%D7%99%D7%9B%D7%95%D7%A0%D7%94&diff=15887470&oldid=15878013

When editing it in the VisualEditor, the element appears as "Sorry, this element can only be edited in source mode for now."

When I showed this to David, he thought that it may be somewhat related to the "unicorn" patch, but it is not certain.


Version: unspecified
Severity: normal

Details

Reference
bz70171

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:36 AM
bzimport set Reference to bz70171.

Confirmed in betalabs - for en wiki too.

  • Insert a colon into a paragraph text and - Important!- put white spaces around it

The colon (:) will be transformed into

<span typeof="mw:Placeholder" data-parsoid="{&quot;src&quot;:&quot; &quot;,&quot;isDisplayHack&quot;:true,&quot;dsr&quot;:[83,84,null,0]}" class="ve-ce-leafNode ve-ce-focusableNode" contenteditable="false">&nbsp;</span>

with

<div class="ve-ce-focusableNode-highlight ve-ce-alienNode-highlight" title="Sorry, this element can only be edited in source mode for now." draggable="false" style="top: 11px; left: 391px; width: 5px; height: 15px;"><img class="ve-ce-focusableNode-highlight-relocatable-marker" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></div>
Etonkovidova set Security to None.