RCFilters: make isStructuredFilterUiEnabled public
authorStephane Bisson <sbisson@wikimedia.org>
Fri, 1 Sep 2017 14:47:40 +0000 (10:47 -0400)
committerSbisson <sbisson@wikimedia.org>
Fri, 1 Sep 2017 18:47:24 +0000 (18:47 +0000)
commitfe5c10179964110dc35f3483d0196c905a7eff47
tree252050f3d5bfff204a7977515cbf367e1493f40e
parentf5b9af121a07ecc674a63cbc65c3a01e9fa7d785
RCFilters: make isStructuredFilterUiEnabled public

... so it can be used by ORES to know if it's
enabled on a specific page without duplicating
the checks of global variables, user preferences,
and request parameters.

Bug: T174725
Change-Id: I1cb402559edb242b40a77f509480560f0636264d
includes/specialpage/ChangesListSpecialPage.php
includes/specials/SpecialWatchlist.php