On Tue, Jul 23, 2013 at 12:44 PM, Daniel Barrett <d...@vistaprint.com> wrote:
> Risker asks:
>>Why do you think those <nowiki> tags were added by the editors?
>
> I can't speak for the original poster, but the last time I used VE,
> it added unwanted <nowiki> tags by itself.
> You can see an example in my most recent bug report:
> https://bugzilla.wikimedia.org/show_bug.cgi?id=51829
>
Of course those <nowiki> tags weren't added by the editors, VE doesn't
let you do that directly. What I think Robert was talking about
(thanks for that analysis, BTW!) is edits where the user typed
something like "[[Foo]]" into the editor, and Parsoid, in order to
achieve a truthful rendering of "[[Foo]]", wraps it in <nowiki> tags.
That's a case of "we did what the user asked us to do, although the
user probably didn't mean that". To counter this, there's a
notification bubble that appears as soon as you type something that
looks like wikitext. However, there's a bug that's causing this
notification to appear at the top of the page and so if you're
scrolled down more than a little bit, you'll probably never see it. We
intend to fix this today or tomorrow so that everyone who types in
wikitext will see this warning. It typically displays in the close
vicinity of, or even on top of, the save button, so it should be
pretty hard to miss once the positioning bug is fixed.

The heading bug where you get ==<nowiki />== is a separate issue. This
happens when you blank a heading (or try to remove it but don't quite
succeed) and leave an empty heading behind. VE then sends an empty
heading to Parsoid, which very diligently puts in a nowiki tag so you
get the empty heading you supposedly wanted. These kinds of
technically-correct-but-probably-not-what-you-wanted issues are a bit
tricky. They're on our list of things to deal with though.

Roan

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to