Steps to reproduce
Go to:
- https://en.wikipedia.beta.wmflabs.org/wiki/Planet
- Hover over “India”
Observed behavior: script error is stripped, but the parentheses remain
Expected behavior: parenthetical should be stripped
Go to:
Observed behavior: script error is stripped, but the parentheses remain
Expected behavior: parenthetical should be stripped
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.