Parenthetical stripping discussions have come up before but this may be a special case. When the normalized title contains parentheses and that entire title appears in the extract, it could be preserved instead of stripped. I don't know if this should be a bug, optimization, or working as intended.
This could also be an opportunity to revisit parenthetical stripping behavior. Given that page previews has been enabled by default in production for some time now, editors may already be tweaking lead paragraphs for optimal previews and so parenthetical processing could be toned down or even removed.
Steps to reproduce
- Visit https://en.wikipedia.org/wiki/List_of_one-hit_wonders_in_the_United_States.
- Hover over the "Brandy (You're a Fine Girl)" link.
Expected results
The content is unstructured but parentheticals stripped could exclude the normalized title.
Actual results
Environments observed
- Browser version: Chromium v75.0.3770.90
- OS version: Ubuntu v19.04
- Device model: Desktop
- Device language: English
Check any additional observations
- Observed on the beta cluster wiki
- Observed on a production wiki
- Observed on Vector desktop skin
- Observed on MinervaNeue responsive skin
- Observed while logged in
- Observed while not logged in (anonymous)
Page summary API response
// https://en.wikipedia.org/api/rest_v1/page/summary/Brandy_(You're_a_Fine_Girl) { "type": "standard", "title": "Brandy (You're a Fine Girl)", "displaytitle": "Brandy (You're a Fine Girl)", "namespace": { "id": 0, "text": "" }, "wikibase_item": "Q4957221", "titles": { "canonical": "Brandy_(You're_a_Fine_Girl)", "normalized": "Brandy (You're a Fine Girl)", "display": "Brandy (You're a Fine Girl)" }, "pageid": 6744625, "thumbnail": { "source": "https://upload.wikimedia.org/wikipedia/en/c/cf/Brandy_-_Looking_Glass.jpg", "width": 315, "height": 315 }, "originalimage": { "source": "https://upload.wikimedia.org/wikipedia/en/c/cf/Brandy_-_Looking_Glass.jpg", "width": 315, "height": 315 }, "lang": "en", "dir": "ltr", "revision": "896234623", "tid": "4ac7b600-7216-11e9-b32a-c62d8f42e7a5", "timestamp": "2019-05-09T04:52:43Z", "description": "1972 pop song", "content_urls": { "desktop": { "page": "https://en.wikipedia.org/wiki/Brandy_(You're_a_Fine_Girl)", "revisions": "https://en.wikipedia.org/wiki/Brandy_(You're_a_Fine_Girl)?action=history", "edit": "https://en.wikipedia.org/wiki/Brandy_(You're_a_Fine_Girl)?action=edit", "talk": "https://en.wikipedia.org/wiki/Talk:Brandy_(You're_a_Fine_Girl)" }, "mobile": { "page": "https://en.m.wikipedia.org/wiki/Brandy_(You're_a_Fine_Girl)", "revisions": "https://en.m.wikipedia.org/wiki/Special:History/Brandy_(You're_a_Fine_Girl)", "edit": "https://en.m.wikipedia.org/wiki/Brandy_(You're_a_Fine_Girl)?action=edit", "talk": "https://en.m.wikipedia.org/wiki/Talk:Brandy_(You're_a_Fine_Girl)" } }, "api_urls": { "summary": "https://en.wikipedia.org/api/rest_v1/page/summary/Brandy_(You're_a_Fine_Girl)", "metadata": "https://en.wikipedia.org/api/rest_v1/page/metadata/Brandy_(You're_a_Fine_Girl)", "references": "https://en.wikipedia.org/api/rest_v1/page/references/Brandy_(You're_a_Fine_Girl)", "media": "https://en.wikipedia.org/api/rest_v1/page/media/Brandy_(You're_a_Fine_Girl)", "edit_html": "https://en.wikipedia.org/api/rest_v1/page/html/Brandy_(You're_a_Fine_Girl)", "talk_page_html": "https://en.wikipedia.org/api/rest_v1/page/html/Talk:Brandy_(You're_a_Fine_Girl)" }, "extract": "\"Brandy \" is a 1972 song written and composed by Elliot Lurie and recorded by Lurie's band, Looking Glass, on their debut album Looking Glass. The single reached number one on both the Billboard Hot 100 and Cash Box Top 100 charts, remaining in the top position for one week. It reached number two on the former chart for four weeks, stuck behind Gilbert O'Sullivan's \"Alone Again (Naturally)\", before reaching number one, only for \"Brandy\" to be dethroned by \"Alone Again (Naturally)\" the week after. Billboard ranked it as the 12th song of 1972. Horns and strings were arranged by Larry Fallon.", "extract_html": "<p>\"<b>Brandy </b>\" is a 1972 song written and composed by Elliot Lurie and recorded by Lurie's band, Looking Glass, on their debut album <i>Looking Glass.</i> The single reached number one on both the <span><i>Billboard</i> Hot 100</span> and <span><i>Cash Box</i> Top 100</span> charts, remaining in the top position for one week. It reached number two on the former chart for four weeks, stuck behind Gilbert O'Sullivan's \"Alone Again (Naturally)\", before reaching number one, only for \"Brandy\" to be dethroned by \"Alone Again (Naturally)\" the week after. <span><i>Billboard</i></span> ranked it as the 12th song of 1972. Horns and strings were arranged by Larry Fallon.</p>" }