Page MenuHomePhabricator

Stripping parentheticals can result in trailing punctuation
Closed, ResolvedPublic

Description

Observed on the Gal Gadot article

Input:

'<p>Justice League (both 2017). Justice (is forever)!</p>',

Resolves to:
Expected:

'<p>Justice League. Justice!</p>'

Actual:

'<p>Justice League . Justice !</p>'

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 404882 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/services/mobileapps@master] WIP: Cleanup trailing punctuation

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

bearND updated the task description. (Show Details)Jan 18 2018, 1:16 AM

Change 404882 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Summary: cleanup trailing spaces

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

Jdlrobson closed this task as Resolved.Feb 22 2018, 10:09 PM

The summary at https://en.wikipedia.org/api/rest_v1/page/summary/Gal_Gadot contains no trailing punctuation.