Page MenuHomePhabricator

[1.31.0-wmf.1] minor- Browser back button makes highlight-only filters do not display their highlight status in Filter menu
Closed, ResolvedPublic


  1. On RC page select any filter as a highlight-only. Clicking on the filter capsule will display the highlighted status of the filter in the Filter search area.

Screen Shot 2017-09-28 at 2.24.02 PM.png (470×863 px, 104 KB)

  1. Navigate to a different page. Then, click the browser back button. The filter (and highlighting) selected in #1 will be displayed on RC page.
  2. Click on the highlight-only filter capsule - the filter menu will open but the highlight status will not be displayed.

Screen Shot 2017-09-28 at 2.49.16 PM.png (509×717 px, 92 KB)

Note: so far I could not find the other cases when the highlight status is not preserved in the Filter menu area, so that's make the issue a minor issue.

Event Timeline

Change 382009 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/core@master] RCFilters: Init highlight button based on model state

Change 382009 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: Init highlight button based on model state

Re-checked in 1.31.0-wmf.3 - all tests cases below behave as expected.