Page MenuHomePhabricator

Kartographer requested/interactive groups 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']['kartographer']['requestedGroups'][*]",
    "matched_total": 33567,
    "expected_total": 33567,
    "by_category": {
      "type_changes": 33567
    },
    "examples": [
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][0]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "m\u00e1scara",
          "new_value": 0
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][1]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "sendero",
          "new_value": 1
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][2]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "\u00e1rea",
          "new_value": 2
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][3]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "beber",
          "new_value": 3
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][4]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "comer",
          "new_value": 4
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][5]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "comprar",
          "new_value": 5
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][6]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "dormir",
          "new_value": 6
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][7]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "error",
          "new_value": 7
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][8]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "habitadas",
          "new_value": 8
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['requestedGroups'][9]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "hacer",
          "new_value": 9
        }
      }
    ]
  },
  {
    "key": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][*]",
    "matched_total": 30091,
    "expected_total": 30091,
    "by_category": {
      "iterable_item_removed": 4137,
      "type_changes": 25954
    },
    "examples": [
      {
        "page": "en.wikipedia.org:California_Institution_for_Women",
        "category": "iterable_item_removed",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][0]",
        "value": "_0b2fd978d3955261898f15bceb0d097bba13f803"
      },
      {
        "page": "en.wikipedia.org:Marikina",
        "category": "iterable_item_removed",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][0]",
        "value": "_32a1a82cb26e7f5a8d1d47fbcc6a751b74c2d95d"
      },
      {
        "page": "en.wikipedia.org:Magic Kingdom",
        "category": "iterable_item_removed",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][0]",
        "value": "_a5afaeb38b0551f79d7b1f4f5b4250f3ef6b0d7c"
      },
      {
        "page": "en.wikipedia.org:Magic Kingdom",
        "category": "iterable_item_removed",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][1]",
        "value": "_0d416231df0417a30eb7f687d35e44ab734d14aa"
      },
      {
        "page": "es.wikipedia.org:Torremu\u00f1a",
        "category": "iterable_item_removed",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][0]",
        "value": "_f80fa8559ac4bab7cac3603dcfe2f1668e04d95f"
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][0]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "m\u00e1scara",
          "new_value": 0
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][1]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "sendero",
          "new_value": 1
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][2]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "\u00e1rea",
          "new_value": 2
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][3]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "beber",
          "new_value": 3
        }
      },
      {
        "page": "es.wikivoyage.org:Tonatico",
        "category": "type_changes",
        "path": "root['parse']['parseroutput']['ExtensionData']['kartographer']['interactiveGroups'][4]",
        "value": {
          "old_type": "str",
          "new_type": "int",
          "old_value": "comer",
          "new_value": 4
        }
      }
    ]
  }

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

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

[mediawiki/extensions/Kartographer@master] Fix Kartographer groups in the Parsoid extension data

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

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

[mediawiki/extensions/Kartographer@master] Compute the maplink private group in the Parsoid DOM processor

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

Change #1362165 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Compute the maplink private group in the Parsoid DOM processor

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

Change #1361466 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Fix Kartographer groups in the Parsoid extension data

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

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

[mediawiki/extensions/Kartographer@master] Align empty live data addition with legacy handling

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

Change #1364719 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Align empty live data addition with legacy handling

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