Page MenuHomePhabricator

Parentheticals stripped improperly
Closed, DuplicatePublic

Description

Steps to reproduce

Go to:

  1. https://en.wikipedia.beta.wmflabs.org/wiki/Planet
  2. Hover over “India”

Observed behavior: script error is stripped, but the parentheses remain
Expected behavior: parenthetical should be stripped

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 19 2017, 5:49 PM
ovasileva triaged this task as High priority.Jun 19 2017, 6:00 PM
ovasileva added a subscriber: phuedx.
ovasileva moved this task from Backlog to Next Up on the Page-Previews board.Jun 20 2017, 1:03 PM

This is because there's an unbalanced closing parenthesis in the first sentence of the page:

see also the official names of India),

As discussed, if there's an unbalanced parenthesis in the extract, Page Previews will not strip parentheticals.