Check
https://en.wikipedia.org/w/index.php?title=DJ_Dan&diff=678990353&oldid=676986450
where
<ul role="presentation"><li> ''DX2'' (Mix Tape) (Independent)</li> * ''DX2
was added.
Notice that ul was also an attribute....
Check
https://en.wikipedia.org/w/index.php?title=DJ_Dan&diff=678990353&oldid=676986450
where
<ul role="presentation"><li> ''DX2'' (Mix Tape) (Independent)</li> * ''DX2
was added.
Notice that ul was also an attribute....
We could consider adding <li> to the wikitext detection heuristic. But I don't think that's necessarily a good idea. It's more likely to be HTML than wikitext.
Perhaps it would be better to add an explicit "paste special" sort of option for pasting wikitext. That seems like the aim of T53899: Allow the user to add an arbitrary blob of wikitext while using the visual editor, so I'd recommend closing this task a s dup of that one.
I believe you have not understood. I have pasted :
*This is a [[link]].
And VisualEditor have created this wikitext :
<li>This is a [[link]].</li>
Same aspect but different code (and I think it should be better if VE use wikitext rather than HTML).
Perhaps it would be better to add an explicit "paste special" sort of option for pasting wikitext. That seems like the aim of T53899: Allow the user to add an arbitrary blob of wikitext while using the visual editor, so I'd recommend closing this task a s dup of that one.
OK for create "paste special". But you have asked to close T53899 too : I think we must keep one of the two ones.
This is also an accessibility issue.
* Item one <li> Item two</li> * Item three
This creates three separate lists with three <ul></ul> tags. Description why it is bad is at [[:en:WP:LISTGAP]].
We already have "paste special". We're not going the route of doom… err, I mean, of Excel and having a pop-up menu asking exactly which of the 24 special paste options you meant.
T109449 has been fixed to allow copy/paste wikitext in VE. It works well, but there is almost a bug : this bug. "paste special" is something else.
It seems to have change, but it is not better. When I paste *This is a [[link]]. this wikitext is inserted : <ul>*This is a [[link]].</ul> whereas in wikitext <ul> markups are implicit. (no ?)