https://bugzilla.wikimedia.org/show_bug.cgi?id=66210

--- Comment #3 from Moriel Schottlender <[email protected]> ---
After further analysis, here are the results:

Most of the nowiki problems seem to happen due to typing wikitext in the
editor. For instance, typing ''word'' or '''word''' instead of marking the word
as italics or bold, or typing literal == which VE then marks as =<nowiki/>= to
prevent wikitext'ifying the result.

There are, however, some typing issues we could work on to make the experience
easier on users:

1. Users typing a space at the beginning of a paragraph; this seems to be a
mistake most of the time. Since a space at the beginning of a paragraph in
wikitext transforms the paragraph to a <pre>, VE adds a <nowiki /> tag after
it. It might be better if we strip those spaces when we save the page.

2. Users sometimes add list items by typing the literal * at the beginning of a
line. While this is wikitext function (so VE wraps it with <nowiki>) it
actually might make sense to try and transform any * at the beginning of lines
to new bullet points; this is a the behavior that LibreOffice and Word are
following, so it might be reasonable to have VE follow suit.

There are very few <nowiki> tags that I saw that are actual corruption. A new
one that was reported recently on hewiki might show a problem with reading the
wikitext headings wrong, so upon deleting the heading all that's left are ==
which VE marks with =<nowiki>= (see here:
https://he.wikipedia.org/w/index.php?title=%D7%A9%D7%95%D7%9C%D7%97%D7%9F&diff=15566083&oldid=154101
) 

Some, like this one, seem to show a problem with existing <nowiki> tags that
then get "worse" after edit:
https://en.wikipedia.org/w/index.php?title=Rathmore,_County_Kildare&curid=43246971&diff=618885701&oldid=618885287

We might want to consider marking any existing <nowiki>, perhaps?

In any case, these seem to be fairly uncommon and we should treat them on a
case to case basis.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to