mediawiki-extensions-Discus.../tests/cases/ThreadItemStore/8indistinguishable-comments-same-page/discussiontools_item_revisions.json
Bartosz Dziewoński 66cac8523e ThreadItemStoreTest: Add test for old revisions of indistinguishable comments
Just to confirm that this works correctly, because I broke it a few
times in different ways while working on T321121.

In this scenario, discussiontools_item_revisions contains rows for
the oldest and newest revisions of pages containing each comment
distinguishable by name, as well as extra rows for the newest
revisions of comments indistinguishable by name, so that they can
be looked up by ID.

Change-Id: Ic8450a6b082ed343dd633d3a43c50696b5d6d2bb
2022-10-20 03:50:47 +02:00

83 lines
1.6 KiB
JSON

[
{
"itr_id": "1",
"itr_itemid_id": "1",
"itr_revision_id": "2",
"itr_items_id": "1",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "2",
"itr_itemid_id": "2",
"itr_revision_id": "2",
"itr_items_id": "2",
"itr_parent_id": "1",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "5",
"itr_itemid_id": "3",
"itr_revision_id": "3",
"itr_items_id": "3",
"itr_parent_id": "4",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "13",
"itr_itemid_id": "4",
"itr_revision_id": "5",
"itr_items_id": "3",
"itr_parent_id": "12",
"itr_transcludedfrom": null,
"itr_level": "3",
"itr_headinglevel": null
},
{
"itr_id": "14",
"itr_itemid_id": "5",
"itr_revision_id": "5",
"itr_items_id": "3",
"itr_parent_id": "11",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "17",
"itr_itemid_id": "3",
"itr_revision_id": "6",
"itr_items_id": "3",
"itr_parent_id": "16",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "18",
"itr_itemid_id": "1",
"itr_revision_id": "7",
"itr_items_id": "1",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "19",
"itr_itemid_id": "2",
"itr_revision_id": "7",
"itr_items_id": "2",
"itr_parent_id": "18",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
}
]