Page MenuHomePhabricator

VisualEditor bugs: wikilinks, tables, nowiki and other
Closed, ResolvedPublic

Description

VisualEditor editor is full of bugs. Since his implementation i have disabled it for me, because, as experimented user i just like to edit clean code.
So, i noticed folowing bugs
when you edit a part of a wikilink (termination) visual editor leaves old wikilink as adrress and only add new edited variant as label. For example if you want to correct digit of an wikilinked year - your action will just add a correct label but wikilink will be the same, old.
I first noticed this on rowiki when anonymous users edited wikipedia. One fresh example can be this https://ro.wikipedia.org/w/index.php?title=Gustar_%28festival%29&diff=8812463&oldid=8805982
Now i tested myself this "phenomenon" on test2wiki and i obtained the same result
https://test2.wikipedia.org/w/index.php?title=Edit_page_for_firefox&diff=104063&oldid=104062

Other bug: when you try to remove title of a section from a page (for merging 2 sections), visual editor removes only caption but it keeps the real section heading (====) and adds between equal sign an "<nowiki/>". The result will be ==<nowiki/>== and section will exist further without title. Test edit: https://test2.wikipedia.org/w/index.php?title=New_page_for_bugzilla&diff=104066&oldid=104065

Also there exists some problems when copying of tables in a page edited via VisualEditor. VisualEditor adds again some <nowiki> </nowiki> tags, and in some cases adds magic words like INDEX and NEWSECTIONLINK
Example (real edit on rowiki): https://ro.wikipedia.org/w/index.php?title=Kiesza&diff=next&oldid=8808818


Version: unspecified
Severity: major

Details

Reference
bz70396

Event Timeline

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

Please file only one specific problem per report and stick to the topic (general complaints about perceived quality of software can go to wikis, mailing lists, blogs). https://www.mediawiki.org/wiki/How_to_report_a_bug might come handy. Thanks.

Thanks for posting this.

The first problem is "working as designed", but the design is seriously being discussed because of exactly this problem. This item is best described as a duplicate of multiple other bug reports. See bug 48789 for a list of most open link-related bugs.

The second problem is bug 50100. Also, this is what you'd expect from a word processor (like Microsoft Word): if you type "My Title" and set bold formatting or a large font size on those words, and then you remove all the letters on that line, and start typing again, then you do expect the font size and bold formatting to be retained. This report is a duplicate.

On the third one (the table in ro.wp's [[Kiesza]]), it appears that the editor copied the wikitext code out of en.wp's article, and pasted it directly into VisualEditor. VisualEditor then assumes that you wanted this pasted text to display (i.e., as if you were writing a help page telling someone what wikitext to type, so you really wanted the wikitext on the page). Magic words can be set in VisualEditor by going to the Page options menu, choosing "Advanced settings", and clicking the buttons to turn on those magic words. This report should be closed as "working as designed".

I'm going to mark the whole thing as "Resolved", but without trying to specify it as a duplicate, because I don't know if Bugzilla can handle multiple duplicate numbers. If you have other questions, then please feel free to follow up at those other open bugs.