Page MenuHomePhabricator

TemplateIds and Templates style.css 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']['TemplateIds'][*][*]",
    "matched_total": 20349,
    "expected_total": 20349,
    "by_category": {
      "dictionary_item_removed": 7482,
      "type_changes": 11306,
      "values_changed": 1561
    },
    "examples": [
      {
        "page": "en.wikipedia.org:Charles_L._Smith_(Seattle_politician)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['Nobold/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Charles_L._Smith_(Seattle_politician)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['Plainlist/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Charles_L._Smith_(Seattle_politician)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "meta.wikimedia.org:Tech/News/2016/48/pl",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['Tech_header']",
        "value": {
          "old_type": "NoneType",
          "new_type": "int",
          "old_value": null,
          "new_value": 0
        }
      },
      {
        "page": "ru.wikipedia.org:\u0420\u044f\u0431\u0438\u043d\u043e\u0432\u043a\u0430_(\u041a\u043b\u0435\u043f\u0438\u043a\u043e\u0432\u0441\u043a\u0438\u0439_\u0440\u0430\u0439\u043e\u043d)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['WikidataChart/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:David_Johnston_(merchant)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['Nobold/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:David_Johnston_(merchant)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['10']['Plainlist/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:David_Johnston_(merchant)",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "ar.wikipedia.org:\u0639\u0635\u0641\u0648\u0631 \u062f\u0648\u0631\u064a",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['TemplateIds']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "is.wikipedia.org:Stef\u00e1n Benediktsson",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['TemplateIds']['828']['WikidataIB/nolinks']",
        "value": {
          "old_type": "NoneType",
          "new_type": "int",
          "old_value": null,
          "new_value": 0
        }
      }
    ]

for Templates:

{
    "key": "root['parse']['parseroutput']['Templates'][*][*]",
    "matched_total": 7497,
    "expected_total": 7497,
    "by_category": {
      "dictionary_item_removed": 7494,
      "values_changed": 3
    },
    "examples": [
      {
        "page": "en.wikipedia.org:Arthur C. Clarke",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Abdirahman_Abdi_Mohamed",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['10']['Nobold/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Abdirahman_Abdi_Mohamed",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['10']['Plainlist/styles.css']",
        "value": null
      },
      {
        "page": "tr.wikipedia.org:Sa\u00e7 kremi",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['Dola\u015f\u0131m/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Bimal_Bora",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['10']['Nobold/styles.css']",
        "value": null
      },
      {
        "page": "uk.wikipedia.org:\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u0432\u0443\u043a\u0456\u0432 \u0442\u0432\u0430\u0440\u0438\u043d",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['Navbox/styles.css']",
        "value": null
      },
      {
        "page": "he.wikipedia.org:\u05e4\u05de\u05d9_\u05e4\u05e8\u05d9\u05de\u05d9\u05d5\u05dd",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['10']['\u05de\u05d5\u05e0\u05d7\u05d5\u05df/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Frank M. Snowden Jr.",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Cremorne_railway_station",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['If_preview/styles.css']",
        "value": null
      },
      {
        "page": "en.wikipedia.org:Allen_Ludden",
        "category": "dictionary_item_removed",
        "path": "root['parse']['parseroutput']['Templates']['828']['If_preview/styles.css']",
        "value": null
      }
    ]
  }

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Jgiannelos renamed this task from TemplateIds style.css is not populated in parsoid parseroutput same way legacy did to TemplateIds and Templates style.css is not populated in parsoid parseroutput same way legacy did.Aug 4 2026, 10:39 AM
Jgiannelos updated the task description. (Show Details)