Page MenuHomePhabricator

Kartographer counters is not populated in parsoid parseroutput same way legacy did
Open, Needs TriagePublic

Description

Legacy populated empty fields with null where parsoid populates empty fields with []

{
    "key": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
    "matched_total": 7287,
    "expected_total": 7287,
    "by_category": {
      "type_changes": 7287
    },
    "examples": [
      {
        "page": "it.wikipedia.org:Irind",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "zh.wikipedia.org:\u52d2\u51ef\u5185\u52d2",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "it.wikipedia.org:Morafeno_(Ambohimahasoa)",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "ru.wikipedia.org:\u041d\u0438\u0436\u043d\u044f\u044f_\u0413\u043e\u0433\u043e\u043b\u0435\u0432\u043a\u0430",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "ca.wikipedia.org:Ma\u00f3",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "ru.wikipedia.org:\u0426\u0435\u043d\u0442\u0440 \u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u044b (\u0422\u0430\u043b\u043b\u0438\u043d)",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "fr.wikipedia.org:N\u00e9hou",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "fr.wikivoyage.org:Seward",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "en.wikipedia.org:Cremorne_railway_station",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      },
      {
        "page": "fr.wikipedia.org:Ch\u00e2teau de Chiffrevast",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['counters']",
        "value": {
          "old_type": "NoneType",
          "new_type": "list",
          "old_value": null,
          "new_value": []
        }
      }
    ]
  }

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.