mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-12 08:35:37 +00:00
66cac8523e
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
24 lines
405 B
JSON
24 lines
405 B
JSON
[
|
|
{
|
|
"itp_id": "1",
|
|
"itp_items_id": "1",
|
|
"itp_page_id": "2",
|
|
"itp_oldest_revision_id": "2",
|
|
"itp_newest_revision_id": "7"
|
|
},
|
|
{
|
|
"itp_id": "2",
|
|
"itp_items_id": "2",
|
|
"itp_page_id": "2",
|
|
"itp_oldest_revision_id": "2",
|
|
"itp_newest_revision_id": "7"
|
|
},
|
|
{
|
|
"itp_id": "3",
|
|
"itp_items_id": "3",
|
|
"itp_page_id": "2",
|
|
"itp_oldest_revision_id": "3",
|
|
"itp_newest_revision_id": "6"
|
|
}
|
|
]
|