Page MenuHomePhabricator

Image suggestions API mis-parses titles with italic in them
Open, Needs TriagePublicBUG REPORT

Description

tgr@mwmaint1002:~$ curl -s 'http://localhost:6030/public/image_suggestions/suggestions/frwiki/113786' | jq '.rows[0]'
{
  "wiki": "frwiki",
  "page_id": 113786,
  "id": "6b10923a-f4d3-11ed-8f1c-801844e56154",
  "image": "Abreviatures.png",
  "confidence": 50,
  "found_on": null,
  "kind": [
    "istype-section-topics-p18"
  ],
  "origin_wiki": "commonswiki",
  "page_qid": null,
  "page_rev": 203201711,
  "section_heading": "titulus'' paléographique",
  "section_index": null
}

https://fr.wikipedia.org/w/index.php?curid=113786 -> the actual title is == ''Titulus'' paléographique ==