Page MenuHomePhabricator

Wikitext warning triggered when editing paragraph with wikitext in it, even though none was added in this edit
Closed, ResolvedPublic

Description

In my volunteer mode, I was removing content that was copied from an external site. I didn't add any content at all, but simply deleted text (and a template) and merged the resultant material into a single paragraph.

VisualEditor flagged this as my adding wikimarkup and gave me the nowiki warning. :)

See http://en.wikipedia.org/wiki/File:Wikimarkup_warning_without_case.png which is confusingly titled, because I missed the "u" in "cause."


Version: unspecified
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:54 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz51751.
  • Bug 53661 has been marked as a duplicate of this bug. ***

From bug 53661:
The Wikitext warning is triggered in some circumstances without the user having
entered Wikitext. The one cause I can reliably reproduce is where there is
nowikied markup on the page from a previous edit.

To reproduce:

  1. Load

https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox3&oldid=571089410&veaction=edit

  1. Click anywhere on the last line of Section number two (the line that

contains "[[Manhatan]]" and an ISBN, both of which are enclosed in nowiki
tags).

It seems that the warning is triggered by the existence of wikitext markup in
the VE editing surface, rather than by its addition.

I get this error by adding anything to the second paragraph (beginning "VisualEditor" at https://office.wikimedia.org/w/index.php?title=User:Mdennis/sandbox&oldid=105896 There are preëxistng (intentional) nowiki's in this paragraph, which may the cause.

Fixing this would cause a serious performance penalty for minor improvement in the user experience. WONTFIXing.

Change 175336 had a related patch set uploaded (by Catrope):
Replace hacky wikitext warning listener with sequences

https://gerrit.wikimedia.org/r/175336

Patch-For-Review

Jdforrester-WMF renamed this task from VisualEditor: Wikitext warning triggered when editing paragraph with wikitext in it, even though none was added in this edit to Wikitext warning triggered when editing paragraph with wikitext in it, even though none was added in this edit.Nov 25 2014, 10:40 PM
Jdforrester-WMF reopened this task as Open.
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set Security to None.

Change 175336 merged by jenkins-bot:
Replace hacky wikitext warning listener with sequences

https://gerrit.wikimedia.org/r/175336