ApiQueryWatchlist: wlshow=unread should filter revisions, not pages
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 4 Feb 2016 14:42:57 +0000 (09:42 -0500)
committerAnomie <bjorsch@wikimedia.org>
Wed, 17 Feb 2016 15:50:35 +0000 (15:50 +0000)
commit027658bd87981fac575a561589dedd5fa9a569b9
tree7715dda017de2abae2624f463c372bf3e32a2ddc
parent88e5638e82a063bdbe8919ed89b80b7b44597f9a
ApiQueryWatchlist: wlshow=unread should filter revisions, not pages

It's currently showing all relevant revisions from pages with at least
one unread revision, where it would be more sensible for it to show just
the unread revisions. Something similar applies to wlshow=!unread.

Bug: T125729
Change-Id: I552901efb98081af9a1a677f4403a2a1a73bd94f
includes/api/ApiQueryWatchlist.php