Add WatchedItemStore::countVisitingWatchersMultiple
authorLeszek Manicki <leszek.manicki@wikimedia.de>
Tue, 15 Mar 2016 10:39:22 +0000 (11:39 +0100)
committerAddshore <addshorewiki@gmail.com>
Thu, 17 Mar 2016 16:17:38 +0000 (16:17 +0000)
commit7d4e225cb90ac275c6077e830d8b63678c3ea9dc
treeb5c5ad49ac1d2b04ded7737e974fd38e9908db50
parent110dc4d9a20b001e27ee522e09c4091b31934edc
Add WatchedItemStore::countVisitingWatchersMultiple

This is for batch counting of visiting watchers, following the change
made in I2868c31fc09121de381d822e8f49194e3022bb42.
Query/logic has been extracted from ApiQueryInfo.

Bug: T129482
Change-Id: Ia9a534f5edb7af3cb7bf86be358dddb5d8c259cf
includes/WatchedItemStore.php
includes/api/ApiQueryInfo.php
tests/phpunit/includes/WatchedItemStoreIntegrationTest.php
tests/phpunit/includes/WatchedItemStoreUnitTest.php