mediawiki-extensions-Discus.../tests/cases/ThreadItemStore/7identical-rev-timestamp/discussiontools_item_pages.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

45 lines
807 B
JSON

[
{
"itp_id": "1",
"itp_items_id": "1",
"itp_page_id": "2",
"itp_oldest_revision_id": "2",
"itp_newest_revision_id": "4"
},
{
"itp_id": "2",
"itp_items_id": "2",
"itp_page_id": "2",
"itp_oldest_revision_id": "2",
"itp_newest_revision_id": "4"
},
{
"itp_id": "3",
"itp_items_id": "3",
"itp_page_id": "2",
"itp_oldest_revision_id": "2",
"itp_newest_revision_id": "4"
},
{
"itp_id": "4",
"itp_items_id": "4",
"itp_page_id": "2",
"itp_oldest_revision_id": "2",
"itp_newest_revision_id": "4"
},
{
"itp_id": "5",
"itp_items_id": "5",
"itp_page_id": "2",
"itp_oldest_revision_id": "3",
"itp_newest_revision_id": "4"
},
{
"itp_id": "6",
"itp_items_id": "6",
"itp_page_id": "2",
"itp_oldest_revision_id": "4",
"itp_newest_revision_id": "4"
}
]