Page MenuHomePhabricator

Watchlist Expiry: Support for Rollback [MEDIUM]
Open, Needs TriagePublic

Description

As a Watchlist Expiry user, I want to be able to temporarily watch items via Rollback, so that I can access the same feature when using such functionality.

Acceptance Criteria:

  • Implement support for watchlist expiry drop-down in Rollback
    • A new label to the right (or above, depending on particular UI) of watch upon rollback checkbox: "Watchlist time period:"
    • A drop-down to the right of label (inactive by default, before box checked)
  • When user checks the box to "Watch this page," the drop-down should become active
  • The user should be able to select watch period via drop-down
    • The drop-down has the following options:
      • Permanent (as default)
      • for 1 week
      • for 1 month
      • for 3 months
      • for 6 months
  • If the page has already been watched, the behavior should be as follows:
    • Drop-down should have days left as pre-selected option at top
    • The selection should be written as follows: "X days left" (for example, "10 days left" or "20 days left").
  • If the page has already been watched with a selected temporary time period, and the user clicks "Publish" without changing the time period selection, no changes to the watch period should be made.
  • The watch period should be saved or updated, if the user makes a new time period selection.

Visual Examples of how drop-downs should appear:

Temporarily_watch_a_page_via_edit,_mockup_example.png (212×763 px, 59 KB)
edit page variations.png (984×760 px, 72 KB)

Visual Examples of pages that we will update with new drop-downs:

Screenshot_2020-06-25 Preferences - Test Wikipedia.png (1×2 px, 381 KB)

Screenshot_2020-06-25 Change protection level for DmazaTest - Test Wikipedia.png (1×2 px, 184 KB)

Screenshot_2020-06-25 Delete DmazaTest - Test Wikipedia.png (1×2 px, 148 KB)

examplemovepage.png (609×1 px, 89 KB)