Page MenuHomePhabricator

App should not insert HTML tags into edit summaries
Closed, ResolvedPublic

Description

See this diff: https://en.wikipedia.org/w/index.php?diff=697665538

This happens because the section header has HTML in it. Summaries, however, are actually plaintext, so including the HTML tag in the summary causes this behaviour.

Event Timeline

Deskana raised the priority of this task from to Medium.
Deskana updated the task description. (Show Details)
Deskana subscribed.

Change 261798 had a related patch set uploaded (by Deskana):
Prevent app from inserting HTML tags into edit summaries

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

summaries are not plaintext btw, they are a reduced set of wikitext... (we actually have 3 parsers, wikitext, summaries and headers... sort of. I know. ... it's ...)

summaries are not plaintext btw, they are a reduced set of wikitext... (we actually have 3 parsers, wikitext, summaries and headers... sort of. I know. ... it's ...)

Good point. Fortunately, I don't think this really affects my solution to the problem.

Change 261798 merged by jenkins-bot:
Prevent app from inserting HTML tags into edit summaries

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

Deskana claimed this task.

Fixed now. Thanks all. :-)