mediawiki-extensions-Discus.../tests/cases/ThreadItemStore/7identical-rev-timestamp/discussiontools_item_revisions.json
Bartosz Dziewoński 33f4006713 ThreadItemStore: Fix updates for identical revision timestamps
Use revision IDs to break the tie, consistently with MediaWiki (see
RevisionStore::getRelativeRevision) instead of assuming that the
revision we're processing now is somehow both older *and* newer than
the other one (the mind boggles how that ever made sense to me).

Change-Id: I9f1a07124301a36be68578d908353b72f0442c00
2022-10-20 02:37:47 +02:00

113 lines
2.2 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": "3",
"itr_itemid_id": "3",
"itr_revision_id": "2",
"itr_items_id": "3",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "4",
"itr_itemid_id": "4",
"itr_revision_id": "2",
"itr_items_id": "4",
"itr_parent_id": "3",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "7",
"itr_itemid_id": "5",
"itr_revision_id": "3",
"itr_items_id": "5",
"itr_parent_id": "6",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "10",
"itr_itemid_id": "1",
"itr_revision_id": "4",
"itr_items_id": "1",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "11",
"itr_itemid_id": "2",
"itr_revision_id": "4",
"itr_items_id": "2",
"itr_parent_id": "10",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "13",
"itr_itemid_id": "3",
"itr_revision_id": "4",
"itr_items_id": "3",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "14",
"itr_itemid_id": "4",
"itr_revision_id": "4",
"itr_items_id": "4",
"itr_parent_id": "13",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "12",
"itr_itemid_id": "5",
"itr_revision_id": "4",
"itr_items_id": "5",
"itr_parent_id": "11",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "15",
"itr_itemid_id": "6",
"itr_revision_id": "4",
"itr_items_id": "6",
"itr_parent_id": "14",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
}
]