wiki.techinc.nl/tests/phpunit/includes/changes
Geoffrey Mon 700e49dddd Unwatch link for pages in Special:Watchlist
When the 'watchlistunwatchlinks' preference option is enabled, this
adds a '×' link to each entry of the watchlist that unwatches the page
of that entry. When clicked, it changes into a '+' which can be used to
re-watch the page (effectively undoing the earlier unwatch).
When a page is unwatched, its entries and the entries of its associated
talk page (or vice versa) become translucent and are struck through.

Without JS, '×'/'+' link to action=(un)watch for the relevant page.

In addition, ChangesList classes have been modified to allow a prefixer
that adds a prefix to each line (used in this case to put the unwatch
link) and to add HTML data attributes to reliably determine the target
page of each entry. Unit tests have been updated accordingly.

Bug: T2424
Change-Id: I450b2901413d7e75c11de2a446829fdbb22d31e1
2017-08-12 19:36:29 -04:00
..
CategoryMembershipChangeTest.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
ChangesListBooleanFilterGroupTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
ChangesListBooleanFilterTest.php RCFilters: Remove isAllowedCallable and isAllowed 2017-03-31 01:49:44 -04:00
ChangesListFilterGroupTest.php RCFilters: Prevent duplicate filter names 2017-03-16 07:19:40 +00:00
ChangesListFilterTest.php update mediawiki-codesniffer to 0.11.0 and fix issues 2017-08-11 22:27:51 +02:00
ChangesListStringOptionsFilterGroupTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
EnhancedChangesListTest.php Unwatch link for pages in Special:Watchlist 2017-08-12 19:36:29 -04:00
OldChangesListTest.php Unwatch link for pages in Special:Watchlist 2017-08-12 19:36:29 -04:00
RCCacheEntryFactoryTest.php changes: Remove assertTag from RCCacheEntryFactoryTest 2017-03-31 17:20:25 -07:00
RecentChangeTest.php phpunit: Fix RecentChangeTest failure when coverage is enabled 2017-03-20 22:14:30 +00:00
TestRecentChangesHelper.php Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00