Page MenuHomePhabricator

Add paginated table of associated edits to Contributions tab
Closed, DuplicatePublic

Description

Below the summary section in the "Contributions" tab of the Special:EventDetails page, add a paginated table listing all edits associated with the event.

Each row must display the following fields: TDB

  • Username (as a link to the user's user page)
  • Bytes added
  • Bytes removed
  • Link to the edited article
  • Link to the change view (diff page for the revision)
  • Date and time of the edit

The table should support pagination and be loaded only when the "Collaboration" tab is opened (not on initial page load).


BDD

gherkin
Feature: Show list of associated edits in the Collaboration tab

  Scenario: Event has multiple associated edits
    Given the event has more than one entry in ce_event_edit_association
    When the user opens the "Collaboration" tab
    Then a paginated table is displayed below the summary
    And each row contains:
      | username (linked)     |
      | bytes added           |
      | bytes removed         |
      | article link          |
      | change view link      |
      | edit date/time        |

  Scenario: User navigates to another page in the table
    Given the user is viewing the table of edits
    When they click to go to the next page
    Then the table updates to show the next set of edits

  Scenario: Event has no associated edits
    Given the event has no associated edits
    When the user opens the "Collaboration" tab
    Then the table is shown with a message indicating no edits were found

Event Timeline

ifried renamed this task from Draft: Add paginated table of associated edits to Collaboration tab to Add paginated table of associated edits to Collaboration tab.Aug 18 2025, 7:16 PM
ifried renamed this task from Add paginated table of associated edits to Collaboration tab to Add paginated table of associated edits to Contributions tab.
ifried updated the task description. (Show Details)

Closing since pagination will be covered in separate tickets: T400722 (which has pagination in the AC) and T402211 (which has no pagination, but just covers a different part of the page - the summary at top).

Change #1182616 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] [WIP] Add API handler for contributions

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

Change #1182616 abandoned by Mhorsey:

[mediawiki/extensions/CampaignEvents@master] [WIP] Add API handler for contributions

Reason:

Not needed

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