RCFilters: Live update: no data returns 204
authorStephane Bisson <sbisson@wikimedia.org>
Wed, 13 Sep 2017 16:58:16 +0000 (12:58 -0400)
committerStephane Bisson <sbisson@wikimedia.org>
Wed, 13 Sep 2017 19:48:41 +0000 (15:48 -0400)
commit4149fd944e814a2e860e2eb6eeff77f47c6d014c
tree8275c78387835833918226aed204e4ed9168e1f4
parent2edc104f99e3960c663b2c0834e88f7df86ad794
RCFilters: Live update: no data returns 204

Return status 204 when peek=1 and there is no data

Also refactor _fetchChangesList to allow checking for new changes
and pulling them different handling.

Bug: T173613
Change-Id: I8fe2556156bac3d0cfa4f557ae82a163b6eb4d37
includes/specialpage/ChangesListSpecialPage.php
resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js