Page MenuHomePhabricator

ExtensionData pageimages field is not populated in parsoid parseroutput same way legacy did
Open, Needs TriagePublic

Description

From a dataset of 150k titles, I compared the parseroutput (via action API) between legacy and parsoid.

  "key": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
  "matched_total": 85974,
  "expected_total": 85974,
  "by_category": {
    "dictionary_item_removed": 85974
  },
  "examples": [
    {
      "page": "es.wikipedia.org:Rodrigo Guirao D\u00edaz",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "es.wikipedia.org:Luis_Rodr\u00edguez_Seoane",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "ja.wikipedia.org:L\u30fb\u30b9\u30d7\u30ec\u30a4\u30b0\u30fb\u30c7\u30a3\u30fb\u30ad\u30e3\u30f3\u30d7",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "vi.wikipedia.org:Eriocaulon_sedgwickii",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "ja.wikipedia.org:LIVE_TOUR_\"A_beautiful_greed\"_in_\u65e5\u672c\u6b66\u9053\u9928",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "ru.wikipedia.org:\u041f\u0435\u0448\u043a\u043e\u0432\u0430, \u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0430 \u041f\u0430\u0432\u043b\u043e\u0432\u043d\u0430",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "ru.wikipedia.org:CryoShell",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "de.wikipedia.org:\u0130smail_K\u00f6yba\u015f\u0131",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "vi.wikipedia.org:Micreremites_rasalis",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    },
    {
      "page": "es.wikipedia.org:Kimetsu_no_Yaiba",
      "category": "dictionary_item_removed",
      "path": "root['parse']['parseroutput']['ExtensionData']['pageImages']",
      "value": null
    }
  ]
}

Event Timeline

Change #1360496 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/PageImages@master] [WIP] Add page_image and page_image_free support to Parsoid

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