Migrate and convert WL settings to the new UX
authorpetarpetkovic <ppetkovic@wikimedia.org>
Wed, 27 Sep 2017 14:00:18 +0000 (16:00 +0200)
committerpetarpetkovic <ppetkovic@wikimedia.org>
Wed, 27 Sep 2017 19:15:12 +0000 (21:15 +0200)
commit7df800cb0b8040ed7bdc15741ab6a2494e48e63d
tree59c3fccf82a713615fcea7f3bfbf62a444b71f64
parentc728912b38bc220a60ba159272428380661d19a0
Migrate and convert WL settings to the new UX

Convert Watchlist settings to new UX, with following rules:
- If "Hide edits by anonymous users from the watchlist" is checked,
add "Registered" filter to defaults.
- If "Hide edits by logged in users from the watchlist" is checked,
add "Unregistered" filter to defaults.
- Change test for Special:Watchlist page, so new structured filters
are supported.

Bug: T172757
Change-Id: I27bdaa1401323fa3143f79a57dc5b9773e48fd1d
includes/specials/SpecialWatchlist.php
tests/phpunit/includes/specials/SpecialWatchlistTest.php